Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
hgitaly
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
heptapod
hgitaly
Commits
ad90a990b545
Commit
ad90a990b545
authored
1 year ago
by
Georges Racinet
Browse files
Options
Downloads
Patches
Plain Diff
RHGitaly bump proto files to v16.9
No actual change in the subset implemented by RHGitaly.
parent
4623886b6e1f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
rust/rhgitaly/proto/blob.proto
+2
-2
2 additions, 2 deletions
rust/rhgitaly/proto/blob.proto
rust/rhgitaly/proto/commit.proto
+20
-6
20 additions, 6 deletions
rust/rhgitaly/proto/commit.proto
with
22 additions
and
8 deletions
rust/rhgitaly/proto/blob.proto
+
2
−
2
View file @
ad90a990
...
...
@@ -112,7 +112,7 @@
// dash. Please consult gitrevisions(7) for more info. Must not be empty.
repeated
string
revisions
=
2
;
// limit is the maximum number of blobs to return. If set to its default
// (`0`), then all found blobs wll be returned.
// (`0`), then all found blobs w
i
ll be returned.
uint32
limit
=
3
;
// bytes_limit is the maximum number of bytes to receive for each blob. If set
// to `0`, then no blob data will be sent. If `-1`, then all blob data will
...
...
@@ -155,7 +155,7 @@
// repository is the repository in which blobs should be enumerated.
Repository
repository
=
1
[(
target_repository
)
=
true
];
// limit is the maximum number of blobs to return. If set to its default
// (`0`), then all found blobs wll be returned.
// (`0`), then all found blobs w
i
ll be returned.
uint32
limit
=
2
;
// bytes_limit is the maximum number of bytes to receive for each blob. If set
// to `0`, then no blob data will be sent. If `-1`, then all blob data will
...
...
This diff is collapsed.
Click to expand it.
rust/rhgitaly/proto/commit.proto
+
20
−
6
View file @
ad90a990
...
...
@@ -47,7 +47,7 @@
// ListCommitsRequest is a request for the ListCommits RPC.
message
ListCommitsRequest
{
// Order is the order in which commits shoud be traversed.
// Order is the order in which commits shou
l
d be traversed.
enum
Order
{
// NONE defaults to reverse chronological order.
NONE
=
0
;
// protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH
...
...
@@ -158,7 +158,7 @@
// CommitIsAncestorRequest is the request for the CommitIsAncestor RPC.
message
CommitIsAncestorRequest
{
// repository is the repository for which we need to check the ancest
o
ry.
// repository is the repository for which we need to check the ancestry.
Repository
repository
=
1
[(
target_repository
)
=
true
];
// ancestor_id is the object ID of the commit which needs to be checked as ancestor.
string
ancestor_id
=
2
;
...
...
@@ -241,7 +241,7 @@
GlobalOptions
global_options
=
9
;
}
// CountCommitsResponse is the response for the CountCommits RPC.
// CountCommitsResponse is the response for the CountCommits RPC.
message
CountCommitsResponse
{
// count denotes the number of commits found as per the given filters.
int32
count
=
1
;
...
...
@@ -427,7 +427,7 @@
// FindAllCommitsRequest is the request for the FindAllCommits RPC.
message
FindAllCommitsRequest
{
// Order is the order in which commits shoud be traversed.
// Order is the order in which commits shou
l
d be traversed.
enum
Order
{
// NONE denotes the default ordering where the commits are shown in
// reverse chronological order.
...
...
@@ -466,7 +466,7 @@
// FindCommitsRequest is the request for the FindCommits RPC.
message
FindCommitsRequest
{
// Order is the order in which commits shoud be traversed.
// Order is the order in which commits shou
l
d be traversed.
enum
Order
{
// NONE defaults to reverse chronological order.
NONE
=
0
;
// protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH
...
...
@@ -533,6 +533,20 @@
repeated
GitCommit
commits
=
1
;
}
// FindCommitsError is an error returned by the FindCommits RPC when no commit is found.
message
FindCommitsError
{
// error denotes the type of error encountered.
oneof
error
{
// bad_object is returned when the revision cannot be found in the git repository.
BadObjectError
bad_object
=
1
;
// ambiguous_ref is returned when the given revision cannot be found.
AmbiguousReferenceError
ambiguous_ref
=
2
;
// invalid_range is returned when the provided revision-range cannot be found in the git repository.
InvalidRevisionRange
invalid_range
=
3
;
}
}
// CommitLanguagesRequest requests to detect the source code languages.
message
CommitLanguagesRequest
{
// repository is the repository where to detect the languages in.
...
...
@@ -714,7 +728,7 @@
Repository
repository
=
1
[(
target_repository
)
=
true
];
// commit_ids is the list of commitish object IDs for whom we want to retrieve
// signature information. If a commit doesn't have associated signature information
// it will be om
m
itted from the results.
// it will be omitted from the results.
repeated
string
commit_ids
=
2
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment