Ahmad Sherif
cd770946c4
Add support for :all option to {count,find}_commits
2018-03-02 14:55:20 +01:00
Ahmad Sherif
03f3350f3f
Fetch commit signatures from Gitaly in batches
...
Closes gitaly#1046
2018-03-01 18:31:31 +01:00
Ahmad Sherif
c370f53cb6
Migrate recursive tree entries fetching to Gitaly
2018-02-26 16:59:29 +01:00
Ahmad Sherif
cf25ef38d2
Cache Gitaly FindCommit RPC response
2018-02-07 17:02:34 +01:00
Jacob Vosmaer
afe665d9c0
Remove Rugged::Walk implementation of #log
2018-01-31 11:56:36 +01:00
Jacob Vosmaer
6d6f7536bd
Look for rugged with static analysis
2018-01-25 14:05:11 +01:00
Lin Jen-Shin
b33e7281ff
Make sure we're passing ASCII-8BIT to Gitaly
...
when counting commit count.
2018-01-23 16:27:34 +08:00
Jacob Vosmaer (GitLab)
4d87f3bb37
Retrieve commit signatures with Gitaly
2018-01-18 14:10:17 +00:00
Ahmad Sherif
e528ae2c34
Bump Gitaly version to 0.69.0
2018-01-15 14:17:25 +01:00
Rémy Coutable
062ea80e64
Merge branch 'feature/add-max-count-to-count-commits-rpc' into 'master'
...
Add support for max_count option to Git::Repository#count_commits
See merge request gitlab-org/gitlab-ce!16145
2018-01-04 10:58:47 +00:00
Alejandro Rodríguez
11247ac97c
Move encoding methods to the more general EncodingHelper
2017-12-28 12:32:33 -03:00
Ahmad Sherif
13932b0b12
Add support for max_count option to Git::Repository#count_commits
2017-12-27 14:16:24 +01:00
Zeger-Jan van de Weg
c6edae3887
Load commit in batches for pipelines#index
...
Uses `list_commits_by_oid` on the CommitService, to request the needed
commits for pipelines. These commits are needed to display the user that
created the commit and the commit title.
This includes fixes for tests failing that depended on the commit
being `nil`. However, now these are batch loaded, this doesn't happen
anymore and the commits are an instance of BatchLoader.
2017-12-19 10:05:40 +01:00
Kim "BKC" Carlbäcker
49dd62ada1
Migrate Gitlab::Git::Commit.shas_with_signatures
...
- Added tests for Git::Commit.shas_with_signatures
2017-12-05 14:43:46 +01:00
Andrew Newdigate
64e5f996fa
Add timeouts for Gitaly calls
2017-11-29 09:12:12 +00:00
Kim Carlbäcker
d6066870cc
Fix encoding issue with Repository.ls_files
2017-11-02 08:29:03 +00:00
Andrew Newdigate
27cc1c2b28
Fix for Gitaly nil encoding issue
2017-10-03 08:03:19 +00:00
Kim "BKC" Carlbäcker
9c16958c30
Migrate Gitlab::Git::Repository#log to Gitaly
2017-09-25 11:34:10 +02:00
Ahmad Sherif
eb36fa17a6
Migrate Gitlab::Git::Repository#diff to Gitaly
...
Closes gitaly#524
2017-09-21 11:05:06 +02:00
Ahmad Sherif
28d95e10a4
Encode paths properly for Gitaly Commit{Diff,Delta}
...
Fixes gitaly#589
2017-09-19 13:35:22 +02:00
Kim "BKC" Carlbäcker
25c34608b9
Migrate Git::CommitStats to Gitaly
2017-09-11 21:00:58 +02:00
Alejandro Rodríguez
c2e99b40f7
Implement fix for n+1 issue on `flatten_tree` helper
2017-09-06 17:47:25 -03:00
Maxim Rydkin
10ae0d8316
replace `is_ancestor` with `ancestor?`
2017-08-29 11:14:42 +03:00
Ahmad Sherif
9240d3552a
Properly encode Gitaly RawBlame request params
2017-08-23 13:44:54 +02:00
Sean McGivern
d546f7d36e
Merge branch 'gitaly-commit-patch' into 'master'
...
Incorporate DiffService.CommitPatch Gitaly RPC
Closes gitaly#463
See merge request !13441
2017-08-23 10:39:01 +00:00
Alejandro Rodríguez
258d5a50e6
Incorporate DiffService.CommitPatch Gitaly RPC
2017-08-22 16:31:59 -03:00
Alejandro Rodríguez
b7ebb447d7
Correctly encode string params for Gitaly's TreeEntries RPC
2017-08-21 15:13:40 -03:00
Jacob Vosmaer
40752ce7e9
Use grpc 1.4.5
2017-08-17 13:58:19 +02:00
Kim "BKC" Carlbäcker
7b10885046
Migrate Git::Repository.ls_files to Gitaly
2017-08-10 16:10:47 +02:00
Dmitriy Zaporozhets
1439115183
Merge branch 'gitaly-find-commit' into 'master'
...
Incorporate Gitaly's CommitService.FindCommit RPC
Closes gitaly#402
See merge request !13094
2017-08-08 14:27:22 +00:00
Alejandro Rodríguez
3ce6f03f14
Incorporate Gitaly's CommitService.FindCommit RPC
2017-08-07 23:33:43 -04:00
Alejandro Rodríguez
e363fbf71a
Move `deltas` and `diff_from_parents` logic to Gitlab::Git::Commit
...
This helps keep the abstraction layers simpler, and also keep the
interface of those methods consistent, in case of implementation
changes.
2017-08-07 23:33:40 -04:00
Alejandro Rodríguez
c21ae07e33
Refactor Gitlab::Git::Commit to include a repository
2017-08-07 22:34:34 -04:00
Ahmad Sherif
c0b41064ff
Migrate Repository#find_commits_by_message to Gitaly
...
Closes gitaly#443
2017-08-07 18:57:06 +02:00
Robert Speicher
e299d595c7
Merge branch 'feature/migrate-last-commit-for-path-to-gitaly' into 'master'
...
Migrate Repository#last_commit_for_path to Gitaly
Closes gitaly#433
See merge request !13200
2017-08-04 15:46:36 +00:00
Ahmad Sherif
f81c07eacc
Migrate Repository#last_commit_for_path to Gitaly
...
Closes gitaly#433
2017-08-03 19:26:46 +02:00
Ahmad Sherif
03440eed20
Migrate blame loading to Gitaly
...
Closes gitaly#421
2017-08-03 19:20:46 +02:00
Ahmad Sherif
215e0911e5
Migrate Gitlab::Git::Repository#count_commits to Gitaly
...
Closes gitaly#415
2017-08-02 00:33:04 +02:00
Jacob Vosmaer
67de82cf5f
Add option to use CommitLanguages RPC
2017-08-01 10:48:46 +02:00
Rémy Coutable
8efc884166
Merge branch 'gitaly-tree-entries' into 'master'
...
Incorporate CommitService.GetTreeEntries Gitaly call
Closes gitaly#372
See merge request !12941
2017-07-21 15:47:36 +00:00
Ahmad Sherif
b043100b65
Migrate Gitlab::Git::Commit.find_all to Gitaly
...
Closes gitaly#396
2017-07-20 22:03:55 +02:00
Alejandro Rodríguez
9eb5cdd73f
Incorporate CommitService.GetTreeEntries Gitaly call
2017-07-20 12:47:00 -04:00
Ahmad Sherif
ef2b81adb4
Migrate DiffCollection limiting logic to Gitaly
2017-07-19 18:05:22 +02:00
Alejandro Rodríguez
25b01b4c85
Incorporate Gitaly's Commits#between RPC
2017-07-18 16:20:27 -04:00
Andrew Newdigate
a89f18bf2c
Renamed Gitaly services
2017-07-18 07:59:36 +00:00