- Apr 14, 2018
-
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
This is called repeatedly when viewing a merge request, and this should improve performance significantly by avoiding shelling out to git every time. This should help https://gitlab.com/gitlab-com/infrastructure/issues/4027.
-
- Apr 13, 2018
-
-
- Apr 12, 2018
-
-
Zeger-Jan van de Weg authored
Direct disk access is impossible on environments where components run in their own container. There for constructing the path should not be done except for exceptional cases. One of the considerations, instead of logging, was to use Sentry. For now I've chosen not to use this as the impact of this change is hard to determine. Getting this in now will allow us to checkout the impact on dev.gitlab.org and staging.
-
Rubén Dávila authored
-
- Apr 11, 2018
-
-
Zeger-Jan van de Weg authored
Clients can now request the attributes from `$GIT_DIR/info/attributes` through Gitaly. The Gitaly migration is described in gitlab-org/gitaly#1082. The parser algorithm was implemented in a way it could handle both file contents or a File handle, and both were already tested. Other than that, using the boy scout rule, I've removed a class, InfoAttributes, as it was delegating everything to the parser and therefor wasn't really needed in my opinion.
-
Zeger-Jan van de Weg authored
By default this was an OPT_IN RPC, and now graduates to OPT_OUT as the acceptance testing was successful in: gitaly#1009 This follows the conventions of our [migration process](https://gitlab.com/gitlab-org/gitaly/blob/master/doc/MIGRATION_PROCESS.md)
-
Zeger-Jan van de Weg authored
By default this was an OPT_IN RPC, and now graduates to OPT_OUT as the acceptance testing was successful in: https://gitlab.com/gitlab-org/gitaly/issues/1008 This follows the conventions of our [migration process](https://gitlab.com/gitlab-org/gitaly/blob/master/doc/MIGRATION_PROCESS.md)
-
- Apr 06, 2018
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Stan Hu authored
git 2.16 will fail badly if there are stale worktrees. Closes #44115
-
Zeger-Jan van de Weg authored
Acceptance testing was successful in https://gitlab.com/gitlab-org/gitaly/issues/1058. So this is moved to OPT OUT. Part of https://gitlab.com/gitlab-org/gitaly/issues/1026
-
James Ramsay authored
Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add `<project>/-/archive/<ref>/<filename>.<format>` route using the `-` separator to prevent namespace collisions. If the filename is `<project>-<ref>` or the ref is a sha, the sha will be omitted, otherwise the default filename will be used. - deprecate previous archive route `repository/<ref>/archive`
-
Sean McGivern authored
If the ref hasn't been fetched into the target repository yet, this will fail with a Rugged::ReferencError (assuming we're not using Gitaly). We should handle this in the same way as a missing ref.
-
- Apr 04, 2018
-
-
James Ramsay authored
Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add append_sha option (defaults true) to provide a method for toggling this feature. Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
-
Eric Eastwood authored
Fix https://gitlab.com/gitlab-org/gitlab-ee/issues/4474 Conflicts: db/schema.rb ee/app/controllers/ee/admin/application_settings_controller.rb ee/app/helpers/ee/application_settings_helper.rb ee/app/models/ee/application_setting.rb ee/app/models/license.rb ee/app/views/layouts/service_desk.html.haml ee/app/views/notify/approved_merge_request_email.html.haml ee/app/views/notify/service_desk_new_note_email.text.erb ee/app/views/notify/service_desk_thank_you_email.text.erb ee/app/views/notify/unapproved_merge_request_email.html.haml ee/lib/ee/api/entities.rb ee/spec/controllers/admin/application_settings_controller_spec.rb ee/spec/models/application_setting_spec.rb ee/spec/requests/api/settings_spec.rb lib/api/settings.rb spec/mailers/previews/notify_preview.rb
-
Zeger-Jan van de Weg authored
Has been stable for a while in production, so this endpoint grew out if OPT_IN, the default state. Part of https://gitlab.com/gitlab-org/gitaly/issues/526
-
Zeger-Jan van de Weg authored
Acceptence testing was successfull in [#844](https://gitlab.com/gitlab-org/gitaly/issues/844) Part of gitlab-org/gitaly#670
-
- Apr 03, 2018
-
-
Douglas Barbosa Alexandre authored
-
Ahmad Sherif authored
Closes gitaly#1110
-
- Mar 30, 2018
-
-
Stan Hu authored
Any submodule lines that had a CR-LF ending would be ignored by the parser. Closes gitlab-org/gitlab-ce#2262
-
Jacob Vosmaer (GitLab) authored
-
- Mar 27, 2018
-
-
Douwe Maan authored
-
- Mar 23, 2018
-
-
Sean McGivern authored
When we added caching, this meant that calling `can_be_resolved_in_ui?` didn't always call `lines`, which meant that we didn't get the benefit of the side-effect from that, where it forced the conflict data itself to UTF-8. To fix that, make this explicit by separating the `raw_content` (any encoding) from the `content` (which is either UTF-8, or an exception is raised).
-
- Mar 22, 2018
-
-
Alejandro Rodríguez authored
Before we were using a "plumbing" Gitlab::Git method that does not go through Gitaly migration checking.
-
- Mar 21, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
Ahmad Sherif authored
They were probably added to compensate for tests shortcomings, but now they don't complain. Closes gitaly#1095
-
- Mar 19, 2018
-
-
Jasper Maes authored
Split repository search result on \n instead of $ to prevent the items of the array to start with a newline. Remove the strip from parsing the search result to keep result endlines.
-
- Mar 16, 2018
-
-
James Edwards-Jones authored
-
- Mar 15, 2018
-
-
James Edwards-Jones authored
-
James Edwards-Jones authored
Prevents `.gitattributes` blob lookup being repeated for every file checked at a given ref
-
- Mar 12, 2018
-
-
Nick Thomas authored
-
- Mar 08, 2018
-
-
Kim "BKC" Carlbäcker authored
-
Jacob Vosmaer (GitLab) authored
-
- Mar 07, 2018
-
-
Zeger-Jan van de Weg authored
Part of: gitlab-org/gitaly#476
-
Zeger-Jan van de Weg authored
Part of: gitlab-org/gitaly#476
-
Zeger-Jan van de Weg authored
Part of: gitlab-org/gitlab-ce!17561
-
Zeger-Jan van de Weg authored
Part of: gitlab-org/gitaly#540
-
Zeger-Jan van de Weg authored
Part of: gitlab-org/gitaly#546
-