hgitaly 0.14.3 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6df0a9830fffbaa8f300d63c08e402c07ac8b7207e4690ead16488896a794ff3
4
- data.tar.gz: 438940245363a25ddb7646cd1f0096c81c29679ee593d28268990337545dba48
3
+ metadata.gz: 21aabff6212e29f31c38d1c5d91e9e605d523353a82fa99a2a907d0dcc032f13
4
+ data.tar.gz: 9fb09f34f68e1e9814808964128b8b6c94a3b953d0dc2a9d5855b46cc6b476da
5
5
  SHA512:
6
- metadata.gz: 0bf3b8da59cd583bb9a1b375230d254d07805639504ad089621f25dcada0a7e400b07c22937a3967263921e7c91130869a60fe01353a242a8b6eae499960152c
7
- data.tar.gz: bdacf4183726fa64deb9c977449fc7f315a3dc58dcd861e0e80101ee9ec4e1436e1ba5ef960b810f71d413944077ffa42da0f1cdace8b217063f03d2ccadf149
6
+ metadata.gz: f8697fc23b89cccc0a2ad1367ac8a68238f765bf2d1d5b046ef3c34f77a5433b078aa68be32d11ce860da2db934c438c697182bb843270b602dba22fae67e38d
7
+ data.tar.gz: 3ce310645fbad289b91aab4b6f0f43137fcb5719a850d9267543907627a6214e7e7ac1e5eebb515b62cc1aa46aa59f1ce16ea27f8fc4b89ba6791be26229e569
@@ -56,6 +56,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
56
56
  add_message "hgitaly.RecoverResponse" do
57
57
  optional :not_needed, :bool, 1
58
58
  end
59
+ add_message "hgitaly.MercurialPeer" do
60
+ optional :url, :string, 1
61
+ optional :ssh_key, :string, 5
62
+ optional :ssh_known_hosts, :string, 6
63
+ optional :ssh_remote_command, :bytes, 7
64
+ end
65
+ add_message "hgitaly.PushRequest" do
66
+ optional :repository, :message, 1, "gitaly.Repository"
67
+ optional :remote_peer, :message, 2, "hgitaly.MercurialPeer"
68
+ repeated :only_gitlab_branches_matching, :bytes, 3
69
+ optional :include_drafts, :bool, 4
70
+ end
71
+ add_message "hgitaly.PushResponse" do
72
+ optional :new_changesets, :bool, 1
73
+ end
59
74
  add_enum "hgitaly.ConfigItemType" do
60
75
  value :STRING, 0
61
76
  value :BOOL, 1
@@ -76,5 +91,8 @@ module Hgitaly
76
91
  GetConfigItemResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.GetConfigItemResponse").msgclass
77
92
  RecoverRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.RecoverRequest").msgclass
78
93
  RecoverResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.RecoverResponse").msgclass
94
+ MercurialPeer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.MercurialPeer").msgclass
95
+ PushRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PushRequest").msgclass
96
+ PushResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.PushResponse").msgclass
79
97
  ConfigItemType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.ConfigItemType").enummodule
80
98
  end
@@ -37,6 +37,15 @@ module Hgitaly
37
37
  # handling a closed list of sections and items, which is currently
38
38
  # implemented by the upper layers of the Rails application).
39
39
  rpc :SetManagedConfig, Hgitaly::SetManagedConfigRequest, Hgitaly::SetManagedConfigResponse
40
+ # / Will back Rails method `hg_push` (has never been implemented with a
41
+ # / subprocess)
42
+ # /
43
+ # / Main use-case is push mirroring, as in upstream's
44
+ # / `Remote.UpdateRemoteMirror`. A difference with the latter, that we can
45
+ # / accept for now, is the streaming request of `UpdateRemoteMirror`,
46
+ # / which is meant to pass very long lists of branch patterns in
47
+ # / `only_branches_matching`.
48
+ rpc :Push, Hgitaly::PushRequest, Hgitaly::PushResponse
40
49
  end
41
50
 
42
51
  Stub = Service.rpc_stub_class
@@ -1,4 +1,4 @@
1
1
  # This file is generated by generate-grpc-lib. Do not edit.
2
2
  module Hgitaly
3
- VERSION = '0.14.3'
3
+ VERSION = '0.19.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: 0.14.3
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georges Racinet
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-04 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -54,7 +54,7 @@ homepage: https://foss.heptapod.net/heptapod/hgitaly
54
54
  licenses:
55
55
  - LGPL-3.0+
56
56
  metadata: {}
57
- post_install_message:
57
+ post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths:
60
60
  - lib
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  version: '0'
71
71
  requirements: []
72
72
  rubygems_version: 3.1.4
73
- signing_key:
73
+ signing_key:
74
74
  specification_version: 4
75
75
  summary: Auto-generated gRPC client for HGitaly
76
76
  test_files: []