summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/git
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/migrate-branch-operations-to-gitaly' into 'master'37407-error-500-when-creating-a-project-createservice-returns-a-nil-objectRobert Speicher2017-09-061-29/+56
|\ | | | | | | | | Migrate creating/deleting a branch to Gitaly See merge request !13864
| * Migrate creating/deleting a branch to Gitalyfeature/migrate-branch-operations-to-gitalyAhmad Sherif2017-09-061-29/+56
| |
* | [ci-skip] spec for an instance method35942_api_binary_encodingmicael.bergeron2017-09-061-1/+1
| |
* | add .json_safe_diff specmicael.bergeron2017-09-061-0/+19
|/
* Migrate Gitlab::Git::Repository#find_branch to GitalyAhmad Sherif2017-09-051-14/+24
|
* Use `git update-ref --stdin -z` to delete refs36807-gc-unwanted-refs-after-importLin Jen-Shin2017-08-301-0/+34
|
* Add missing third argument to `Git::Repository#initialize` in specRobert Speicher2017-08-241-1/+1
|
* Merge branch 'git-operation-user' into 'master'Sean McGivern2017-08-2413-32/+103
|\ | | | | | | | | Move GitHooksService into Gitlab::Git See merge request !13739
| * Add tests for Committer#==Jacob Vosmaer2017-08-231-0/+22
| |
| * Move GitHooksService testsJacob Vosmaer2017-08-231-0/+48
| |
| * Make gl_repository a G::G::Repository attributeJacob Vosmaer2017-08-2311-32/+33
| |
* | Delegate Repository::branch_exists? and ref_exists? to Gitlab::GitAndrew Newdigate2017-08-241-0/+28
| |
* | Merge branch 'sh-fix-branch-count' into 'master'Douwe Maan2017-08-241-0/+30
|\ \ | | | | | | | | | | | | | | | | | | Fix inconsistent number of branches when remote branches are present Closes #36934 See merge request !13784
| * | Fix inconsistent number of branches when remote branches are presentsh-fix-branch-countStan Hu2017-08-231-0/+30
| |/ | | | | | | | | | | | | | | | | Users of project mirrors would see that the number of branches did not match the number in the branch dropdown because remote branches were counted when Rugged was in use. With Gitaly, only local branches are counted. Closes #36934
* | Stub `ForkedStorageCheck.storage_available?` by default in all specsrs-stub-storage-availability-checkRobert Speicher2017-08-221-1/+1
|/ | | | | Add `:broken_storage` metadata to examples to disable this behavior only when necessary.
* Delete unused Gitlab::Git methodsJacob Vosmaer2017-08-181-17/+0
|
* Client Implementation: RefService::RefExistsgitaly_ref_existsAndrew Newdigate2017-08-181-11/+31
|
* Merge branch 'bvl-circuitbreaker-settings-to-avoid-failures' into 'master'Rémy Coutable2017-08-161-10/+49
|\ | | | | | | | | | | | | Circuitbreaker settings to avoid spec-failures Closes #36324 See merge request !13519
| * Allow a `failure_wait_time` of 0 for storage accessBob Van Landuyt2017-08-161-10/+49
| | | | | | | | | | This allows testing every storage attempt after a failure. Which could be useful for tests
* | Merge branch 'malformed-submodule' into 'master'Douwe Maan2017-08-152-4/+10
|\ \ | | | | | | | | | | | | Handle missing .gitmodules when getting submodule urls See merge request !13509
| * | Handle missing .gitmodules when getting submodule urlsmalformed-submoduleJacob Vosmaer2017-08-142-4/+10
| | |
* | | Merge branch 'gitaly-404-commit-list-files' into 'master'Douwe Maan2017-08-141-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Migrate `Git::Repository.ls_files` to Gitaly Closes gitaly#404 See merge request !13302
| * | Migrate Git::Repository.ls_files to Gitalygitaly-404-commit-list-filesKim "BKC" Carlbäcker2017-08-101-1/+1
| | |
* | | Enable Timecop safe mode32004-use-timecop-safe-modeRémy Coutable2017-08-111-5/+1
| |/ |/| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Enable the RSpec/HookArgument cop and auto-correct offensesRobert Speicher2017-08-103-12/+12
| |
* | Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-copRémy Coutable2017-08-091-2/+2
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Incorporate Gitaly's CommitService.FindCommit RPCgitaly-find-commitAlejandro Rodríguez2017-08-071-1/+4
|
* Move `deltas` and `diff_from_parents` logic to Gitlab::Git::CommitAlejandro Rodríguez2017-08-071-1/+1
| | | | | | This helps keep the abstraction layers simpler, and also keep the interface of those methods consistent, in case of implementation changes.
* Refactor Gitlab::Git::Commit to include a repositoryAlejandro Rodríguez2017-08-072-33/+38
|
* Merge branch 'blob-batch-methods' into 'master'Douwe Maan2017-08-071-0/+71
|\ | | | | | | | | Add Gitlab::Git::Blob.batch method See merge request !13225
| * Rename 'limit' to 'blob_size_limit'Jacob Vosmaer2017-08-071-5/+5
| |
| * Add Gitlab::Git::Blob.batch methodJacob Vosmaer2017-08-011-0/+71
| |
* | Merge branch 'master' into 'bvl-nfs-circuitbreaker'Douwe Maan2017-08-073-53/+62
|\ \ | | | | | | | | | | | | # Conflicts: # app/models/repository.rb # spec/models/repository_spec.rb
| * \ Merge branch 'gitaly-renames-annotations' into 'master'Sean McGivern2017-08-072-7/+6
| |\ \ | | | | | | | | | | | | | | | | Gitaly deletions and annotations See merge request !13280
| | * | Remove unnecessary 'raw' aliasJacob Vosmaer2017-08-032-2/+1
| | | |
| | * | Rename 'commits_between' to 'rugged_commits_between'Jacob Vosmaer2017-08-031-5/+5
| | | |
| * | | Migrate blame loading to Gitalyfeature/migrate-load-blame-to-gitalyAhmad Sherif2017-08-031-46/+56
| | | | | | | | | | | | | | | | Closes gitaly#421
* | | | Use ruby's `File.stat` to check storage availabilityBob Van Landuyt2017-08-041-3/+12
| | | |
* | | | Only track accessibility onceBob Van Landuyt2017-08-041-3/+32
| | | |
* | | | Use `keys` instead of `scan_each`Bob Van Landuyt2017-08-041-1/+3
| | | |
* | | | Move hostname to Gitlab::EnvironmentBob Van Landuyt2017-08-041-1/+1
| | | |
* | | | Make sure the check works for paths with spaces.Bob Van Landuyt2017-08-041-0/+22
| | | |
* | | | Add a Circuitbreaker for storage pathsBob Van Landuyt2017-08-044-0/+391
|/ / /
* | | Migrate Gitlab::Git::Repository#count_commits to Gitalyfeature/migrate-count-commits-to-gitalyAhmad Sherif2017-08-021-17/+27
|/ / | | | | | | Closes gitaly#415
* | Merge branch 'blob-limit-test' into 'master'Sean McGivern2017-08-011-2/+8
|\ \ | | | | | | | | | | | | Fix bug in blob test See merge request !13224
| * | Fix bug in blob testJacob Vosmaer2017-08-011-2/+8
| |/
* | Add option to use CommitLanguages RPCJacob Vosmaer2017-08-011-0/+39
|/
* Incorporate RefsService.FindAllBranches Gitaly RPCgitaly-all-branchesAlejandro Rodríguez2017-07-271-2/+7
|
* Improve Gitlab::Git::Repository specs for #branchesAlejandro Rodríguez2017-07-271-14/+39
|
* Remove unused Gitlab::Git operationsAlejandro Rodríguez2017-07-271-138/+0
|