gitlab-org--gitlab-foss/spec/services/projects
Stan Hu d4c6a3af78
Force a full GC after importing a project
During a project import, it's possible that new branches are created by
the importer to handle pull requests that have been created from forked
projects, which would increment the `pushes_since_gc` value via
`HousekeepingService.increment!` before a full garbage collection gets
to run. This causes HousekeepingService to skip the full `git gc` and
move to the incremental repack mode. To ensure that a garbage collection
is run to pack refs and objects, explicitly execute the task.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59477
2019-04-01 13:33:16 -03:00
..
auto_devops
container_repository Add Container Registry API 2019-01-25 13:13:48 +01:00
group_links Change policy regarding group visibility 2019-02-20 11:08:13 +01:00
hashed_storage Skip project validation when switching storage layouts 2019-03-05 04:00:53 +01:00
import_export
lfs_pointers Added validations to prevent LFS object forgery 2019-01-31 16:51:54 +01:00
operations Refactor model and spec 2019-03-01 14:51:54 +00:00
after_import_service_spec.rb Force a full GC after importing a project 2019-04-01 13:33:16 -03:00
after_rename_service_spec.rb Move MigrationService to HashedStorage module 2019-01-25 20:26:35 +01:00
autocomplete_service_spec.rb
batch_open_issues_count_service_spec.rb
cleanup_service_spec.rb Use BFG object maps to clean projects 2018-12-06 18:58:00 +00:00
count_service_spec.rb
create_from_template_service_spec.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
create_service_spec.rb Add feature flag for build preparing state 2019-03-20 12:04:46 +11:00
destroy_service_spec.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
detect_repository_languages_service_spec.rb
download_service_spec.rb
enable_deploy_key_service_spec.rb
fetch_statistics_increment_service_spec.rb Add project http fetch statistics API 2019-02-27 11:52:35 +01:00
fork_service_spec.rb Send project name with Gitaly repository requests 2019-02-05 21:33:09 -08:00
forks_count_service_spec.rb
gitlab_projects_import_service_spec.rb
housekeeping_service_spec.rb Force a full GC after importing a project 2019-04-01 13:33:16 -03:00
import_error_filter_spec.rb Fix path disclosure on Project Import 2019-01-31 16:51:16 +01:00
import_service_spec.rb Added validations to prevent LFS object forgery 2019-01-31 16:51:54 +01:00
move_access_service_spec.rb
move_deploy_keys_projects_service_spec.rb
move_forks_service_spec.rb
move_lfs_objects_projects_service_spec.rb
move_notification_settings_service_spec.rb
move_project_authorizations_service_spec.rb
move_project_group_links_service_spec.rb
move_project_members_service_spec.rb
move_users_star_projects_service_spec.rb
open_issues_count_service_spec.rb
open_merge_requests_count_service_spec.rb
overwrite_project_service_spec.rb
participants_service_spec.rb Remove N+1 queries from users autocomplete 2019-03-25 12:12:44 +00:00
propagate_service_template_spec.rb
protect_default_branch_service_spec.rb Refactor code for protecting default branches 2019-01-16 14:25:14 +01:00
transfer_service_spec.rb Add feature flag for build preparing state 2019-03-20 12:04:46 +11:00
unlink_fork_service_spec.rb
update_pages_configuration_service_spec.rb Do not reload daemon if configuration file of pages does not change 2019-01-16 13:02:41 +01:00
update_pages_service_spec.rb Extract GitLab Pages using RubyZip 2019-01-31 16:52:48 +01:00
update_remote_mirror_service_spec.rb
update_service_spec.rb Send project name with Gitaly repository requests 2019-02-05 21:33:09 -08:00