gitlab-org--gitlab-foss/app
Douwe Maan d2598f6273 Merge branch 'fix-data-integrity-issue-with-repository-downloads-path' into 'master'
Avoid data-integrity issue when cleaning up repository archive cache

## What does this MR do?
Sets the default value for `repository_downloads_path` if someone has it configured incorrectly, and it points to the path where repositories are stored. It's also replace invocation of `find` with Ruby code that matches old cached files in a better, and safe way to avoid data-integrity issues.

## Why was this MR needed?
The `repository_downloads_path` is used by the `RepositoryArchiveCacheWorker` to remove outdated repository archives, if it points to the wrong directory can cause some data-integrity issue.

## What are the relevant issue numbers?
Closes #14222

See merge request !5285
2016-07-21 21:44:53 +00:00
..
assets Reduce min width of pipeline table 2016-07-21 12:42:23 -07:00
controllers Merge branch 'discussion-model' into 'master' 2016-07-21 17:56:23 +00:00
finders Merge branch 'approval-required-todo' into 'master' 2016-07-12 19:50:33 +00:00
helpers Merge branch 'discussion-model' into 'master' 2016-07-21 17:56:23 +00:00
mailers Allow build email service to be tested 2016-07-15 20:38:27 -03:00
models Merge branch 'fix-data-integrity-issue-with-repository-downloads-path' into 'master' 2016-07-21 21:44:53 +00:00
services Use find instead Ruby to remove files due to performance reasons 2016-07-21 10:31:49 -03:00
uploaders Remove VideoJS and clean the integration 2016-07-20 11:36:42 +02:00
validators
views Reduce min width of pipeline table 2016-07-21 12:42:23 -07:00
workers Add service to clean up repository archive cache 2016-07-21 10:31:49 -03:00