hgitaly 0.16.0 → 0.19.0dev0

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: 412c64ab820d8dfa60fff454a7e2ae5ba41f56b0076a8ae52113112f4921d004
4
- data.tar.gz: 0cadf39e01ae8b6cfae77f02d05d73c0eca341f035dff4b54c307a9a7d495623
3
+ metadata.gz: 1184789e3a52ee848bf1f95fd73db09d4778d97996edb42074155718891ffd49
4
+ data.tar.gz: ce3219577619600c1deb9a6881a0c02c3a0c9e74c2a1f27e6f62c281a74dff71
5
5
  SHA512:
6
- metadata.gz: 1a9bd026ff7c68b062b0793e79b6607db971337d06c391afd605854e6dd9c0047049f7fa061f52f553fda7ca072942c3200047d78d971fbfad5978203c8e9c6d
7
- data.tar.gz: 5df5cf673942e9956007d449b120470fdb31535e986a519f0c2fedcef8dbff500ae000bb365db9fcb77e1f8bb5555862dcfc97f45ba9968fd12c3c30641f2343
6
+ metadata.gz: f0628a1209d607f51ecf009cfc51ad2e6987110faf4ae481052d28218ed1039ad9cd86929c9d813a4068555dd789297ee94351acec0568bc2281afbefb4ad763
7
+ data.tar.gz: a0ab50508df2856f93b7f84ca7ca68b93cccd4fb4894028e8de9e6f1c0fea6e5531266cd9a8d189c6c4b481546ef81b7f644e13bf5796440de0159a22418d5c5
@@ -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.16.0'
3
+ VERSION = '0.19.0dev0'
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.16.0
4
+ version: 0.19.0dev0
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-09-09 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
@@ -65,12 +65,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">="
68
+ - - ">"
69
69
  - !ruby/object:Gem::Version
70
- version: '0'
70
+ version: 1.3.1
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: []