hgitaly 2.11.0 → 17.8.1
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/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 +0 -15
- data/lib/hgitaly/mercurial-repository_services_pb.rb +0 -2
- 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
|
@@ -105,19 +105,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
105
105
|
optional :exit_code, :int32, 1
|
106
106
|
repeated :stdout, :bytes, 2
|
107
107
|
end
|
108
|
-
add_message "hgitaly.HousekeepingRequest" do
|
109
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
110
|
-
optional :fail, :bool, 2
|
111
|
-
optional :recover, :bool, 3
|
112
|
-
optional :working_directories_age_threshold_seconds, :uint32, 4
|
113
|
-
optional :working_directories_remove_unlisted, :bool, 5
|
114
|
-
end
|
115
|
-
add_message "hgitaly.HousekeepingResponse" do
|
116
|
-
optional :recover_run, :bool, 1
|
117
|
-
optional :recovered_interrupted_transaction, :bool, 2
|
118
|
-
optional :working_directories_gc, :bool, 3
|
119
|
-
optional :working_directories_remove_unlisted, :bool, 4
|
120
|
-
end
|
121
108
|
add_enum "hgitaly.ConfigItemType" do
|
122
109
|
value :STRING, 0
|
123
110
|
value :BOOL, 1
|
@@ -150,7 +137,5 @@ module Hgitaly
|
|
150
137
|
PullResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PullResponse").msgclass
|
151
138
|
HgCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.HgCallRequest").msgclass
|
152
139
|
HgCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.HgCallResponse").msgclass
|
153
|
-
HousekeepingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.HousekeepingRequest").msgclass
|
154
|
-
HousekeepingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.HousekeepingResponse").msgclass
|
155
140
|
ConfigItemType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.ConfigItemType").enummodule
|
156
141
|
end
|
@@ -70,8 +70,6 @@ module Hgitaly
|
|
70
70
|
# / Not very different from RepositoryService.FetchRemote, but we'll avoid
|
71
71
|
# / a few Git-specific concepts.
|
72
72
|
rpc :Pull, ::Hgitaly::PullRequest, ::Hgitaly::PullResponse
|
73
|
-
# / General tidying and optimization for this repository
|
74
|
-
rpc :Housekeeping, ::Hgitaly::HousekeepingRequest, ::Hgitaly::HousekeepingResponse
|
75
73
|
end
|
76
74
|
|
77
75
|
Stub = Service.rpc_stub_class
|
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: 2025-02-
|
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
|