Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-27More Gitaly cleanup: fetch_ref, allow disk access blocksJacob Vosmaer (GitLab)
2018-07-18Incorporate Gitaly's RefService.FindAllRemoteBranches RPCAlejandro Rodríguez
2018-07-18Client implementation for Repository#new_commitsZeger-Jan van de Weg
After trying to remove the whole method in 8f69014af2902d8d53fe931268bec60f6858f160, this is a more gentle approach to the method. :) Prior to this change, new commit detection wasn't implemented in Gitaly, this was done through: https://gitlab.com/gitlab-org/gitaly/merge_requests/779 As the new implemented got moved around a bit, the whole RevList class got removed. Part of https://gitlab.com/gitlab-org/gitaly/issues/1233
2018-07-12Fix find_branch call sitesJacob Vosmaer
2018-07-12Remove Repository#path memoizationJacob Vosmaer (GitLab)
2018-07-10Make sure ConflictsService does not raise for conflicting submodulesSean McGivern
2018-07-03Make OperationService RPC's mandatoryJacob Vosmaer (GitLab)
2018-07-02Merge branch 'fix/gb/make-root-ref-default-instead-of-head' into 'master'Douwe Maan
Use root ref instead of HEAD to find latest repository commit Closes gitlab-ee#5864 See merge request gitlab-org/gitlab-ce!20258
2018-07-02Merge branch '44725-expire_correct_methods_after_change_head' into 'master'Grzegorz Bizon
Expire correct method caches after HEAD changed Closes #44725 See merge request gitlab-org/gitlab-ce!20102
2018-06-29Expire correct method caches after HEAD changedImre Farkas
2018-06-29Add simple test for a default repository commit refGrzegorz Bizon
2018-06-27Make search and message RPC's mandatoryJacob Vosmaer
2018-06-26CE-EE parity for spec/models/repository_spec.rbRobert Speicher
2018-06-20Move mergablility check to GitalyZeger-Jan van de Weg
Closes https://gitlab.com/gitlab-org/gitaly/issues/889
2018-06-11Don't use Gitlab::Utils.nlbr in Gitlab::GitJacob Vosmaer (GitLab)
2018-06-05Fix repository archive generation when hashed storage is enabledNick Thomas
2018-06-05Find and mark more Git disk access locationsJacob Vosmaer (GitLab)
2018-05-22Merge branch 'dm-xcode-project-directory' into 'master'Robert Speicher
Fix Xcode project detection by looking for dirs instead of files See merge request gitlab-org/gitlab-ce!19035
2018-05-22Fix Xcode project detection by looking for dirs instead of filesDouwe Maan
2018-05-18Migrate RepositoryService#SearchFilesBy{Content,Name}Kim "BKC" Carlbäcker
2018-05-14Move Gitlab::Git::Repository#add_branch to mandatoryZeger-Jan van de Weg
Prior to this change, a feature flag could be used to disable this feature. Now all requests go through Gitaly's OperationService. Closes https://gitlab.com/gitlab-org/gitaly/issues/540 When vendoring `Gitlab::Git` again in Gitaly, this implemenation will be gone, but this is readded there through: https://gitlab.com/gitlab-org/gitaly/merge_requests/717
2018-05-09Add Repository#xcode_project? methodDouwe Maan
2018-05-07Adds remote mirror table migrationTiago Botelho
2018-05-07Backports every CE related change from ee-5484 to CETiago Botelho
2018-04-25Repository#exists? can only be queried with GitalyZeger-Jan van de Weg
Has been in opt out for 5 months, and within GitLab been in production for longer than that. No code needs to be migrated as this is implemented in GoLang over at Gitaly. Closes https://gitlab.com/gitlab-org/gitaly/issues/314
2018-04-15Fix failing ./spec/lib/backup/repository_spec.rb by clearing the memoized valueStan Hu
2018-03-28Remove some easy cases of 'path_to_repo' useJacob Vosmaer (GitLab)
2018-03-20Fix test failures with licensee 8.9Pirate Praveen
2018-03-09Merge branch 'cache-refactor' into 'master'Sean McGivern
Cache `#can_be_resolved_in_ui?` git operations Closes gitaly#1051 See merge request gitlab-org/gitlab-ce!17589
2018-03-08Merge branch 'sh-remove-double-caching-repo-empty' into 'master'Sean McGivern
Remove double caching of Repository#empty? Closes #43882 See merge request gitlab-org/gitlab-ce!17588
2018-03-07Memoize Repository#empty? instead of double caching the valueStan Hu
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
2018-03-07Fix tests not completely disabling GitalyZeger-Jan van de Weg
2018-03-07Refactor RepositoryCache to make it usable in other classesAlejandro Rodríguez
2018-03-01Add specsTiago Botelho
2018-02-15Simplify license generator error handlingStan Hu
2018-02-14Fix Error 500s loading repositories with no master branchStan Hu
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
2018-02-07Backport of LFS File Locking APIRubén Dávila
2018-02-04Merge branch 'zj-ref-contains' into 'master'Douwe Maan
Client changes for Tag,BranchNamesContainingCommit See merge request gitlab-org/gitlab-ce!16789
2018-02-04Merge branch ↵Grzegorz Bizon
'fix/remove-duplicated-logic-between-model-and-lib-in-find-branch' into 'master' Remove repo reloading logic from Repository#find_branch Closes #42609 See merge request gitlab-org/gitlab-ce!16815
2018-02-03Remove repo reloading logic from Repository#find_branchAhmad Sherif
Gitlab::Git::Repository#find_branch has a similar logic. Fixes #42609
2018-02-01Client changes for Tag,BranchNamesContainingCommitZeger-Jan van de Weg
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.
2018-01-30Remove Rugged exception in cache rescueJacob Vosmaer
2018-01-29Don't allow Repository#log with limit zeroJacob Vosmaer (GitLab)
2018-01-25Look for rugged with static analysisJacob Vosmaer
2018-01-24GitalyClient::ConflictsService#conflicts? should return true for conflicts ↵Ahmad Sherif
with missing side
2018-01-16Merge branch '41666-cannot-search-with-keyword-merge' into 'master'Rémy Coutable
Resolve "Cannot search with keyword "merge"" Closes #41666 See merge request gitlab-org/gitlab-ce!16462
2018-01-16Fix project search results for digits surrounded by colonsSean McGivern
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.
2018-01-16Move Regexp.escape(), fix formatting on tests.Andrew McCallum
2018-01-15Account for query of only forward slash(es).Andrew McCallum
2018-01-15Fix spelling mistake.Andrew McCallum