gitaly 19.4.3 → 19.5.0.pre.rc1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 417801d8b863699f78c71133dd35304ee4f143924699de59ec06458d72198e5a
|
|
4
|
+
data.tar.gz: 35aab83a110d23af45e39668f970b704cf61fecf76815afbf32f2406e1df8596
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 573280dc5a63281cb33cf4f9e4adf388f3998f3750439f6ee297eac773d182af344c476f7cbc63cf3c0666f5e078fde8c9adcbff174f6ffbe88a0e4630485d9a
|
|
7
|
+
data.tar.gz: cf6ed1da609fc4f1120aa78259a1bf2bfa50d2fc6007e68532978139396b84a86dbf345b63cb2742591cba9dcf3d4fafbec3e7e47ad8524a4a5109546a6921c6
|
data/ruby/proto/gitaly/ref_pb.rb
CHANGED
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
require 'errors_pb'
|
|
8
|
-
require 'google/protobuf/timestamp_pb'
|
|
9
8
|
require 'lint_pb'
|
|
10
9
|
require 'shared_pb'
|
|
11
10
|
|
|
12
11
|
|
|
13
|
-
descriptor_data = "\n\tref.proto\x12\x06gitaly\x1a\x0c\x65rrors.proto\x1a\
|
|
12
|
+
descriptor_data = "\n\tref.proto\x12\x06gitaly\x1a\x0c\x65rrors.proto\x1a\nlint.proto\x1a\x0cshared.proto\"_\n\x1c\x46indDefaultBranchNameRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\thead_only\x18\x02 \x01(\x08\"-\n\x1d\x46indDefaultBranchNameResponse\x12\x0c\n\x04name\x18\x01 \x01(\x0c\"\x8b\x02\n\x18\x46indLocalBranchesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x38\n\x07sort_by\x18\x02 \x01(\x0e\x32\'.gitaly.FindLocalBranchesRequest.SortBy\x12\x36\n\x11pagination_params\x18\x03 \x01(\x0b\x32\x1b.gitaly.PaginationParameter\x12\x18\n\x10\x65xclude_patterns\x18\x04 \x03(\x0c\"5\n\x06SortBy\x12\x08\n\x04NAME\x10\x00\x12\x0f\n\x0bUPDATED_ASC\x10\x01\x12\x10\n\x0cUPDATED_DESC\x10\x02\"S\n\x19\x46indLocalBranchesResponse\x12&\n\x0elocal_branches\x18\x02 \x03(\x0b\x32\x0e.gitaly.BranchJ\x04\x08\x01\x10\x02R\x08\x62ranches\"t\n\x16\x46indAllBranchesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x13\n\x0bmerged_only\x18\x02 \x01(\x08\x12\x17\n\x0fmerged_branches\x18\x03 \x03(\x0c\"\x8e\x01\n\x17\x46indAllBranchesResponse\x12\x38\n\x08\x62ranches\x18\x01 \x03(\x0b\x32&.gitaly.FindAllBranchesResponse.Branch\x1a\x39\n\x06\x42ranch\x12\x0c\n\x04name\x18\x01 \x01(\x0c\x12!\n\x06target\x18\x02 \x01(\x0b\x32\x11.gitaly.GitCommit\"P\n\x0e\x46indTagRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08tag_name\x18\x02 \x01(\x0c\"+\n\x0f\x46indTagResponse\x12\x18\n\x03tag\x18\x01 \x01(\x0b\x32\x0b.gitaly.Tag\"P\n\x0c\x46indTagError\x12\x37\n\rtag_not_found\x18\x01 \x01(\x0b\x32\x1e.gitaly.ReferenceNotFoundErrorH\x00\x42\x07\n\x05\x65rror\"\xd1\x02\n\x12\x46indAllTagsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x32\n\x07sort_by\x18\x02 \x01(\x0b\x32!.gitaly.FindAllTagsRequest.SortBy\x12\x36\n\x11pagination_params\x18\x03 \x01(\x0b\x32\x1b.gitaly.PaginationParameter\x1a\xa0\x01\n\x06SortBy\x12\x32\n\x03key\x18\x01 \x01(\x0e\x32%.gitaly.FindAllTagsRequest.SortBy.Key\x12(\n\tdirection\x18\x02 \x01(\x0e\x32\x15.gitaly.SortDirection\"8\n\x03Key\x12\x0b\n\x07REFNAME\x10\x00\x12\x0f\n\x0b\x43REATORDATE\x10\x01\x12\x13\n\x0fVERSION_REFNAME\x10\x02\"0\n\x13\x46indAllTagsResponse\x12\x19\n\x04tags\x18\x01 \x03(\x0b\x32\x0b.gitaly.Tag\"M\n\x10RefExistsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03ref\x18\x02 \x01(\x0c\"_\n\x0eRefExistsError\x12\x44\n\x16unresolvable_reference\x18\x01 \x01(\x0b\x32\".gitaly.ReferenceUnresolvableErrorH\x00\x42\x07\n\x05\x65rror\"\"\n\x11RefExistsResponse\x12\r\n\x05value\x18\x01 \x01(\x08\"O\n\x11\x46indBranchRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04name\x18\x02 \x01(\x0c\"4\n\x12\x46indBranchResponse\x12\x1e\n\x06\x62ranch\x18\x01 \x01(\x0b\x32\x0e.gitaly.Branch\"\xcb\x01\n\x17UpdateReferencesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x37\n\x07updates\x18\x02 \x03(\x0b\x32&.gitaly.UpdateReferencesRequest.Update\x1aI\n\x06Update\x12\x11\n\treference\x18\x01 \x01(\x0c\x12\x15\n\rold_object_id\x18\x02 \x01(\x0c\x12\x15\n\rnew_object_id\x18\x03 \x01(\x0c\"\x1a\n\x18UpdateReferencesResponse\"\xde\x01\n\x15UpdateReferencesError\x12\x37\n\x0einvalid_format\x18\x01 \x01(\x0b\x32\x1d.gitaly.InvalidRefFormatErrorH\x00\x12:\n\x11references_locked\x18\x02 \x01(\x0b\x32\x1d.gitaly.ReferencesLockedErrorH\x00\x12G\n\x18reference_state_mismatch\x18\x03 \x01(\x0b\x32#.gitaly.ReferenceStateMismatchErrorH\x00\x42\x07\n\x05\x65rror\"k\n\x11\x44\x65leteRefsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12\x65xcept_with_prefix\x18\x02 \x03(\x0c\x12\x0c\n\x04refs\x18\x03 \x03(\x0c\"\'\n\x12\x44\x65leteRefsResponse\x12\x11\n\tgit_error\x18\x01 \x01(\t\"\x8f\x01\n\x0f\x44\x65leteRefsError\x12\x37\n\x0einvalid_format\x18\x01 \x01(\x0b\x32\x1d.gitaly.InvalidRefFormatErrorH\x00\x12:\n\x11references_locked\x18\x02 \x01(\x0b\x32\x1d.gitaly.ReferencesLockedErrorH\x00\x42\x07\n\x05\x65rror\"x\n&ListBranchNamesContainingCommitRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\tcommit_id\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\r\"E\n\'ListBranchNamesContainingCommitResponse\x12\x14\n\x0c\x62ranch_names\x18\x02 \x03(\x0cJ\x04\x08\x01\x10\x02\"u\n#ListTagNamesContainingCommitRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\tcommit_id\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\r\"?\n$ListTagNamesContainingCommitResponse\x12\x11\n\ttag_names\x18\x02 \x03(\x0cJ\x04\x08\x01\x10\x02\"^\n\x17GetTagSignaturesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x15\n\rtag_revisions\x18\x02 \x03(\t\"\xa1\x01\n\x18GetTagSignaturesResponse\x12\x41\n\nsignatures\x18\x01 \x03(\x0b\x32-.gitaly.GetTagSignaturesResponse.TagSignature\x1a\x42\n\x0cTagSignature\x12\x0e\n\x06tag_id\x18\x01 \x01(\t\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\x0c\"g\n\x15GetTagMessagesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0f\n\x07tag_ids\x18\x03 \x03(\tJ\x04\x08\x02\x10\x03R\ttag_names\"I\n\x16GetTagMessagesResponse\x12\x0f\n\x07message\x18\x02 \x01(\x0c\x12\x0e\n\x06tag_id\x18\x03 \x01(\tJ\x04\x08\x01\x10\x02R\x08tag_name\"a\n\x1c\x46indAllRemoteBranchesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x13\n\x0bremote_name\x18\x02 \x01(\t\"A\n\x1d\x46indAllRemoteBranchesResponse\x12 \n\x08\x62ranches\x18\x01 \x03(\x0b\x32\x0e.gitaly.Branch\"\xd2\x03\n\x0fListRefsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08patterns\x18\x02 \x03(\x0c\x12\x0c\n\x04head\x18\x03 \x01(\x08\x12/\n\x07sort_by\x18\x04 \x01(\x0b\x32\x1e.gitaly.ListRefsRequest.SortBy\x12\x18\n\x10pointing_at_oids\x18\x05 \x03(\x0c\x12\x11\n\tpeel_tags\x18\x06 \x01(\x08\x12\x36\n\x11pagination_params\x18\x07 \x01(\x0b\x32\x1b.gitaly.PaginationParameter\x12\x13\n\x0bignore_case\x18\x08 \x01(\x08\x12\x18\n\x10\x65xclude_patterns\x18\t \x03(\x0c\x1a\xab\x01\n\x06SortBy\x12/\n\x03key\x18\x01 \x01(\x0e\x32\".gitaly.ListRefsRequest.SortBy.Key\x12(\n\tdirection\x18\x02 \x01(\x0e\x32\x15.gitaly.SortDirection\"F\n\x03Key\x12\x0b\n\x07REFNAME\x10\x00\x12\x0f\n\x0b\x43REATORDATE\x10\x01\x12\x0e\n\nAUTHORDATE\x10\x02\x12\x11\n\rCOMMITTERDATE\x10\x03\"\xc1\x01\n\x10ListRefsResponse\x12\x36\n\nreferences\x18\x01 \x03(\x0b\x32\".gitaly.ListRefsResponse.Reference\x12\x33\n\x11pagination_cursor\x18\x02 \x01(\x0b\x32\x18.gitaly.PaginationCursor\x1a@\n\tReference\x12\x0c\n\x04name\x18\x01 \x01(\x0c\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x15\n\rpeeled_target\x18\x03 \x01(\t\"\x8a\x01\n\x14\x46indRefsByOIDRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\x14\n\x0cref_patterns\x18\x03 \x03(\t\x12\x12\n\nsort_field\x18\x04 \x01(\t\x12\r\n\x05limit\x18\x05 \x01(\r\"%\n\x15\x46indRefsByOIDResponse\x12\x0c\n\x04refs\x18\x01 \x03(\t2\xf7\x0b\n\nRefService\x12l\n\x15\x46indDefaultBranchName\x12$.gitaly.FindDefaultBranchNameRequest\x1a%.gitaly.FindDefaultBranchNameResponse\"\x06\xfa\x97(\x02\x08\x02\x12\x62\n\x11\x46indLocalBranches\x12 .gitaly.FindLocalBranchesRequest\x1a!.gitaly.FindLocalBranchesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\\\n\x0f\x46indAllBranches\x12\x1e.gitaly.FindAllBranchesRequest\x1a\x1f.gitaly.FindAllBranchesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12P\n\x0b\x46indAllTags\x12\x1a.gitaly.FindAllTagsRequest\x1a\x1b.gitaly.FindAllTagsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x42\n\x07\x46indTag\x12\x16.gitaly.FindTagRequest\x1a\x17.gitaly.FindTagResponse\"\x06\xfa\x97(\x02\x08\x02\x12n\n\x15\x46indAllRemoteBranches\x12$.gitaly.FindAllRemoteBranchesRequest\x1a%.gitaly.FindAllRemoteBranchesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12H\n\tRefExists\x12\x18.gitaly.RefExistsRequest\x1a\x19.gitaly.RefExistsResponse\"\x06\xfa\x97(\x02\x08\x02\x12K\n\nFindBranch\x12\x19.gitaly.FindBranchRequest\x1a\x1a.gitaly.FindBranchResponse\"\x06\xfa\x97(\x02\x08\x02\x12_\n\x10UpdateReferences\x12\x1f.gitaly.UpdateReferencesRequest\x1a .gitaly.UpdateReferencesResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x12K\n\nDeleteRefs\x12\x19.gitaly.DeleteRefsRequest\x1a\x1a.gitaly.DeleteRefsResponse\"\x06\xfa\x97(\x02\x08\x01\x12\x8c\x01\n\x1fListBranchNamesContainingCommit\x12..gitaly.ListBranchNamesContainingCommitRequest\x1a/.gitaly.ListBranchNamesContainingCommitResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x83\x01\n\x1cListTagNamesContainingCommit\x12+.gitaly.ListTagNamesContainingCommitRequest\x1a,.gitaly.ListTagNamesContainingCommitResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12_\n\x10GetTagSignatures\x12\x1f.gitaly.GetTagSignaturesRequest\x1a .gitaly.GetTagSignaturesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12Y\n\x0eGetTagMessages\x12\x1d.gitaly.GetTagMessagesRequest\x1a\x1e.gitaly.GetTagMessagesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12G\n\x08ListRefs\x12\x17.gitaly.ListRefsRequest\x1a\x18.gitaly.ListRefsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12T\n\rFindRefsByOID\x12\x1c.gitaly.FindRefsByOIDRequest\x1a\x1d.gitaly.FindRefsByOIDResponse\"\x06\xfa\x97(\x02\x08\x02\x42\x34Z2gitlab.com/gitlab-org/gitaly/v18/proto/go/gitalypbb\x06proto3"
|
|
14
13
|
|
|
15
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
15
|
|
|
@@ -27,7 +26,6 @@ rescue TypeError => e
|
|
|
27
26
|
imports = [
|
|
28
27
|
["gitaly.Repository", "shared.proto"],
|
|
29
28
|
["gitaly.ReferenceNotFoundError", "errors.proto"],
|
|
30
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
31
29
|
]
|
|
32
30
|
imports.each do |type_name, expected_filename|
|
|
33
31
|
import_file = pool.lookup(type_name).file_descriptor
|
|
@@ -8,7 +8,7 @@ require 'lint_pb'
|
|
|
8
8
|
require 'shared_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\x0cremote.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"\xdb\x02\n\x19UpdateRemoteMirrorRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1e\n\x16only_branches_matching\x18\x03 \x03(\x0c\x12\x0f\n\x07ssh_key\x18\x04 \x01(\t\x12\x13\n\x0bknown_hosts\x18\x05 \x01(\t\x12\x1b\n\x13keep_divergent_refs\x18\x06 \x01(\x08\x12\x38\n\x06remote\x18\x07 \x01(\x0b\x32(.gitaly.UpdateRemoteMirrorRequest.Remote\x1a\x63\n\x06Remote\x12\x0b\n\x03url\x18\x01 \x01(\t\x12!\n\x19http_authorization_header\x18\x02 \x01(\t\x12\x18\n\x10resolved_address\x18\x04 \x01(\tJ\x04\x08\x03\x10\x04R\thttp_hostJ\x04\x08\x02\x10\x03R\x08ref_name\"4\n\x1aUpdateRemoteMirrorResponse\x12\x16\n\x0e\x64ivergent_refs\x18\x01 \x03(\x0c\"
|
|
11
|
+
descriptor_data = "\n\x0cremote.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"\xdb\x02\n\x19UpdateRemoteMirrorRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1e\n\x16only_branches_matching\x18\x03 \x03(\x0c\x12\x0f\n\x07ssh_key\x18\x04 \x01(\t\x12\x13\n\x0bknown_hosts\x18\x05 \x01(\t\x12\x1b\n\x13keep_divergent_refs\x18\x06 \x01(\x08\x12\x38\n\x06remote\x18\x07 \x01(\x0b\x32(.gitaly.UpdateRemoteMirrorRequest.Remote\x1a\x63\n\x06Remote\x12\x0b\n\x03url\x18\x01 \x01(\t\x12!\n\x19http_authorization_header\x18\x02 \x01(\t\x12\x18\n\x10resolved_address\x18\x04 \x01(\tJ\x04\x08\x03\x10\x04R\thttp_hostJ\x04\x08\x02\x10\x03R\x08ref_name\"4\n\x1aUpdateRemoteMirrorResponse\x12\x16\n\x0e\x64ivergent_refs\x18\x01 \x03(\x0c\"I\n\x1b\x46indRemoteRepositoryRequest\x12\x0e\n\x06remote\x18\x01 \x01(\t\x12\x1a\n\x0cstorage_name\x18\x02 \x01(\tB\x04\x88\xc6,\x01\".\n\x1c\x46indRemoteRepositoryResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"\xb8\x01\n\x18\x46indRemoteRootRefRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x12\n\nremote_url\x18\x03 \x01(\t\x12!\n\x19http_authorization_header\x18\x04 \x01(\t\x12\x18\n\x10resolved_address\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06R\x06remoteR\thttp_host\"(\n\x19\x46indRemoteRootRefResponse\x12\x0b\n\x03ref\x18\x01 \x01(\t2\xc5\x02\n\rRemoteService\x12\x65\n\x12UpdateRemoteMirror\x12!.gitaly.UpdateRemoteMirrorRequest\x1a\".gitaly.UpdateRemoteMirrorResponse\"\x06\xfa\x97(\x02\x08\x02(\x01\x12k\n\x14\x46indRemoteRepository\x12#.gitaly.FindRemoteRepositoryRequest\x1a$.gitaly.FindRemoteRepositoryResponse\"\x08\xfa\x97(\x04\x08\x02\x10\x02\x12`\n\x11\x46indRemoteRootRef\x12 .gitaly.FindRemoteRootRefRequest\x1a!.gitaly.FindRemoteRootRefResponse\"\x06\xfa\x97(\x02\x08\x02\x42\x34Z2gitlab.com/gitlab-org/gitaly/v18/proto/go/gitalypbb\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
|
@@ -9,7 +9,7 @@ require 'packfile_pb'
|
|
|
9
9
|
require 'shared_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n\x0fsmarthttp.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0epackfile.proto\x1a\x0cshared.proto\"q\n\x0fInfoRefsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\" \n\x10InfoRefsResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x86\x01\n$PostUploadPackWithSidechannelRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\"w\n%PostUploadPackWithSidechannelResponse\x12N\n\x1fpackfile_negotiation_statistics\x18\x01 \x01(\x0b\x32%.gitaly.PackfileNegotiationStatistics\"\xc1\x01\n\x16PostReceivePackRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\r\n\x05gl_id\x18\x03 \x01(\t\x12\x15\n\rgl_repository\x18\x04 \x01(\t\x12\x13\n\x0bgl_username\x18\x05 \x01(\t\x12\x14\n\x0cgit_protocol\x18\x06 \x01(\t\x12\x1a\n\x12git_config_options\x18\x07 \x03(\t\"\'\n\x17PostReceivePackResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x32\
|
|
12
|
+
descriptor_data = "\n\x0fsmarthttp.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0epackfile.proto\x1a\x0cshared.proto\"q\n\x0fInfoRefsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\" \n\x10InfoRefsResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x86\x01\n$PostUploadPackWithSidechannelRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\"w\n%PostUploadPackWithSidechannelResponse\x12N\n\x1fpackfile_negotiation_statistics\x18\x01 \x01(\x0b\x32%.gitaly.PackfileNegotiationStatistics\"{\n\x19\x41\x64vertiseBundleURIRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\"l\n\x1a\x41\x64vertiseBundleURIResponse\x12N\n\x1fpackfile_negotiation_statistics\x18\x01 \x01(\x0b\x32%.gitaly.PackfileNegotiationStatistics\"\xc1\x01\n\x16PostReceivePackRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\r\n\x05gl_id\x18\x03 \x01(\t\x12\x15\n\rgl_repository\x18\x04 \x01(\t\x12\x13\n\x0bgl_username\x18\x05 \x01(\t\x12\x14\n\x0cgit_protocol\x18\x06 \x01(\t\x12\x1a\n\x12git_config_options\x18\x07 \x03(\t\"\'\n\x17PostReceivePackResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x32\x85\x04\n\x10SmartHTTPService\x12Q\n\x12InfoRefsUploadPack\x12\x17.gitaly.InfoRefsRequest\x1a\x18.gitaly.InfoRefsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12R\n\x13InfoRefsReceivePack\x12\x17.gitaly.InfoRefsRequest\x1a\x18.gitaly.InfoRefsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x84\x01\n\x1dPostUploadPackWithSidechannel\x12,.gitaly.PostUploadPackWithSidechannelRequest\x1a-.gitaly.PostUploadPackWithSidechannelResponse\"\x06\xfa\x97(\x02\x08\x02\x12\x63\n\x12\x41\x64vertiseBundleURI\x12!.gitaly.AdvertiseBundleURIRequest\x1a\".gitaly.AdvertiseBundleURIResponse\"\x06\xfa\x97(\x02\x08\x02\x12^\n\x0fPostReceivePack\x12\x1e.gitaly.PostReceivePackRequest\x1a\x1f.gitaly.PostReceivePackResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v18/proto/go/gitalypbb\x06proto3"
|
|
13
13
|
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
|
|
@@ -42,6 +42,8 @@ module Gitaly
|
|
|
42
42
|
InfoRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
|
|
43
43
|
PostUploadPackWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackWithSidechannelRequest").msgclass
|
|
44
44
|
PostUploadPackWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackWithSidechannelResponse").msgclass
|
|
45
|
+
AdvertiseBundleURIRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AdvertiseBundleURIRequest").msgclass
|
|
46
|
+
AdvertiseBundleURIResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AdvertiseBundleURIResponse").msgclass
|
|
45
47
|
PostReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
|
|
46
48
|
PostReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
|
|
47
49
|
end
|
|
@@ -34,6 +34,24 @@ module Gitaly
|
|
|
34
34
|
#
|
|
35
35
|
# More info on sidechannels: https://gitlab.com/gitlab-org/gitaly/-/blob/master/doc/sidechannel.md
|
|
36
36
|
rpc :PostUploadPackWithSidechannel, ::Gitaly::PostUploadPackWithSidechannelRequest, ::Gitaly::PostUploadPackWithSidechannelResponse
|
|
37
|
+
# AdvertiseBundleURI provides the response for the POST /upload-pack request that
|
|
38
|
+
# carries the Git protocol v2 `command=bundle-uri` command. With `--stateless-rpc`,
|
|
39
|
+
# Git sends this command as its own request before the actual `command=fetch`, so it
|
|
40
|
+
# arrives at Gitaly separately. Serving it is cheap: git-upload-pack(1) writes back
|
|
41
|
+
# the list of bundles configured for the repository and exits without computing or
|
|
42
|
+
# sending a packfile.
|
|
43
|
+
#
|
|
44
|
+
# This RPC exists so that the cheap bundle-uri command gets its own concurrency-limiting
|
|
45
|
+
# cost class. Concurrency limits are keyed by the name of the invoked RPC, so serving
|
|
46
|
+
# bundle-uri through PostUploadPackWithSidechannel would make it share limits and queue
|
|
47
|
+
# with full clones and fetches.
|
|
48
|
+
#
|
|
49
|
+
# Apart from the method name it is identical to PostUploadPackWithSidechannel: the
|
|
50
|
+
# request and response bytes are transferred via a sidechannel rather than through
|
|
51
|
+
# gRPC messages.
|
|
52
|
+
#
|
|
53
|
+
# More info on sidechannels: https://gitlab.com/gitlab-org/gitaly/-/blob/master/doc/sidechannel.md
|
|
54
|
+
rpc :AdvertiseBundleURI, ::Gitaly::AdvertiseBundleURIRequest, ::Gitaly::AdvertiseBundleURIResponse
|
|
37
55
|
# PostReceivePack provides the response for POST /receive-pack. It used to transfer
|
|
38
56
|
# pack files from the client to the server. This is invoked when the client executes `git push`.
|
|
39
57
|
rpc :PostReceivePack, stream(::Gitaly::PostReceivePackRequest), stream(::Gitaly::PostReceivePackResponse)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitaly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 19.
|
|
4
|
+
version: 19.5.0.pre.rc1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitLab Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grpc
|