- 18 12月, 2017 1 次提交
-
-
由 Christiaan Van den Poel 提交于
-
- 16 12月, 2017 2 次提交
-
-
-
由 Kushal Pandya 提交于
-
- 15 12月, 2017 7 次提交
-
-
由 Gilbert Roulot 提交于
-
由 Douwe Maan 提交于
-
由 Sean McGivern 提交于
The ApplicationSetting model uses the CacheMarkdownField concern, which updates the cached HTML when the field is updated in the database. However, in specs, when we want to test conditions using ApplicationSetting, we stub it, because this is accessed in different ways throughout the application. This means that if a spec runs that caches one of the Markdown fields, and a later spec uses `stub_application_setting` to set the raw value of that field, the cached value was still the original one. We can work around this by ignoring the Markdown cache in contexts where we're using `stub_application_setting`. We could be smarter, and only do this on the Markdown fields of the model, but this is probably fine.
-
由 Phil Hughes 提交于
#38869
-
由 Alejandro Rodríguez 提交于
This does two things: - Pass commit oids instead of `Gitlab::Git::Commit`s. We only need the former. - Depend on only the target repository for conflict listing. For conflict resolution, treat one repository as a remote one so that we can implement it as such in Gitaly.
-
由 Dimitrie Hoekstra 提交于
-
由 Nick Thomas 提交于
By importing this Ruby code into gitlab-rails (and gitaly-ruby), we avoid 200ms of startup time for each gitlab_projects subprocess we are eliminating. By not having a gitlab_projects subprocess between gitlab-rails / sidekiq and any git subprocesses (e.g. for fork_project, fetch_remote, etc, calls), we can also manage these git processes more cleanly, and avoid sending SIGKILL to them
-
- 14 12月, 2017 13 次提交
-
-
由 Rémy Coutable 提交于
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: NRémy Coutable <remy@rymai.me>
-
由 haseeb 提交于
-
由 Douwe Maan 提交于
-
由 Phil Hughes 提交于
-
由 Phil Hughes 提交于
-
由 Zeger-Jan van de Weg 提交于
The hook ordering influenced the diffs being generated as these used values from before the update due to the memoization still being in place. This commit reorders them and tests against this behaviour.
-
由 Shinya Maeda 提交于
-
由 Toon Claes 提交于
When a note is part of a discussion, the email sent out will be `In-Reply-To` the previous note in that discussion. It also `References` all the previous notes in that discussion, and the original issue. Closes gitlab-org/gitlab-ce#36054.
-
由 Toon Claes 提交于
When a note is part of a discussion, the email sent out should be `In-Reply-To` the previous note in that discussion. Closes gitlab-org/gitlab-ce#36054
-
由 Pawel Chojnacki 提交于
-
由 Jacopo 提交于
Allows ordering in GET api/v4/projects/:project_id/repository/contributors through `order_by` and `sort` params. The available `order_by` options are: name|email|commits. The available `sort` options are: asc|desc.
-
由 Ahmad Sherif 提交于
Closes gitaly#808
-
由 Annabel Dunstone Gray 提交于
-
- 13 12月, 2017 16 次提交
-
-
由 Nick Thomas 提交于
This allows us to avoid relying on telnet / netcat being installed
-
由 Felipe Artur 提交于
-
由 Douwe Maan 提交于
-
由 Sean McGivern 提交于
In CE, this does nothing - the `MergeRequests::BuildService` will, at the time of writing, never return a description for this case. In EE, a project can have a default MR template, which will be returned by the service. Previously we were only using the description passed in the params, ignoring any already set on the object. Now we fall back to the one set on the object if there was none in the params, allowing quick actions to be executed from default MR templates when creating an MR from an issue.
-
由 Filipa Lacerda 提交于
-
由 Eric Eastwood 提交于
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33926 Changed file icons already addressed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15367
-
由 Michael Kozono 提交于
-
由 Pawel Chojnacki 提交于
-
由 Pawel Chojnacki 提交于
-
由 Pawel Chojnacki 提交于
i.e. Using compare and swap we update the expires_at value. The thread that actually is able to update this value will also set the cache holding method_call enabled state
-
由 Pawel Chojnacki 提交于
-
由 Pawel Chojnacki 提交于
-
由 Pawel Chojnacki 提交于
-
由 Rémy Coutable 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
由 Zeger-Jan van de Weg 提交于
-
由 Douwe Maan 提交于
-
- 12 12月, 2017 1 次提交
-
-
由 Zeger-Jan van de Weg 提交于
The Gitaly CommitService is being hammered by n + 1 calls, mostly when finding commits. This leads to this gRPC being turned of on production: https://gitlab.com/gitlab-org/gitaly/issues/514#note_48991378 Hunting down where it came from, most of them were due to MergeRequest#show. To prove this, I set a script to request the MergeRequest#show page 50 times. The GDK was being scraped by Prometheus, where we have metrics on controller#action and their Gitaly calls performed. On both occations I've restarted the full GDK so all caches had to be rebuild. Current master, 806a68a8, needed 435 requests After this commit, 154 requests
-