hgitaly 18.4.0 → 18.5.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: 5e5a952e372cc35826800e8a5f63b6ad659fa6d2cfef6b5f435dd40fc754e0d6
4
- data.tar.gz: 4ab9f18f8a6f88bc456d4bcef6fe73f0f2947827995304f1b0212e4344a7bd9b
3
+ metadata.gz: d255f7097cacafd3fc94fd773e887e99c881574e8f3d6d5642c64a75906b83a8
4
+ data.tar.gz: ff52b1aff8c6d0cdbd4177f7334833f148b45db53b44dbfcc64f16b714b2b501
5
5
  SHA512:
6
- metadata.gz: fc6b5f3ad4bb99217f9de5949050e4815fd04a6a1c702441ae90972d64cf685f985d5b0637376c77a9d0a8567d9979ec50776365c333940c5753936eaf968c29
7
- data.tar.gz: 4726a464230152289c23208da26f1d5dc096b18353c649e6b98f03cf5036af05e2a73340d16135fb0cf36a0a3e988ccb2ab3832b9a19d3b3c8dddac12a46833c
6
+ metadata.gz: 702141776f4f74a1c7a1a9d8b87a800f3041bce37a3116d6c7a78c0e59135b442bd808c27b8c5c486c330533e20989bbfc721052435b19108a4f81e48872180e
7
+ data.tar.gz: fb7fc5128f4b35036a1e84cbff7f8b0e8c34729594f18f1becb04da1c2969be819ffa316a9f8e012d0c7e0d490a980cd461cf81cc240ba17e3bcfbfe2e385a3a
@@ -3,12 +3,23 @@
3
3
 
4
4
  require 'lint_pb'
5
5
  require 'repository_pb'
6
+ require 'shared_pb'
6
7
  require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("mercurial-aux-git.proto", :syntax => :proto3) do
11
+ add_message "hgitaly.AuxGitCommitMappingRequest" do
12
+ optional :repository, :message, 1, "gitaly.Repository"
13
+ repeated :ids, :string, 2
14
+ optional :reverse, :bool, 3
15
+ end
16
+ add_message "hgitaly.AuxGitCommitMappingResponse" do
17
+ repeated :ids, :string, 2
18
+ end
10
19
  end
11
20
  end
12
21
 
13
22
  module Hgitaly
23
+ AuxGitCommitMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.AuxGitCommitMappingRequest").msgclass
24
+ AuxGitCommitMappingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.AuxGitCommitMappingResponse").msgclass
14
25
  end
@@ -22,6 +22,8 @@ module Hgitaly
22
22
  rpc :AuxGitCreateBundle, ::Gitaly::CreateBundleRequest, stream(::Gitaly::CreateBundleResponse)
23
23
  rpc :AuxGitCreateFromBundle, stream(::Gitaly::CreateRepositoryFromBundleRequest), ::Gitaly::CreateRepositoryFromBundleResponse
24
24
  rpc :AuxGitRepositorySize, ::Gitaly::RepositorySizeRequest, ::Gitaly::RepositorySizeResponse
25
+ # / Resolve Mercurial commit ID from Git commit ID and conversely
26
+ rpc :AuxGitCommitMapping, ::Hgitaly::AuxGitCommitMappingRequest, ::Hgitaly::AuxGitCommitMappingResponse
25
27
  end
26
28
 
27
29
  Stub = Service.rpc_stub_class
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: mercurial-namespace.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("mercurial-namespace.proto", :syntax => :proto3) do
8
+ add_message "hgitaly.MercurialNamespacesConfigArchive" do
9
+ optional :data, :bytes, 1
10
+ end
11
+ add_message "hgitaly.BackupMercurialNamespacesConfigRequest" do
12
+ end
13
+ add_message "hgitaly.RestoreMercurialNamespacesConfigResponse" do
14
+ end
15
+ end
16
+ end
17
+
18
+ module Hgitaly
19
+ MercurialNamespacesConfigArchive = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.MercurialNamespacesConfigArchive").msgclass
20
+ BackupMercurialNamespacesConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.BackupMercurialNamespacesConfigRequest").msgclass
21
+ RestoreMercurialNamespacesConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.RestoreMercurialNamespacesConfigResponse").msgclass
22
+ end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: mercurial-namespace.proto for package 'hgitaly'
3
+
4
+ require 'grpc'
5
+ require 'mercurial-namespace_pb'
6
+
7
+ module Hgitaly
8
+ module MercurialNamespaceService
9
+ # Methods about Mercurial configuration files for GitLab namespaces
10
+ class Service
11
+
12
+ include ::GRPC::GenericService
13
+
14
+ self.marshal_class_method = :encode
15
+ self.unmarshal_class_method = :decode
16
+ self.service_name = 'hgitaly.MercurialNamespaceService'
17
+
18
+ rpc :BackupMercurialNamespacesConfig, ::Hgitaly::BackupMercurialNamespacesConfigRequest, stream(::Hgitaly::MercurialNamespacesConfigArchive)
19
+ rpc :RestoreMercurialNamespacesConfig, stream(::Hgitaly::MercurialNamespacesConfigArchive), ::Hgitaly::RestoreMercurialNamespacesConfigResponse
20
+ end
21
+
22
+ Stub = Service.rpc_stub_class
23
+ end
24
+ end
@@ -1,4 +1,4 @@
1
1
  # This file is generated by generate-grpc-lib. Do not edit.
2
2
  module Hgitaly
3
- VERSION = '18.4.0'
3
+ VERSION = '18.5.0'
4
4
  end
data/lib/hgitaly.rb CHANGED
@@ -7,6 +7,8 @@ require 'hgitaly/mercurial-aux-git_services_pb'
7
7
 
8
8
  require 'hgitaly/mercurial-changeset_services_pb'
9
9
 
10
+ require 'hgitaly/mercurial-namespace_services_pb'
11
+
10
12
  require 'hgitaly/mercurial-operations_services_pb'
11
13
 
12
14
  require 'hgitaly/mercurial-repository_services_pb'
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: 18.4.0
4
+ version: 18.5.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: 2025-09-24 00:00:00.000000000 Z
11
+ date: 2025-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -51,6 +51,8 @@ files:
51
51
  - lib/hgitaly/mercurial-aux-git_services_pb.rb
52
52
  - lib/hgitaly/mercurial-changeset_pb.rb
53
53
  - lib/hgitaly/mercurial-changeset_services_pb.rb
54
+ - lib/hgitaly/mercurial-namespace_pb.rb
55
+ - lib/hgitaly/mercurial-namespace_services_pb.rb
54
56
  - lib/hgitaly/mercurial-operations_pb.rb
55
57
  - lib/hgitaly/mercurial-operations_services_pb.rb
56
58
  - lib/hgitaly/mercurial-repository_pb.rb