Sean McGivern
256e7a6396
Merge branch 'zj-gitaly-migrate-old-migrations' into 'master'
...
Gitaly migrate old DB migrations
Closes gitaly#1106
See merge request gitlab-org/gitlab-ce!20708
2018-07-20 10:21:05 +00:00
Alejandro Rodríguez
fa1ea656f7
Migrate add_remote, remove_remote, fetch_internal_remote to gitaly
2018-07-19 15:07:37 -04:00
Jacob Vosmaer (GitLab)
805de7fb8d
Add missing Gitaly branch_update nil checks
2018-07-19 17:48:58 +00:00
Zeger-Jan van de Weg
cfbb256b8b
MigrateProcessCommitWorkerJobs to use Gitaly
...
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
2018-07-19 13:34:10 +02:00
Alejandro Rodríguez
68b1e5a97c
Incorporate Gitaly's RefService.FindAllRemoteBranches RPC
2018-07-18 16:48:47 -04:00
Zeger-Jan van de Weg
9348efc6ba
Client implementation for Repository#new_commits
...
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-18 14:46:27 +02:00
Jacob Vosmaer (GitLab)
5c651daa97
Remove unreachable Git code
2018-07-18 11:12:57 +00:00
Jacob Vosmaer (GitLab)
830940f422
Migrate merge base, merged branches, write ref
2018-07-17 09:00:32 +00:00
Jacob Vosmaer (GitLab)
37eca76583
Remove Repository#lookup and unreachable rugged code
2018-07-16 10:34:31 +00:00
Yorick Peterse
9451c80ac9
Merge branch 'sh-fix-stderr-pipe-consumption' into 'master'
...
Avoid process deadlock in popen by consuming input pipes
Closes gitlab-ee#6895
See merge request gitlab-org/gitlab-ce!20600
2018-07-13 13:14:34 +00:00
Stan Hu
fd392cd725
Avoid process deadlock in popen by consuming input pipes
...
A process that spews a lot of output to stderr or stdout could stall out
due to the pipe buffer being full. As described in https://bugs.ruby-lang.org/issues/9082 ,
we can use the trick used in Ruby's capture3 function to read the pipes in separate
threads.
Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/6895
2018-07-12 16:21:30 -07:00
Jacob Vosmaer
9d93a61a70
Fix find_branch call sites
2018-07-12 18:06:31 +02:00
Jacob Vosmaer
d1d7144b96
Make more ref RPC's mandatory
2018-07-12 15:12:00 +02:00
Jacob Vosmaer (GitLab)
62ffad0802
Remove Repository#path memoization
2018-07-12 09:49:25 +00:00
Jacob Vosmaer
723f74d49d
Remove last flags from Blob and Workhorse
2018-07-11 12:59:15 +02:00
Rémy Coutable
7358211ece
Merge branch '49057-fix-repository-typo' into 'master'
...
Fix a typo in Gitlab::Git::Repository
See merge request gitlab-org/gitlab-ce!20520
2018-07-10 13:32:20 +00:00
Douwe Maan
937d916b5f
Merge branch 'gitaly-mandatory-20180709-jv' into 'master'
...
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
2018-07-10 10:22:05 +00:00
Lin Jen-Shin
1f28f4567b
Fix a typo? gitaly_operation{-s-}_client
2018-07-10 16:52:34 +08:00
Sean McGivern
2a4039cf66
Merge branch 'update-rubocop'
2018-07-09 17:23:30 +01:00
Robert Speicher
2cedb243ee
Merge branch 'gitaly-update-branch' into 'master'
...
Use Gitaly's OperationService.UserUpdateBranch RPC
Closes gitaly#1252
See merge request gitlab-org/gitlab-ce!20231
2018-07-09 16:12:18 +00:00
Lin Jen-Shin
9286f5b934
Use stable gitlab-styles and eliminate offenses
2018-07-09 21:13:08 +08:00
Lin Jen-Shin
4ee08b77bc
Updates from `rubocop -a`
2018-07-09 21:13:08 +08:00
Jacob Vosmaer
a4e75e7a83
Use Gitaly for fetches and creating bundles
2018-07-09 12:50:17 +02:00
Jacob Vosmaer (GitLab)
3082b7d1c2
Make blob and other RPC's mandatory
2018-07-09 10:02:02 +00:00
Douwe Maan
090f4d9e9f
Merge branch 'gitaly-mandatory-20180706-jv' into 'master'
...
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
2018-07-09 09:59:51 +00:00
Grzegorz Bizon
1a78483b49
Merge branch 'gitaly-diff-mandatory' into 'master'
...
Make all Gitaly diff flags mandatory
Closes gitaly#528 and gitaly#222
See merge request gitlab-org/gitlab-ce!20424
2018-07-09 09:42:30 +00:00
Alejandro Rodríguez
4a4338fcc6
Use Gitaly's OperationService.UserUpdateBranch RPC
2018-07-08 23:27:20 -04:00
Nick Thomas
7a17f8d85d
Merge branch 'gitaly-set-delete-config' into 'master'
...
Add Repository#set_config and #delete_config
See merge request gitlab-org/gitlab-ce!20372
2018-07-06 15:55:10 +00:00
Jacob Vosmaer
c770d2f96e
Make more things mandatory
2018-07-06 14:44:54 +02:00
Jacob Vosmaer
ff112ce641
Add Repository#set_config and #delete_config
2018-07-06 12:06:54 +02:00
Jacob Vosmaer
b012abee8b
Make all Gitaly diff flags mandatory
2018-07-06 12:01:15 +02:00
Jacob Vosmaer
9f8326995c
Partially rever "Revert "Merge branch 'gitaly-mandatory-20180703-jv' into 'master'""
...
This partially reverts commit 64dfe2cba1 .
2018-07-06 11:43:01 +02:00
Jacob Vosmaer (GitLab)
64dfe2cba1
Revert "Merge branch 'gitaly-mandatory-20180703-jv' into 'master'"
...
This reverts merge request !20339
2018-07-05 10:22:04 +00:00
Sean McGivern
7a355f6856
Merge branch 'gitaly-mandatory-20180703-jv-2' into 'master'
...
Remove more Gitaly feature flags
Closes gitaly#329, gitaly#320, gitaly#323, and gitaly#328
See merge request gitlab-org/gitlab-ce!20343
2018-07-04 10:39:59 +00:00
Jacob Vosmaer (GitLab)
78708b1932
Make more Gitaly features mandatory
2018-07-04 07:39:59 +00:00
Jacob Vosmaer
201802f723
Remove more feature flags
2018-07-03 17:39:08 +02:00
Jacob Vosmaer (GitLab)
15aadc665f
Make OperationService RPC's mandatory
2018-07-03 09:12:03 +00:00
Douwe Maan
e28896ce0d
Merge branch 'zj-find-all-commits' into 'master'
...
FindAllCommits mandatory
Closes gitaly#326
See merge request gitlab-org/gitlab-ce!20242
2018-06-28 13:11:00 +00:00
Douwe Maan
37b1922237
Merge branch 'zj-commits-between-mandatory' into 'master'
...
Commits between in Gitaly only
Closes gitaly#315
See merge request gitlab-org/gitlab-ce!20239
2018-06-28 13:10:07 +00:00
Zeger-Jan van de Weg
ec78d29a6e
FindAllCommits mandatory
...
Closes https://gitlab.com/gitlab-org/gitaly/issues/326
2018-06-28 13:42:10 +02:00
Zeger-Jan van de Weg
f369da063f
Commits between in Gitaly only
...
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
2018-06-28 12:09:20 +02:00
Douwe Maan
e38db19659
Merge branch 'gitaly-mandatory-20180627-jv-2' into 'master'
...
Make Gitaly signature RPC's mandatory
Closes gitaly#745, gitaly#1044, and gitaly#876
See merge request gitlab-org/gitlab-ce!20212
2018-06-28 07:45:31 +00:00
Jacob Vosmaer
f4d6834786
Make Gitaly signature RPC's mandatory
2018-06-27 14:32:09 +02:00
Jacob Vosmaer
be5e6d586f
Make search and message RPC's mandatory
2018-06-27 13:46:51 +02:00
Sean McGivern
2452f1a73e
Merge branch 'gitaly-tree-entry-dot-dot' into 'master'
...
Client-side fix for Gitaly TreeEntry bug
See merge request gitlab-org/gitlab-ce!20176
2018-06-27 09:04:34 +00:00
Jacob Vosmaer
33c950f293
Client-side fix for Gitaly TreeEntry bug
2018-06-26 14:12:08 +02:00
Alejandro Rodríguez
c6ff7bfaec
Move git calls for `Repository#update_branch` inside Gitlab::Git
...
This prepares this code for migration to Gitaly.
2018-06-25 19:49:55 -04:00
Douwe Maan
77fe416681
Merge branch 'zj-create-from-bundle-mandatory' into 'master'
...
Moves CreateFromBundle RPC to mandatory
Closes gitaly#944
See merge request gitlab-org/gitlab-ce!20144
2018-06-25 15:29:57 +00:00
Douwe Maan
fe03ff90c2
Merge branch 'zj-is-anchestor' into 'master'
...
Ancestor check is Gitaly only now
Closes gitaly#789 and gitaly#308
See merge request gitlab-org/gitlab-ce!20095
2018-06-25 15:28:19 +00:00
Douwe Maan
246ce5b5f9
Merge branch 'zj-write-config' into 'master'
...
Write Config is mandatory
Closes gitaly#879
See merge request gitlab-org/gitlab-ce!20146
2018-06-25 15:27:41 +00:00