hgitaly 1.7.0 → 2.11.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/lib/hgitaly/mercurial-repository_pb.rb +26 -0
- data/lib/hgitaly/mercurial-repository_services_pb.rb +11 -0
- data/lib/hgitaly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1047ea0495e21c70fd4fe24b3c5cf8168b64bdf19a4b4c2633b7c2d1d1bb296
|
4
|
+
data.tar.gz: 8b1ecef3b5ed19aa63582fb7a955f8130569d668b64e010d4f071a99768ac162
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4280d037ff02db4b0f6eed0cfb2ec6f95f32360e799e2a184ca9f724e63e84b42d83e6a9afa647baeabc2e7d34d9af36f32d8517923a0b361e3f2f5568efa243
|
7
|
+
data.tar.gz: d290d3575f58d68fefa4347107dc5a2596acb04ce9d559bc19ccd8e7a18f35efe6c16b6fb4b7d6cc682cf49f4c7a707042cacc84e6245efb4ce19b76957bdf0d
|
@@ -96,6 +96,28 @@ 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
|
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
|
99
121
|
add_enum "hgitaly.ConfigItemType" do
|
100
122
|
value :STRING, 0
|
101
123
|
value :BOOL, 1
|
@@ -126,5 +148,9 @@ module Hgitaly
|
|
126
148
|
PushResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PushResponse").msgclass
|
127
149
|
PullRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PullRequest").msgclass
|
128
150
|
PullResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PullResponse").msgclass
|
151
|
+
HgCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.HgCallRequest").msgclass
|
152
|
+
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
|
129
155
|
ConfigItemType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.ConfigItemType").enummodule
|
130
156
|
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
|
#
|
@@ -61,6 +70,8 @@ module Hgitaly
|
|
61
70
|
# / Not very different from RepositoryService.FetchRemote, but we'll avoid
|
62
71
|
# / a few Git-specific concepts.
|
63
72
|
rpc :Pull, ::Hgitaly::PullRequest, ::Hgitaly::PullResponse
|
73
|
+
# / General tidying and optimization for this repository
|
74
|
+
rpc :Housekeeping, ::Hgitaly::HousekeepingRequest, ::Hgitaly::HousekeepingResponse
|
64
75
|
end
|
65
76
|
|
66
77
|
Stub = Service.rpc_stub_class
|
data/lib/hgitaly/version.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: 2.11.0
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|