- 26 Jan, 2018 1 commit
-
-
Matija Čupić authored
-
- 14 Jan, 2018 1 commit
-
-
Stan Hu authored
-
- 08 Jan, 2018 1 commit
-
-
Yorick Peterse authored
This removes all usage of soft removals except for the "pending delete" system implemented for projects. This in turn simplifies all the query plans of the models that used soft removals. Since we don't really use soft removals for anything useful there's no point in keeping it around. This _does_ mean that hard removals of issues (which only admins can do if I'm not mistaken) can influence the "iid" values, but that code is broken to begin with. More on this (and how to fix it) can be found in https://gitlab.com/gitlab-org/gitlab-ce/issues/31114. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
-
- 04 Jan, 2018 2 commits
-
-
Matija Čupić authored
-
Matija Čupić authored
-
- 22 Dec, 2017 2 commits
-
-
Matija Čupić authored
-
blackst0ne authored
-
- 18 Dec, 2017 1 commit
-
-
Christiaan Van den Poel authored
-
- 14 Dec, 2017 2 commits
-
-
Rémy Coutable authored
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Shinya Maeda authored
-
- 11 Dec, 2017 1 commit
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 07 Dec, 2017 2 commits
-
-
Shinya Maeda authored
-
Shinya Maeda authored
-
- 06 Dec, 2017 7 commits
-
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
Use Class.new(StandardError) instead of custom extended error class. Bring back specified_dependencies?.
-
Shinya Maeda authored
-
- 05 Dec, 2017 1 commit
-
-
Kamil Trzcinski authored
-
- 03 Dec, 2017 8 commits
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Zeger-Jan van de Weg authored
-
Zeger-Jan van de Weg authored
-
Kamil Trzcinski authored
-
Zeger-Jan van de Weg authored
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.
-
Zeger-Jan van de Weg authored
To allow jobs/builds to have multiple artifacts, and to start seperating concerns from Ci::Build a new model is created: Ci::Artifact. Changes include the updating of the ArtifactUploader to adapt to a slightly different interface. The uploader expects to be initialized with a `Ci::Build`. Futher a migration with the minimal fields, the needed foreign keys and an index. Last, the way this works is by prepending a module to Ci::Build so we can basically override behaviour but if needed use `super` to get the original behaviour.
-
Zeger-Jan van de Weg authored
-
- 30 Nov, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 28 Nov, 2017 2 commits
-
-
Shinya Maeda authored
-
Shinya Maeda authored
-
- 27 Nov, 2017 1 commit
-
-
Douwe Maan authored
-
- 21 Nov, 2017 1 commit
-
-
Yorick Peterse authored
This changes Ci::Pipeline#latest_builds_with_artifacts so it returns an Array instead of a relation. Whenever we use this data we do so in two steps: 1. Count the number of rows 2. If this number is greater than 0, iterate over the rows By returning an Array instead we only execute 1 query of which the total time/work is less than running either just a COUNT(*) or both queries (in the worst case). On GitLab.com this change should save us a few milliseconds per request to ProjectsController#show.
-
- 16 Nov, 2017 1 commit
-
-
Yorick Peterse authored
This adds an optimised way of getting the latest pipeline status for a list of Commit objects (or just a single one).
-
- 06 Nov, 2017 2 commits
-
-
Shinya Maeda authored
-
Shinya Maeda authored
-
- 05 Nov, 2017 1 commit
-
-
Matija Čupić authored
-
- 04 Nov, 2017 1 commit
-
-
Matija Čupić authored
-
- 21 Oct, 2017 1 commit
-
-
Nick Thomas authored
-