hgitaly 0.28.0 → 0.31.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: 0c5332581718a5effde4c0b23f3e6a93ea9fa4f894b2b398ecf0047b40817655
4
- data.tar.gz: 532cb1133618d2e9e5a3fa01f03c67534ce2ad35abb6e2ee3eb993c738337429
3
+ metadata.gz: c137d937c9f427a7fea3d486dfa35a3925dc0128d9519bd798f60a2fb8b3b8c0
4
+ data.tar.gz: da96ead0169a5fe0d35e94393c6936da3bfb22892090bd257fffd26b1ee4b866
5
5
  SHA512:
6
- metadata.gz: 787f530a5708486f9f0a3d1e23a5205aa4a2a86fea070e5435b9fe6e9a82c6f328ada478ac6c4dfd4a614400df4e4668241ef7ab62f8344a4f0f144326e5760b
7
- data.tar.gz: e3f457838270db41814cbc58e21222062456ccf6d91ebe6cbe8859b2d028c9108870a1989f717f6de35dc3f1a84b6782fe08db06b19a6eec2da09828d1c46e3e
6
+ metadata.gz: dda9bd1db2d1cc30d191777865b3cef2e55b7a31dce2006c741fa742477dff5d20bebbb050ea467aaab7a0b32cf88a1da9ebd172ce427d79181dcebc7c7a728b
7
+ data.tar.gz: fd34cbac1951af5aeaaf949d557f02c11f7a5d5336888ddf3bc649762eabc6eb75ed382450c79c4ef81af3f754d32180419270b46e2d8b99c6f61d0551c8bc71
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: mercurial-changeset.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/protobuf/timestamp_pb'
7
5
  require 'lint_pb'
8
6
  require 'shared_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("mercurial-changeset.proto", :syntax => :proto3) do
11
11
  add_message "hgitaly.MercurialChangeset" do
@@ -8,7 +8,7 @@ module Hgitaly
8
8
  module MercurialChangesetService
9
9
  class Service
10
10
 
11
- include GRPC::GenericService
11
+ include ::GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
@@ -17,7 +17,7 @@ module Hgitaly
17
17
  # ListMercurialChangesets returns fields from changesets specifyied by a revset.
18
18
  #
19
19
  # Only selected fields get returned.
20
- rpc :ListMercurialChangesets, Hgitaly::ListMercurialChangesetsRequest, stream(Hgitaly::ListMercurialChangesetsResponse)
20
+ rpc :ListMercurialChangesets, ::Hgitaly::ListMercurialChangesetsRequest, stream(::Hgitaly::ListMercurialChangesetsResponse)
21
21
  end
22
22
 
23
23
  Stub = Service.rpc_stub_class
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: mercurial-repository.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("mercurial-repository.proto", :syntax => :proto3) do
10
10
  add_message "hgitaly.InitConfigRequest" do
@@ -14,9 +14,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_message "hgitaly.InitConfigResponse" do
15
15
  end
16
16
  add_message "hgitaly.HeptapodConfigSection" do
17
- optional :allow_multiple_heads, :bool, 2
18
- optional :allow_bookmarks, :bool, 3
19
- optional :auto_publish, :enum, 4, "hgitaly.HeptapodConfigSection.AutoPublish"
17
+ proto3_optional :allow_multiple_heads, :bool, 2
18
+ proto3_optional :allow_bookmarks, :bool, 3
19
+ proto3_optional :auto_publish, :enum, 4, "hgitaly.HeptapodConfigSection.AutoPublish"
20
20
  end
21
21
  add_enum "hgitaly.HeptapodConfigSection.AutoPublish" do
22
22
  value :WITHOUT_TOPIC, 0
@@ -33,8 +33,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
33
33
  end
34
34
  add_message "hgitaly.SetManagedConfigRequest" do
35
35
  optional :repository, :message, 1, "gitaly.Repository"
36
- optional :inherit, :bool, 2
36
+ proto3_optional :inherit, :bool, 2
37
37
  optional :heptapod, :message, 3, "hgitaly.HeptapodConfigSection"
38
+ repeated :remove_items, :string, 4
39
+ optional :by_line, :string, 5
38
40
  end
39
41
  add_message "hgitaly.SetManagedConfigResponse" do
40
42
  end
@@ -8,7 +8,7 @@ module Hgitaly
8
8
  module MercurialRepositoryService
9
9
  class Service
10
10
 
11
- include GRPC::GenericService
11
+ include ::GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
@@ -17,10 +17,10 @@ module Hgitaly
17
17
  # Will back Rails method `hg_create_repository`,
18
18
  # currently implemented on `Gitlab::Mercurial::HgGitRepository`
19
19
  # Together with `RepositoryService.CreateRepository` (see hgitaly!64)
20
- rpc :InitConfig, Hgitaly::InitConfigRequest, Hgitaly::InitConfigResponse
20
+ rpc :InitConfig, ::Hgitaly::InitConfigRequest, ::Hgitaly::InitConfigResponse
21
21
  # Will back Rails method `hg_config_item_bool?` currently
22
22
  # implemented on `Gitlab::Mercurial::HgGitRepository`
23
- rpc :GetConfigItem, Hgitaly::GetConfigItemRequest, Hgitaly::GetConfigItemResponse
23
+ rpc :GetConfigItem, ::Hgitaly::GetConfigItemRequest, ::Hgitaly::GetConfigItemResponse
24
24
  #
25
25
  # Managed configuration methods.
26
26
  #
@@ -31,12 +31,12 @@ module Hgitaly
31
31
  #
32
32
  # Will back Rails methods `get_hgrc` and `get_hg_heptapod_config` currently
33
33
  # implemented on `Gitlab::Mercurial::HgGitRepository`
34
- rpc :GetManagedConfig, Hgitaly::GetManagedConfigRequest, Hgitaly::GetManagedConfigResponse
34
+ rpc :GetManagedConfig, ::Hgitaly::GetManagedConfigRequest, ::Hgitaly::GetManagedConfigResponse
35
35
  # Will back Rails methods `set_hgrc` currently implemented on
36
36
  # `Gitlab::Mercurial::HgGitRepository` (but will be more restrictive,
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
- rpc :SetManagedConfig, Hgitaly::SetManagedConfigRequest, Hgitaly::SetManagedConfigResponse
39
+ rpc :SetManagedConfig, ::Hgitaly::SetManagedConfigRequest, ::Hgitaly::SetManagedConfigResponse
40
40
  # / Will back Rails method `hg_push` (has never been implemented with a
41
41
  # / subprocess)
42
42
  # /
@@ -45,7 +45,7 @@ module Hgitaly
45
45
  # / accept for now, is the streaming request of `UpdateRemoteMirror`,
46
46
  # / which is meant to pass very long lists of branch patterns in
47
47
  # / `only_branches_matching`.
48
- rpc :Push, Hgitaly::PushRequest, Hgitaly::PushResponse
48
+ rpc :Push, ::Hgitaly::PushRequest, ::Hgitaly::PushResponse
49
49
  end
50
50
 
51
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.28.0'
3
+ VERSION = '0.31.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.28.0
4
+ version: 0.31.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf