gitaly 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ruby/lib/gitaly/diff_pb.rb +20 -0
- data/ruby/lib/gitaly/diff_services_pb.rb +2 -0
- data/ruby/lib/gitaly/smarthttp_pb.rb +1 -0
- data/ruby/lib/gitaly/ssh_pb.rb +1 -0
- data/ruby/lib/gitaly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82d4b74b0efa08fd26d60e30f19c0eb222d559ca
|
4
|
+
data.tar.gz: d93e878c104784fc1df7cd7bc2355302579d029f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d38d76f771bb333e3e65ac45e415d8bdae4f403af1c463df69753291ba7aaf42c5a9b59cf1b4ee2d99b442ceffbe80ae168a28ce604ae8f6c530b51b7f3c5f
|
7
|
+
data.tar.gz: d719a8455776209a65fb3f54bfbe182da2f02da14f6344f5e5eb1e3a2fd32dee9ad27a16131ee09d30d83ebe7f4b521bbdfa3f0f0805a9225d687ad732777e2f
|
data/ruby/lib/gitaly/diff_pb.rb
CHANGED
@@ -22,9 +22,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
22
|
optional :binary, :bool, 7
|
23
23
|
repeated :raw_chunks, :bytes, 8
|
24
24
|
end
|
25
|
+
add_message "gitaly.CommitDeltaRequest" do
|
26
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
27
|
+
optional :left_commit_id, :string, 2
|
28
|
+
optional :right_commit_id, :string, 3
|
29
|
+
repeated :paths, :bytes, 4
|
30
|
+
end
|
31
|
+
add_message "gitaly.CommitDelta" do
|
32
|
+
optional :from_path, :bytes, 1
|
33
|
+
optional :to_path, :bytes, 2
|
34
|
+
optional :from_id, :string, 3
|
35
|
+
optional :to_id, :string, 4
|
36
|
+
optional :old_mode, :int32, 5
|
37
|
+
optional :new_mode, :int32, 6
|
38
|
+
end
|
39
|
+
add_message "gitaly.CommitDeltaResponse" do
|
40
|
+
repeated :deltas, :message, 1, "gitaly.CommitDelta"
|
41
|
+
end
|
25
42
|
end
|
26
43
|
|
27
44
|
module Gitaly
|
28
45
|
CommitDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
|
29
46
|
CommitDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
|
47
|
+
CommitDeltaRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
|
48
|
+
CommitDelta = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
|
49
|
+
CommitDeltaResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass
|
30
50
|
end
|
@@ -16,6 +16,8 @@ module Gitaly
|
|
16
16
|
|
17
17
|
# Returns stream of CommitDiffResponse: 1 per changed file
|
18
18
|
rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
|
19
|
+
# Return a stream so we can divide the response in chunks of deltas
|
20
|
+
rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
|
19
21
|
end
|
20
22
|
|
21
23
|
Stub = Service.rpc_stub_class
|
@@ -22,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
22
|
optional :repository, :message, 1, "gitaly.Repository"
|
23
23
|
optional :data, :bytes, 2
|
24
24
|
optional :gl_id, :string, 3
|
25
|
+
optional :gl_repository, :string, 4
|
25
26
|
end
|
26
27
|
add_message "gitaly.PostReceivePackResponse" do
|
27
28
|
optional :data, :bytes, 1
|
data/ruby/lib/gitaly/ssh_pb.rb
CHANGED
@@ -18,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
18
|
optional :repository, :message, 1, "gitaly.Repository"
|
19
19
|
optional :stdin, :bytes, 2
|
20
20
|
optional :gl_id, :string, 3
|
21
|
+
optional :gl_repository, :string, 4
|
21
22
|
end
|
22
23
|
add_message "gitaly.SSHReceivePackResponse" do
|
23
24
|
optional :stdout, :bytes, 1
|
data/ruby/lib/gitaly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|