hgitaly 0.28.0 → 0.40.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hgitaly/mercurial-changeset_pb.rb +2 -2
- data/lib/hgitaly/mercurial-changeset_services_pb.rb +2 -2
- data/lib/hgitaly/mercurial-operations_pb.rb +35 -0
- data/lib/hgitaly/mercurial-operations_services_pb.rb +25 -0
- data/lib/hgitaly/mercurial-repository_pb.rb +8 -6
- data/lib/hgitaly/mercurial-repository_services_pb.rb +6 -6
- data/lib/hgitaly/version.rb +1 -1
- data/lib/hgitaly.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b37316c1a47186dc9ae13900d6890785f5a1b625c617658a99ad198e737138d2
|
4
|
+
data.tar.gz: c36560c6e4e6d9d5e4b3449c9842608e30b7132f1cd9851ce0497d7026e80e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d69ff23ab0878ff89748aadfe38b338daaaf755b75a0a74d52ade2aa1ae21d60331c1e03819a49802156e40ed531cce3d02d71cafaff0c45570c5f69e1b77d47
|
7
|
+
data.tar.gz: 44a0eeb35903dd3105d0c84b6b7416b1a48167594805a0c53bd41346b5c0f5130314893f1781ad815b964ebf1075f313f8ba2ee382525512d607a55ee80f5ff5
|
@@ -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
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: mercurial-operations.proto
|
3
|
+
|
4
|
+
require 'lint_pb'
|
5
|
+
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("mercurial-operations.proto", :syntax => :proto3) do
|
10
|
+
add_message "hgitaly.MergeAnalysisRequest" do
|
11
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
12
|
+
optional :source_revision, :bytes, 2
|
13
|
+
optional :target_revision, :bytes, 3
|
14
|
+
optional :skip_conflicts_check, :bool, 4
|
15
|
+
end
|
16
|
+
add_message "hgitaly.MergeAnalysisResponse" do
|
17
|
+
optional :is_fast_forward, :bool, 1
|
18
|
+
optional :has_obsolete_changesets, :bool, 2
|
19
|
+
optional :has_unstable_changesets, :bool, 3
|
20
|
+
optional :has_conflicts, :bool, 4
|
21
|
+
optional :target_is_public, :bool, 5
|
22
|
+
optional :target_node_id, :string, 6
|
23
|
+
optional :target_branch, :bytes, 7
|
24
|
+
optional :target_topic, :bytes, 8
|
25
|
+
optional :source_node_id, :string, 9
|
26
|
+
optional :source_branch, :bytes, 10
|
27
|
+
optional :source_topic, :bytes, 11
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
module Hgitaly
|
33
|
+
MergeAnalysisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.MergeAnalysisRequest").msgclass
|
34
|
+
MergeAnalysisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hgitaly.MergeAnalysisResponse").msgclass
|
35
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: mercurial-operations.proto for package 'hgitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'mercurial-operations_pb'
|
6
|
+
|
7
|
+
module Hgitaly
|
8
|
+
module MercurialOperationsService
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include ::GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'hgitaly.MercurialOperationsService'
|
16
|
+
|
17
|
+
# Provide all information for a possible merge
|
18
|
+
#
|
19
|
+
# Will be used in mergeability checks and last-minute checks if needed.
|
20
|
+
rpc :MergeAnalysis, ::Hgitaly::MergeAnalysisRequest, ::Hgitaly::MergeAnalysisResponse
|
21
|
+
end
|
22
|
+
|
23
|
+
Stub = Service.rpc_stub_class
|
24
|
+
end
|
25
|
+
end
|
@@ -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
|
-
|
18
|
-
|
19
|
-
|
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
|
-
|
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
|
data/lib/hgitaly/version.rb
CHANGED
data/lib/hgitaly.rb
CHANGED
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.
|
4
|
+
version: 0.40.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georges Racinet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -49,6 +49,8 @@ files:
|
|
49
49
|
- lib/hgitaly.rb
|
50
50
|
- lib/hgitaly/mercurial-changeset_pb.rb
|
51
51
|
- lib/hgitaly/mercurial-changeset_services_pb.rb
|
52
|
+
- lib/hgitaly/mercurial-operations_pb.rb
|
53
|
+
- lib/hgitaly/mercurial-operations_services_pb.rb
|
52
54
|
- lib/hgitaly/mercurial-repository_pb.rb
|
53
55
|
- lib/hgitaly/mercurial-repository_services_pb.rb
|
54
56
|
- lib/hgitaly/version.rb
|