Skip to content
Snippets Groups Projects
Commit ad90a990b545 authored by Georges Racinet's avatar Georges Racinet
Browse files

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
......@@ -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 will 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 will 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
......
......@@ -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 should 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 ancestory.
// 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 should 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 should 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 ommitted from the results.
// it will be omitted from the results.
repeated string commit_ids = 2;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment