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-10-17Use cached readme blobs where appropriateNick Thomas
GitLab keeps a cache of the rendered HTML for a repository's README as stored in the HEAD branch. However, it was not used in all circumstances. In particular, the new blob viewer framework bypassed this cache entirely. This MR ensures a ::ReadmeBlob is returned instead of a ::Blob when asking a repository for an individual blob, if the commit and path match the readme for HEAD. This makes the cached HTML available to consumers, including the blob viewer. The ReadmeBlob is a simple delegator to the Blob, so should be compatible in all cases. Adding the rendered_markdown method is the only additional behaviour it contains.
2018-10-15Merge branch 'sh-remove-koding' into 'master'Douwe Maan
Remove Koding integration and documentation Closes #39697 See merge request gitlab-org/gitlab-ce!22334
2018-10-13Remove Koding integration and documentationStan Hu
This integration no longer works and does not appear to be supported. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
2018-10-12Allow getting the merge base of multiple revisionsBob Van Landuyt
As we now support getting the merge base for multiple revisions in gitaly, we can provide this functionality in our API
2018-10-10Remove Git circuit breakerZeger-Jan van de Weg
Was introduced in the time that GitLab still used NFS, which is not required anymore in most cases. By removing this, the API it calls will return empty responses. This interface has to be removed in the next major release, expected to be 12.0.
2018-10-02Remove Gitlab::Git::Repository#rugged and Gollum codeAlejandro Rodríguez
Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
2018-10-01Removes N+1 gitaly rpc call to fetch the last commit for pathTiago Botelho
Implements list_last_commits_for_tree to communicate with the ListLastCommitsForTree Gitaly RPC Bumps the Gitaly server version Bumps the Gitaly-Proto gem version
2018-09-28Expire RequestStore cache properlyMichael Kozono
2018-09-28Cache `Repository#exists?` false in RequestStoreMichael Kozono
* Only truthy values are cached in Redis. * All values are cached in RequestStore and in an instance variable.
2018-09-12Remove Rugged and shell code from Gitlab::GitAlejandro Rodríguez
2018-08-27Backport Repository#keep_around changes from EE to CEMichael Kozono
2018-08-14Remove feature gate for ListNewCommitsZeger-Jan van de Weg
Introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20087, this has been tested on .com now, and is stable. Closes https://gitlab.com/gitlab-org/gitaly/issues/1286 Closes https://gitlab.com/gitlab-org/gitaly/issues/1233
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