- Mar 28, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Mar 07, 2018
-
-
Stan Hu authored
We saw that in a customer instance, `empty?` was cached to be `true` even though `has_visible_content?` and `exists?` were `true`. This double caching can run into edge cases because there's no guarantee that the inner values will properly expire the outer one, especially if there is Redis replication lag. Consider this scenario: 1. `exists?` and `has_visible_content?` are false 2. `empty?` is expired 3. A subsequent call to `empty?` returns `true` because `exists?` is false even though `empty` is true 4. `exists?` and `has_visible_content?` are then expired 5. `exists?` and `has_visible_content?` are set to true 6. `empty?` is still stuck in the wrong value as `true` Closes #43882
-
Alejandro Rodríguez authored
-
- Mar 06, 2018
-
-
Ahmad Sherif authored
Fixes gitaly#1057 The old code was calling LastCommitForPath to extract a commit ID _then_ call FindCommit to get a commit it already had in the first place!
-
Stan Hu authored
By default, --prune is added to the command-line of a `git fetch` operation, but for repositories with many references this can take a long time to run. We shouldn't need to run --prune the first time we fetch a new repository.
-
- Mar 05, 2018
-
-
Ahmad Sherif authored
Closes gitaly#1054
-
- Mar 01, 2018
-
-
Zeger-Jan van de Weg authored
Part of the migration as tracked in: gitlab-org/gitaly#1026
-
- Feb 23, 2018
-
-
Tiago Botelho authored
-
- Feb 17, 2018
-
-
Douwe Maan authored
-
- Feb 14, 2018
-
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
We removed the exception handling for Rugged errors in !16770, which revealed that the licensee gem attempts to retrieve a license file via Rugged in `refs/heads/master` by default. If that branch did not exist, a Rugged::ReferenceError would be thrown. There were two issues: 1. Not every project uses `master` as the default branch. This change uses the head commit to identify the license. 2. Removing the exception handling caused repositories to fail loading. We can safely catch and ignore any Rugged error because this means we weren't able to load a license file. Closes #43268
-
- Feb 07, 2018
-
-
Rubén Dávila authored
-
- Feb 06, 2018
-
-
Bastian Blank authored
Signed-off-by:
Bastian Blank <waldi@debian.org>
-
- Feb 02, 2018
-
-
Ahmad Sherif authored
Gitlab::Git::Repository#find_branch has a similar logic. Fixes #42609
-
- Feb 01, 2018
-
-
Zeger-Jan van de Weg authored
As part of gitlab-org/gitaly#884, this commit contains the client implementation for both TagNamesContaintingCommit and BranchNamesContainingCommit. The interface in the Repository model stays the same, but the implementation on the serverside, e.g. Gitaly, uses `for-each-ref`, as opposed to `branch` or `tag` which both aren't plumbing command. The result stays the same. On the serverside, we have the opportunity to limit the number of names to return. However, this is not supported on the front end yet. My proposal to use this ability: gitlab-org/gitlab-ce#42581. For now, this ability is not used as that would change more behaviours on a feature flag which might lead to unexpected changes on page refresh for example.
-
- Jan 30, 2018
-
-
Ahmad Sherif authored
Fixes #42544
-
Jacob Vosmaer (GitLab) authored
-
Jacob Vosmaer (GitLab) authored
-
Kim "BKC" Carlbäcker authored
-
- Jan 25, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Jan 24, 2018
-
-
Ahmad Sherif authored
Closes gitaly#946
-
Ahmad Sherif authored
Closes gitaly#929
-
- Jan 22, 2018
-
-
Kim "BKC" Carlbäcker authored
-
- Jan 18, 2018
-
-
Kim "BKC" Carlbäcker authored
-
- Jan 16, 2018
-
-
Sean McGivern authored
A file containing /:\d+:/ in its contents would break the search results if those contents were part of the results, because we were splitting on colons, which can't work with untrusted input. Changing to use the null byte as a separator is much safer.
-
Andrew McCallum authored
-
- Jan 15, 2018
-
-
Andrew McCallum authored
-
Andrew McCallum authored
-
Andrew McCallum authored
-
Andrew McCallum authored
-
- Jan 12, 2018
-
-
Lin Jen-Shin authored
with StrongMemoize
-
- Jan 11, 2018
-
-
-
Ahmad Sherif authored
-
- Jan 10, 2018
-
-
Stan Hu authored
Closes #41739
-
- Jan 09, 2018
-
-
Kim "BKC" Carlbäcker authored
-
- Jan 05, 2018
-
-
Alejandro Rodríguez authored
-
Lin Jen-Shin (godfat) authored
-
Jan Provaznik authored
When a project uses fast-forward merging strategy user has to rebase MRs to target branch before it can be merged. Now user can do rebase in UI by clicking 'Rebase' button instead of doing rebase locally. This feature was already present in EE, this is only backport of the feature to CE. Couple of changes: * removed rebase license check * renamed migration (changed timestamp) Closes #40301
-