hgitaly 1.7.0 → 17.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hgitaly/mercurial-aux-git_pb.rb +15 -0
- data/lib/hgitaly/mercurial-aux-git_services_pb.rb +29 -0
- data/lib/hgitaly/mercurial-repository_pb.rb +11 -0
- data/lib/hgitaly/mercurial-repository_services_pb.rb +9 -0
- data/lib/hgitaly/version.rb +1 -1
- data/lib/hgitaly.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c78d9de579f1c958764c4b593a2665bfae71546c6a36b29c76dc59212b0505b
|
4
|
+
data.tar.gz: c3339a0d718cdcf7a0f08c07e4e53502c1a1b34ee9df1f5671a94fdb44aaebd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab031c6bceddf8dafa13f839fae894135ee36a2996e0142b89e99a610897799b0ecf38170e5b062a6d7e2193ba44e75badcc47b321450de3c6c8af5ba09419ff
|
7
|
+
data.tar.gz: fb42407eb97eb377721c3fb5268719dd6acc8b22965ab68ce673af594e1ee729d3fdc5bc6a0d3830470617324f08b545c3dd30820072dbb0f45db9a75f906866
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: mercurial-aux-git.proto
|
3
|
+
|
4
|
+
require 'lint_pb'
|
5
|
+
require 'shared_pb'
|
6
|
+
require 'repository_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("mercurial-aux-git.proto", :syntax => :proto3) do
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module Hgitaly
|
15
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: mercurial-aux-git.proto for package 'hgitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'mercurial-aux-git_pb'
|
6
|
+
|
7
|
+
module Hgitaly
|
8
|
+
module MercurialAuxGitService
|
9
|
+
# Methods working on auxiliary Git repositories
|
10
|
+
#
|
11
|
+
# The auxiliary Git repositories are mostly meant to support mirroring
|
12
|
+
# to external Git services.
|
13
|
+
# These are set aside so that Gitaly does not handle them.
|
14
|
+
class Service
|
15
|
+
|
16
|
+
include ::GRPC::GenericService
|
17
|
+
|
18
|
+
self.marshal_class_method = :encode
|
19
|
+
self.unmarshal_class_method = :decode
|
20
|
+
self.service_name = 'hgitaly.MercurialAuxGitService'
|
21
|
+
|
22
|
+
rpc :AuxGitCreateBundle, ::Gitaly::CreateBundleRequest, stream(::Gitaly::CreateBundleResponse)
|
23
|
+
rpc :AuxGitCreateFromBundle, stream(::Gitaly::CreateRepositoryFromBundleRequest), ::Gitaly::CreateRepositoryFromBundleResponse
|
24
|
+
rpc :AuxGitRepositorySize, ::Gitaly::RepositorySizeRequest, ::Gitaly::RepositorySizeResponse
|
25
|
+
end
|
26
|
+
|
27
|
+
Stub = Service.rpc_stub_class
|
28
|
+
end
|
29
|
+
end
|
@@ -96,6 +96,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
96
96
|
add_message "hgitaly.PullResponse" do
|
97
97
|
optional :new_changesets, :bool, 1
|
98
98
|
end
|
99
|
+
add_message "hgitaly.HgCallRequest" do
|
100
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
101
|
+
optional :user, :message, 2, "gitaly.User"
|
102
|
+
repeated :args, :bytes, 3
|
103
|
+
end
|
104
|
+
add_message "hgitaly.HgCallResponse" do
|
105
|
+
optional :exit_code, :int32, 1
|
106
|
+
repeated :stdout, :bytes, 2
|
107
|
+
end
|
99
108
|
add_enum "hgitaly.ConfigItemType" do
|
100
109
|
value :STRING, 0
|
101
110
|
value :BOOL, 1
|
@@ -126,5 +135,7 @@ module Hgitaly
|
|
126
135
|
PushResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PushResponse").msgclass
|
127
136
|
PullRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PullRequest").msgclass
|
128
137
|
PullResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PullResponse").msgclass
|
138
|
+
HgCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.HgCallRequest").msgclass
|
139
|
+
HgCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.HgCallResponse").msgclass
|
129
140
|
ConfigItemType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.ConfigItemType").enummodule
|
130
141
|
end
|
@@ -31,6 +31,15 @@ module Hgitaly
|
|
31
31
|
rpc :Optimize, ::Hgitaly::OptimizeRequest, ::Hgitaly::OptimizeResponse
|
32
32
|
# / Reset caches utility
|
33
33
|
rpc :ResetCaches, ::Hgitaly::ResetCachesRequest, ::Hgitaly::ResetCachesResponse
|
34
|
+
# / Generic run of `hg` on the repository
|
35
|
+
# /
|
36
|
+
# / To be used when there is no well-specified rpc for the intended action
|
37
|
+
# / and it would be too ad-hoc to make one (e.g., run `debugrepairsomething`).
|
38
|
+
# /
|
39
|
+
# / This is not meant to return the subprocess stdout as bytes lines and is not suited
|
40
|
+
# / if is expected to be purely binary content (in which EOL characters have no special
|
41
|
+
# / meaning). In that case, making an ad-hoc call is the preferred way to go.
|
42
|
+
rpc :HgCall, ::Hgitaly::HgCallRequest, stream(::Hgitaly::HgCallResponse)
|
34
43
|
#
|
35
44
|
# Managed configuration methods.
|
36
45
|
#
|
data/lib/hgitaly/version.rb
CHANGED
data/lib/hgitaly.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hgitaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 17.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georges Racinet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -47,6 +47,8 @@ extensions: []
|
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- lib/hgitaly.rb
|
50
|
+
- lib/hgitaly/mercurial-aux-git_pb.rb
|
51
|
+
- lib/hgitaly/mercurial-aux-git_services_pb.rb
|
50
52
|
- lib/hgitaly/mercurial-changeset_pb.rb
|
51
53
|
- lib/hgitaly/mercurial-changeset_services_pb.rb
|
52
54
|
- lib/hgitaly/mercurial-operations_pb.rb
|