Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2019-08-30Replace rails_helper.rb with spec_helper.rbAsh McKenzie
rails_helper.rb's only logic was to require spec_helper.rb.
2019-08-02Removes update_statistics_namespace feature flagMayra Cabrera
After measuring the impact of the namespace storage on https://gitlab.com/gitlab-org/gitlab-ce/issues/64092. It was decided that it's performant enough. So we can freely remove the feature flag Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64092
2019-07-08Schedule namespace aggregation in other contextsMayra Cabrera
Schedules a Namespace::AggregationSchedule worker if some of the project statistics are refreshed. The worker is only executed if the feature flag is enabled.
2019-06-10Fix nil coercion updating storage size on project statisticsAlessio Caiazza
2019-06-03Add Namespace and ProjectStatistics to GraphQL APIAlessio Caiazza
We can query namespaces, and nested projects. Projects now exposes statistics
2019-05-29Add spec to verify statistics without repositoriesPeter Marko
2019-05-29Add wiki size to project statisticsPeter Marko
2019-05-02Add packages_size to ProjectStatisticsAlessio Caiazza
This new field will allow to keep track of the storage used by the packages features, it provides also aggregation at namespace level.
2019-04-01Add # frozen_string_literal to spec/modelsThong Kuah
Adds `# frozen_string_literal: true` to spec/models ruby files
2018-07-27Update total storage size when changing size of artifactsPeter Marko
2018-04-19Update ProjectStatistics#build_artifacts_size synchronously without summing ↵Dylan Griffith
(#41059) Previously we scheduled a worker to just some this but we were running into performance issues when the build table was getting too large. So now we've updated the code such that this column is updated immediately and incremented/decremented by the correct amount whenever artifacts are created or deleted. We've also added the performance optimization that we do not update this statistic if a project is deleted because it could result in many updates for a project with many builds.
2018-01-18Fix a bug calculating artifact size for project statisticsNick Thomas
2017-12-03Add coverage on legacy artifacts for Ci::BuildZeger-Jan van de Weg
2017-12-03Fix specs failures, and use factory with `:ci_job_artifact, :archive`Kamil Trzcinski
2017-12-03Rename Artifact to JobArtifact, split metadata outZeger-Jan van de Weg
Two things at ones, as there was no clean way to seperate the commit and give me feedback from the tests. But the model Artifact is now JobArtifact, and the table does not have a type anymore, but the metadata is now its own model: Ci::JobArtifactMetadata.
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10Enable the Style/TrailingCommaInArguments copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-18Fix Project#update_repository_size to convert MB to Bytes properlyOswaldo Ferreira
2016-12-21Add more storage statisticsMarkus Koller
This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument.