summaryrefslogtreecommitdiff
path: root/lib/gitlab/git/repository.rb
Commit message (Collapse)AuthorAgeFilesLines
* Annotate Gitlab::Git::Repository#fetch_refJacob Vosmaer (GitLab)2018-07-241-0/+4
|
* Remove unused rugged code that is currently on GitalyAlejandro Rodríguez2018-07-201-8/+0
|
* Merge branch 'zj-gitaly-migrate-old-migrations' into 'master'Sean McGivern2018-07-201-1/+0
|\ | | | | | | | | | | | | Gitaly migrate old DB migrations Closes gitaly#1106 See merge request gitlab-org/gitlab-ce!20708
| * MigrateProcessCommitWorkerJobs to use GitalyZeger-Jan van de Weg2018-07-191-1/+0
| | | | | | | | | | | | | | | | This old migration used Rugged to find a commit, while Gitaly is the prefered way now. By migrating this to Gitaly, Gitaly is now a required running component for this migration. Part of https://gitlab.com/gitlab-org/gitaly/issues/1106
* | Migrate add_remote, remove_remote, fetch_internal_remote to gitalyAlejandro Rodríguez2018-07-191-57/+6
|/
* Client implementation for Repository#new_commitsZeger-Jan van de Weg2018-07-181-0/+15
| | | | | | | | | | | | | | 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
* Remove unreachable Git codeJacob Vosmaer (GitLab)2018-07-181-89/+0
|
* Migrate merge base, merged branches, write refJacob Vosmaer (GitLab)2018-07-171-69/+6
|
* Remove Repository#lookup and unreachable rugged codeJacob Vosmaer (GitLab)2018-07-161-179/+0
|
* Fix find_branch call sitesgitaly-mandatory-20180712-jvJacob Vosmaer2018-07-121-1/+1
|
* Make more ref RPC's mandatoryJacob Vosmaer2018-07-121-139/+22
|
* Remove Repository#path memoizationJacob Vosmaer (GitLab)2018-07-121-11/+10
|
* Merge branch '49057-fix-repository-typo' into 'master'Rémy Coutable2018-07-101-1/+1
|\ | | | | | | | | Fix a typo in Gitlab::Git::Repository See merge request gitlab-org/gitlab-ce!20520
| * Fix a typo? gitaly_operation{-s-}_clientLin Jen-Shin2018-07-101-1/+1
| |
* | Merge branch 'gitaly-mandatory-20180709-jv' into 'master'Douwe Maan2018-07-101-12/+4
|\ \ | |/ |/| | | | | | | | | Use Gitaly for fetches and creating bundles Closes gitaly#387, gitaly#874, gitaly#750, and gitaly#665 See merge request gitlab-org/gitlab-ce!20490
| * Use Gitaly for fetches and creating bundlesJacob Vosmaer2018-07-091-12/+4
| |
* | Merge branch 'update-rubocop'Sean McGivern2018-07-091-2/+0
|\ \
| * | Use stable gitlab-styles and eliminate offensesLin Jen-Shin2018-07-091-1/+1
| | |
| * | Updates from `rubocop -a`Lin Jen-Shin2018-07-091-2/+0
| |/
* | Merge branch 'gitaly-update-branch' into 'master'Robert Speicher2018-07-091-1/+7
|\ \ | |/ |/| | | | | | | | | Use Gitaly's OperationService.UserUpdateBranch RPC Closes gitaly#1252 See merge request gitlab-org/gitlab-ce!20231
| * Use Gitaly's OperationService.UserUpdateBranch RPCAlejandro Rodríguez2018-07-081-1/+7
| |
* | Make blob and other RPC's mandatoryJacob Vosmaer (GitLab)2018-07-091-108/+8
| |
* | Merge branch 'gitaly-mandatory-20180706-jv' into 'master'Douwe Maan2018-07-091-29/+0
|\ \ | | | | | | | | | | | | | | | | | | Remove gitaly_list_commits_by_oid, gitaly_commit_deltas, gitaly_create_repository flags Closes gitaly#593, gitaly#566, and gitaly#670 See merge request gitlab-org/gitlab-ce!20432
| * | Make more things mandatoryJacob Vosmaer2018-07-061-29/+0
| | |
* | | Merge branch 'gitaly-diff-mandatory' into 'master'Grzegorz Bizon2018-07-091-7/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Make all Gitaly diff flags mandatory Closes gitaly#528 and gitaly#222 See merge request gitlab-org/gitlab-ce!20424
| * | Make all Gitaly diff flags mandatoryJacob Vosmaer2018-07-061-7/+1
| |/
* | Add Repository#set_config and #delete_configJacob Vosmaer2018-07-061-1/+11
|/
* Revert "Merge branch 'gitaly-mandatory-20180703-jv' into 'master'"Jacob Vosmaer (GitLab)2018-07-051-2/+17
| | | This reverts merge request !20339
* Merge branch 'gitaly-mandatory-20180703-jv-2' into 'master'Sean McGivern2018-07-041-21/+4
|\ | | | | | | | | | | | | Remove more Gitaly feature flags Closes gitaly#329, gitaly#320, gitaly#323, and gitaly#328 See merge request gitlab-org/gitlab-ce!20343
| * Remove more feature flagsJacob Vosmaer2018-07-031-21/+4
| |
* | Make more Gitaly features mandatoryJacob Vosmaer (GitLab)2018-07-041-17/+2
|/
* Make OperationService RPC's mandatoryJacob Vosmaer (GitLab)2018-07-031-286/+43
|
* Merge branch 'zj-commits-between-mandatory' into 'master'Douwe Maan2018-06-281-21/+0
|\ | | | | | | | | | | | | Commits between in Gitaly only Closes gitaly#315 See merge request gitlab-org/gitlab-ce!20239
| * Commits between in Gitaly onlyZeger-Jan van de Weg2018-06-281-21/+0
| | | | | | | | | | | | | | | | | | Prior to this change, most the commits counted were done through Gitaly. This removes the last point where this wasn't the case. This makes the `rugged_count_commits` method obsolete, with its tests. Closes https://gitlab.com/gitlab-org/gitaly/issues/315
* | Make search and message RPC's mandatoryJacob Vosmaer2018-06-271-19/+2
|/
* Move git calls for `Repository#update_branch` inside Gitlab::Gitce-update-branch-client-preparationAlejandro Rodríguez2018-06-251-2/+5
| | | | This prepares this code for migration to Gitaly.
* Merge branch 'zj-create-from-bundle-mandatory' into 'master'Douwe Maan2018-06-251-10/+1
|\ | | | | | | | | | | | | Moves CreateFromBundle RPC to mandatory Closes gitaly#944 See merge request gitlab-org/gitlab-ce!20144
| * Moves another RPC to mandatoryZeger-Jan van de Weg2018-06-251-10/+1
| | | | | | | | | | | | This specific one isn't used on most machines, therefor low risk. Closes https://gitlab.com/gitlab-org/gitaly/issues/944
* | Merge branch 'zj-is-anchestor' into 'master'Douwe Maan2018-06-251-16/+1
|\ \ | | | | | | | | | | | | | | | | | | Ancestor check is Gitaly only now Closes gitaly#789 and gitaly#308 See merge request gitlab-org/gitlab-ce!20095
| * | Anchestor check is Gitaly only nowZeger-Jan van de Weg2018-06-251-16/+1
| |/ | | | | | | Closes https://gitlab.com/gitlab-org/gitaly/issues/308
* | Merge branch 'zj-write-config' into 'master'Douwe Maan2018-06-251-9/+3
|\ \ | | | | | | | | | | | | | | | | | | Write Config is mandatory Closes gitaly#879 See merge request gitlab-org/gitlab-ce!20146
| * | Write Config is mandatoryZeger-Jan van de Weg2018-06-251-9/+3
| |/ | | | | | | Closes https://gitlab.com/gitlab-org/gitaly/issues/879
* | Remove feature gatezj-missing-part-linguistZeger-Jan van de Weg2018-06-251-23/+2
|/
* Merge branch 'zj-find-ref-name' into 'master'Douwe Maan2018-06-221-11/+1
|\ | | | | | | | | | | | | FindRefName RPC now mandatory Closes gitaly#221 See merge request gitlab-org/gitlab-ce!20090
| * FindRefName RPC now mandatoryzj-find-ref-nameZeger-Jan van de Weg2018-06-221-11/+1
| | | | | | | | | | | | | | Has never been in OPT_OUT, dispite being ages old. The time where feature flags are still set by env vars. Closes https://gitlab.com/gitlab-org/gitaly/issues/221
* | Repository size is Gitaly onlyzj-repository-sizeZeger-Jan van de Weg2018-06-221-15/+1
| | | | | | | | Closes https://gitlab.com/gitlab-org/gitaly/issues/393
* | Git ls files is Gitaly only nowZeger-Jan van de Weg2018-06-221-34/+1
|/ | | | | | | Moved to the front on the line through: https://gitlab.com/gitlab-org/gitlab-ce/issues/47893 Closes: https://gitlab.com/gitlab-org/gitlab-ce/issues/47893 Closes: https://gitlab.com/gitlab-org/gitaly/issues/327
* Raw changes calculation is Gitaly only nowZeger-Jan van de Weg2018-06-211-19/+4
| | | | Closes https://gitlab.com/gitlab-org/gitaly/issues/1138
* Fix possiblilty of branch not found47488-remove-unmergeable-notification-for-no-commitsMark Chao2018-06-201-2/+5
| | | | | | This now can happen because can_be_merged? is called during MR merge_status transition to cannot_be_merged. It is possible branch_name is invalid.
* Merge branch 'zj-can-be-merged' into 'master'Douwe Maan2018-06-201-15/+2
|\ | | | | | | | | | | | | Move mergablility check to Gitaly Closes gitaly#889 See merge request gitlab-org/gitlab-ce!20019