An error occurred fetching the project authors.
- 28 Mar, 2018 1 commit
-
-
Jacob Vosmaer (GitLab) authored
-
- 20 Mar, 2018 1 commit
-
-
Pirate Praveen authored
-
- 07 Mar, 2018 3 commits
-
-
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
-
Zeger-Jan van de Weg authored
-
Alejandro Rodríguez authored
-
- 01 Mar, 2018 1 commit
-
-
Tiago Botelho authored
-
- 14 Feb, 2018 2 commits
-
-
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
-
- 07 Feb, 2018 1 commit
-
-
Rubén Dávila authored
-
- 02 Feb, 2018 1 commit
-
-
Ahmad Sherif authored
Gitlab::Git::Repository#find_branch has a similar logic. Fixes #42609
-
- 01 Feb, 2018 1 commit
-
-
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.
-
- 30 Jan, 2018 1 commit
-
-
Jacob Vosmaer authored
-
- 29 Jan, 2018 1 commit
-
-
Jacob Vosmaer (GitLab) authored
-
- 25 Jan, 2018 1 commit
-
-
Jacob Vosmaer authored
-
- 23 Jan, 2018 1 commit
-
-
Ahmad Sherif authored
-
- 16 Jan, 2018 2 commits
-
-
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
-
- 15 Jan, 2018 3 commits
-
-
Andrew McCallum authored
-
Andrew McCallum authored
-
Andrew McCallum authored
-
- 11 Jan, 2018 1 commit
-
-
Ahmad Sherif authored
-
- 10 Jan, 2018 1 commit
-
-
Stan Hu authored
Closes #41739
-
- 05 Jan, 2018 2 commits
-
-
Alejandro Rodríguez authored
-
Lin Jen-Shin (godfat) authored
-
- 20 Dec, 2017 1 commit
-
-
Kim Carlbäcker authored
This reverts merge request !15712
-
- 19 Dec, 2017 1 commit
-
-
Zeger-Jan van de Weg authored
Uses `list_commits_by_oid` on the CommitService, to request the needed commits for pipelines. These commits are needed to display the user that created the commit and the commit title. This includes fixes for tests failing that depended on the commit being `nil`. However, now these are batch loaded, this doesn't happen anymore and the commits are an instance of BatchLoader.
-
- 14 Dec, 2017 1 commit
-
-
haseeb authored
-
- 13 Dec, 2017 2 commits
-
-
Jacopo authored
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 authored
Closes gitaly#808
-
- 12 Dec, 2017 2 commits
-
-
Stan Hu authored
-
Kim "BKC" Carlbäcker authored
-
- 08 Dec, 2017 1 commit
-
-
Bob Van Landuyt authored
Moving the check out of the general requests, makes sure we don't have any slowdown in the regular requests. To keep the process performing this checks small, the check is still performed inside a unicorn. But that is called from a process running on the same server. Because the checks are now done outside normal request, we can have a simpler failure strategy: The check is now performed in the background every `circuitbreaker_check_interval`. Failures are logged in redis. The failures are reset when the check succeeds. Per check we will try `circuitbreaker_access_retries` times within `circuitbreaker_storage_timeout` seconds. When the number of failures exceeds `circuitbreaker_failure_count_threshold`, we will block access to the storage. After `failure_reset_time` of no checks, we will clear the stored failures. This could happen when the process that performs the checks is not running.
-
- 07 Dec, 2017 1 commit
-
-
Zeger-Jan van de Weg authored
-
- 05 Dec, 2017 1 commit
-
-
Ahmad Sherif authored
Closes gitaly#780
-
- 04 Dec, 2017 1 commit
-
-
Ahmad Sherif authored
Closes gitaly#737
-
- 23 Nov, 2017 1 commit
-
-
Lin Jen-Shin authored
-
- 21 Nov, 2017 1 commit
-
-
Jacob Vosmaer (GitLab) authored
-
- 03 Nov, 2017 1 commit
-
-
Alejandro Rodríguez authored
-
- 27 Oct, 2017 2 commits
-
-
Lin Jen-Shin (godfat) authored
-
Zeger-Jan van de Weg authored
Now, when requesting a commit from the Repository model, the results are not cached. This means we're fetching the same commit by oid multiple times during the same request. To prevent us from doing this, we now cache results. Caching is done only based on object id (aka SHA). Given we cache on the Repository model, results are scoped to the associated project, eventhough the change of two repositories having the same oids for different commits is small.
-