summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix invalid pipeline build chain tag evaluationGrzegorz Bizon2017-12-082-6/+14
|
* Merge branch 'metrics/gb/add-tmp-stage-creation-metrics' into 'master'Kamil Trzciński2017-12-071-0/+16
|\ | | | | | | | | Add invalid builds counter metric to stage seeds class See merge request gitlab-org/gitlab-ce!15764
| * Update pipeline create chain Prometheus metricmetrics/gb/add-tmp-stage-creation-metricsGrzegorz Bizon2017-12-071-4/+3
| |
| * Move invalid builds counter out of the transactionGrzegorz Bizon2017-12-062-13/+17
| |
| * Add invalid builds counter metric to stage seeds classGrzegorz Bizon2017-12-061-0/+13
| |
* | Merge branch 'gitaly-prevent-dup' into 'master'Sean McGivern2017-12-072-6/+10
|\ \ | | | | | | | | | | | | Prevent dups when using StringIO for binary reads See merge request gitlab-org/gitlab-ce!15771
| * | Prevent dups when using StringIO for binary readsgitaly-prevent-dupJacob Vosmaer2017-12-062-6/+10
| | |
* | | The API isn't using the appropriate services for managing forksFrancisco Javier López2017-12-071-10/+11
| | |
* | | Merge branch 'mk-add-old-attachments-to-uploads-table' into 'master'Stan Hu2017-12-074-2/+447
|\ \ \ | |/ / |/| | | | | | | | Add old files to uploads table See merge request gitlab-org/gitlab-ce!15270
| * | Process normal paths in batch containing bad pathsMichael Kozono2017-12-051-4/+25
| | |
| * | Follow symlinksMichael Kozono2017-12-041-1/+1
| | | | | | | | | | | | In particular, the Omnibus uploads directory is generally a symlink.
| * | Handle race conditionMichael Kozono2017-12-011-1/+2
| | |
| * | Address Rubocop offensesMichael Kozono2017-12-012-39/+82
| | |
| * | Ensure consistent column orderMichael Kozono2017-12-011-1/+1
| | |
| * | Don’t quote `NOW()` for created_at columnMichael Kozono2017-12-012-3/+9
| | | | | | | | | | | | To fix for MySQL.
| * | RefactorMichael Kozono2017-12-011-6/+6
| | |
| * | Don’t recreate deleted uploadsMichael Kozono2017-12-011-5/+35
| | |
| * | Get rid of timestamps on untracked files tableMichael Kozono2017-12-011-3/+2
| | | | | | | | | | | | `updated_at` is now unnecessary and `created_at` is less useful due to removing the tracked field.
| * | Bulk insert uploadsMichael Kozono2017-12-011-49/+14
| | |
| * | Filter existing uploads with one queryMichael Kozono2017-12-011-38/+42
| | |
| * | RefactorMichael Kozono2017-12-011-13/+10
| | |
| * | Get rid of tracked fieldMichael Kozono2017-12-012-13/+3
| | | | | | | | | | | | It makes a debugging slightly easier, but is not necessary, and is a waste of resources.
| * | RefactorMichael Kozono2017-12-011-10/+3
| | |
| * | Fix datetime inserts on MySQLMichael Kozono2017-12-011-3/+1
| | |
| * | Fix Rubocop offenseMichael Kozono2017-12-011-0/+1
| | |
| * | Use bulk insertsMichael Kozono2017-12-011-20/+35
| | |
| * | Use ionice absolute pathMichael Kozono2017-12-011-2/+3
| | |
| * | Log the find command usedMichael Kozono2017-12-011-0/+2
| | |
| * | Move temp table creation into the prepare jobMichael Kozono2017-12-011-4/+17
| | | | | | | | | | | | | | | * Hopefully fixes spec failures in which the table doesn’t exist * Decouples the background migration from the post-deploy migration, e.g. we could easily run it again even though the table is dropped when finished.
| * | Fix migration for pre-Postgres 9.5Michael Kozono2017-12-011-1/+15
| | |
| * | Fix Rubocop offensesMichael Kozono2017-12-011-5/+5
| | |
| * | Drop temporary tracking table when finishedMichael Kozono2017-12-011-0/+6
| | |
| * | Speed up insertsMichael Kozono2017-12-011-2/+4
| | |
| * | Fallback on checksum jobsMichael Kozono2017-12-011-0/+2
| | | | | | | | | | | | Since `calculate_checksum` depends on `Uploader` classes which are not defined in this background migration and may change at any time.
| * | Remove irrelevant copy-pasted codeMichael Kozono2017-12-011-20/+0
| | |
| * | Store paths relative to CarrierWave.rootMichael Kozono2017-12-012-15/+13
| | | | | | | | | | | | | | | | | | So the path on source installs cannot be too long for our column. And fix the column length test since Route.path is limited to 255 chars, it doesn’t matter how many nested groups there are.
| * | Fix `ionice` prependMichael Kozono2017-12-011-1/+1
| | |
| * | Remove unnecessary clearingMichael Kozono2017-12-011-5/+0
| | | | | | | | | | | | Since duplicate inserts are now ignored.
| * | Rename table to untracked_files_for_uploadsMichael Kozono2017-12-012-19/+19
| | |
| * | Refactor, no change in behaviorMichael Kozono2017-12-012-20/+25
| | |
| * | Use `find` `-prune` option for performanceMichael Kozono2017-12-011-2/+4
| | |
| * | Make regexes more readableMichael Kozono2017-12-011-11/+11
| | |
| * | Avoid instantiating an AR object and ignore dupesMichael Kozono2017-12-011-1/+15
| | |
| * | Fix Rubocop offensesMichael Kozono2017-12-012-11/+11
| | |
| * | Allow individual failuresMichael Kozono2017-12-011-16/+24
| | |
| * | Calculate checksumsMichael Kozono2017-12-011-2/+65
| | | | | | | | | | | | | | | | | | by copy-pasting in the whole `Upload` class. Also, fix `Namespace` `model_type` (it should not be `Group`).
| * | Add untracked files to uploadsMichael Kozono2017-12-011-11/+133
| | |
| * | Kick off follow up background migration jobsMichael Kozono2017-12-012-1/+58
| | | | | | | | | | | | To process the unhashed_upload_files table.
| * | Find and store unhashed upload file pathsMichael Kozono2017-12-011-6/+52
| | |
| * | Backport `which` from EEMichael Kozono2017-12-011-0/+17
| | |