hgitaly 0.0.1 → 0.19.0dev0

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: 70305aac291491ee412c8bc4bf1c22e854d670c5bd7e29842b202a71748a6348
4
- data.tar.gz: 1ec3b54f5eac627898017a3bca7d3a4907083a1f1de467272a67965c1ddd3b12
3
+ metadata.gz: 1184789e3a52ee848bf1f95fd73db09d4778d97996edb42074155718891ffd49
4
+ data.tar.gz: ce3219577619600c1deb9a6881a0c02c3a0c9e74c2a1f27e6f62c281a74dff71
5
5
  SHA512:
6
- metadata.gz: ec48289b0f7227b4ac17f28bec96070473fef78e3663b897c5a7933c9f769d2b54f85c9e85818d7b4938a3f0cbc823515ef8c31f03a6e20539fde7eadd3c4d3f
7
- data.tar.gz: 9e1b9c490e36bffd8dd5ee016d49b3e75863a3cd4b68dd47ef56b66d17fe0de35ffbe47357317fc234d0a29407051ec2a4910100293d2787747fa62eaed53a69
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.0.1'
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.0.1
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-07-05 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: []