hgitaly 1.7.0 → 2.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abf0521a526619a69af581ceef6e5550f75129ad3893587c7653af3499b2422c
4
- data.tar.gz: 99a93586ac6d0e6ab4b05ad7eb50301a1954618f15c84e872a86eb88d60dd9c9
3
+ metadata.gz: a7503e6834010856f05f4b294d046500a8b1060a33c186ff6ab4ec86193579e2
4
+ data.tar.gz: ee4becfd7d5f3684e65183ad0ba4f6e700fb25f7bd3ac91ac08d74505687ca68
5
5
  SHA512:
6
- metadata.gz: 94368b331ce0fd025bcf28af9eecb484c5ae223c11137c9945376ecb3f03f0610a3506527b81bb6d3a929b4ebab44558ffc53a94ff522895c7a2a04a2bc39509
7
- data.tar.gz: 3bc4055d25a729523e62f5fa1b9d892bff9c66b665231bea28cb2a43c424d9ef02c56216695a62d0a64d7985deae8eba29885c84c759832952ea7e23ce0d8c55
6
+ metadata.gz: 614e06bc24934026ab4d867d8cee63807b79da95caefec333580d01c8df4db769a18e5a58af2e0d79f530fc1acf09212d06296ae8ea024a25d4d34c6c9b7cb2c
7
+ data.tar.gz: b541a218a27d4b8e6fb83c353e154492721d4a12dcb576205664c7c9358f2d29dedb91d32dbfba0ecc779b1f34944d83be91479483485adaf269500ad45a3f0c
@@ -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
  #
@@ -1,4 +1,4 @@
1
1
  # This file is generated by generate-grpc-lib. Do not edit.
2
2
  module Hgitaly
3
- VERSION = '1.7.0'
3
+ VERSION = '2.8.0'
4
4
  end
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: 1.7.0
4
+ version: 2.8.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: 2024-05-31 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf