hgitaly 0.28.0dev0 → 0.31.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: 6f1e0075609b030fbcb3ef65ced9a3147e32975c201a2b79185a41bcfbaebb8b
4
- data.tar.gz: a03d9cab8e2a6a40e9d667775310763a289c9cade06d011ecbae08306e382766
3
+ metadata.gz: c137d937c9f427a7fea3d486dfa35a3925dc0128d9519bd798f60a2fb8b3b8c0
4
+ data.tar.gz: da96ead0169a5fe0d35e94393c6936da3bfb22892090bd257fffd26b1ee4b866
5
5
  SHA512:
6
- metadata.gz: 62c677a2433eb3694dc24c9ed5f917ae7a6e570f4e0ddc693e7430b860ba6674b4afcaca3d01282ce662fe344b0e026ad5636533b4582d0df1c4285eb6d902a5
7
- data.tar.gz: 12b658d47be0f2a6a5dd889e66c594186ba83e78f0549d94f0d8dde9c53c9171f4d5012df8e45d0ca9ae6b3133bc6a4ca4012563f99dcc707ba52d704aff8ce2
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.0dev0'
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.0dev0
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-19 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
@@ -67,9 +67,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ">"
70
+ - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 1.3.1
72
+ version: '0'
73
73
  requirements: []
74
74
  rubygems_version: 3.1.6
75
75
  signing_key: