Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-05-05 13:20:22 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-05-06 12:59:52 +0300
commita0168ce54a412a1a3231569a09528c4200bd12cf (patch)
treeeced41dba282fbe20b418c1da8b007bba3c6249d
parent14bd8a629594cfdaaaf8f4ba6197ba78df068626 (diff)
proto: Enforce comment-linting for message fieldspks-protolint-comments
Enforce that message fields must have a comment and add a placeholder for all instances where such a comment is missing.
-rw-r--r--proto/.protolint.yaml1
-rw-r--r--proto/blob.proto24
-rw-r--r--proto/cleanup.proto8
-rw-r--r--proto/commit.proto246
-rw-r--r--proto/conflicts.proto22
-rw-r--r--proto/diff.proto100
-rw-r--r--proto/go/gitalypb/blob.pb.go42
-rw-r--r--proto/go/gitalypb/cleanup.pb.go14
-rw-r--r--proto/go/gitalypb/commit.pb.go423
-rw-r--r--proto/go/gitalypb/conflicts.pb.go36
-rw-r--r--proto/go/gitalypb/diff.pb.go176
-rw-r--r--proto/go/gitalypb/hook.pb.go110
-rw-r--r--proto/go/gitalypb/internal.pb.go4
-rw-r--r--proto/go/gitalypb/lint.pb.go2
-rw-r--r--proto/go/gitalypb/namespace.pb.go30
-rw-r--r--proto/go/gitalypb/objectpool.pb.go30
-rw-r--r--proto/go/gitalypb/operations.pb.go68
-rw-r--r--proto/go/gitalypb/praefect.pb.go26
-rw-r--r--proto/go/gitalypb/ref.pb.go166
-rw-r--r--proto/go/gitalypb/remote.pb.go4
-rw-r--r--proto/go/gitalypb/repository.pb.go270
-rw-r--r--proto/go/gitalypb/server.pb.go42
-rw-r--r--proto/go/gitalypb/shared.pb.go94
-rw-r--r--proto/go/gitalypb/smarthttp.pb.go12
-rw-r--r--proto/go/gitalypb/ssh.pb.go8
-rw-r--r--proto/go/gitalypb/transaction.pb.go6
-rw-r--r--proto/go/gitalypb/wiki.pb.go130
-rw-r--r--proto/hook.proto60
-rw-r--r--proto/internal.proto4
-rw-r--r--proto/lint.proto3
-rw-r--r--proto/namespace.proto20
-rw-r--r--proto/objectpool.proto24
-rw-r--r--proto/operations.proto42
-rw-r--r--proto/praefect.proto18
-rw-r--r--proto/ref.proto139
-rw-r--r--proto/remote.proto4
-rw-r--r--proto/repository.proto178
-rw-r--r--proto/server.proto24
-rw-r--r--proto/shared.proto55
-rw-r--r--proto/smarthttp.proto8
-rw-r--r--proto/ssh.proto6
-rw-r--r--proto/transaction.proto6
-rw-r--r--proto/wiki.proto74
43 files changed, 2406 insertions, 353 deletions
diff --git a/proto/.protolint.yaml b/proto/.protolint.yaml
index 6105a0094..a2d94785d 100644
--- a/proto/.protolint.yaml
+++ b/proto/.protolint.yaml
@@ -14,7 +14,6 @@ lint:
# opt-in to enable these linting warnings, but right now we just want to
# get protolint included in our workflow with minimal required changes.
- FILE_HAS_COMMENT
- - FIELDS_HAVE_COMMENT
# Many of our fields and messages have prepositions in them, and
# furthermore this rule doesn't feel all that sensible after all. We thus
# disable it.
diff --git a/proto/blob.proto b/proto/blob.proto
index 1ca93f4be..785358c4a 100644
--- a/proto/blob.proto
+++ b/proto/blob.proto
@@ -79,6 +79,8 @@ service BlobService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetBlobRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1[(target_repository)=true];
// Object ID (SHA1) of the blob we want to get
string oid = 2;
@@ -103,10 +105,16 @@ message GetBlobsRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RevisionPath {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string revision = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 2;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1[(target_repository)=true];
// Revision/Path pairs of the blobs we want to get.
repeated RevisionPath revision_paths = 2;
@@ -123,10 +131,20 @@ message GetBlobsResponse {
bytes data = 2;
// Object ID of the current blob. Only present on the first message per blob. Empty if no blob was found.
string oid = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool is_submodule = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 mode = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string revision = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 7;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectType type = 8;
}
@@ -229,8 +247,14 @@ message LFSPointer {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message NewBlobObject {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int64 size = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string oid = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 3;
}
diff --git a/proto/cleanup.proto b/proto/cleanup.proto
index e6e4ac723..3d9fc387c 100644
--- a/proto/cleanup.proto
+++ b/proto/cleanup.proto
@@ -38,10 +38,18 @@ message ApplyBfgObjectMapStreamResponse {
// We send back each parsed entry in the request's object map so the client
// can take action
message Entry {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectType type = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string old_oid = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string new_oid = 3;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated Entry entries = 1;
}
diff --git a/proto/commit.proto b/proto/commit.proto
index 2924c36e5..305e1a02e 100644
--- a/proto/commit.proto
+++ b/proto/commit.proto
@@ -290,7 +290,11 @@ message ListAllCommitsResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitStatsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
}
@@ -299,27 +303,41 @@ message CommitStatsRequest {
message CommitStatsResponse {
// OID is the commit. Empty means not found
string oid = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 additions = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 deletions = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitIsAncestorRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string ancestor_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string child_id = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitIsAncestorResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool value = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message TreeEntryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// commit ID or refname
bytes revision = 2;
@@ -351,9 +369,14 @@ message TreeEntryResponse {
// This comment is left unintentionally blank.
TAG = 3;
}
+
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectType type = 1;
// SHA1 object ID
string oid = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int64 size = 3;
// file mode
int32 mode = 4;
@@ -364,40 +387,70 @@ message TreeEntryResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CountCommitsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
google.protobuf.Timestamp after = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
google.protobuf.Timestamp before = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 max_count = 6;
// all and revision are mutually exclusive
bool all = 7;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool first_parent = 8;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlobalOptions global_options = 9;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CountCommitsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 count = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CountDivergingCommitsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes from = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes to = 3;
reserved 4;
reserved 5;
reserved 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 max_count = 7;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CountDivergingCommitsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 left_count = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 right_count = 2;
}
@@ -423,6 +476,8 @@ message TreeEntry {
string root_oid = 2;
// Path relative to repository root
bytes path = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
EntryType type = 4;
// File mode e.g. 0644
int32 mode = 5;
@@ -446,10 +501,20 @@ message GetTreeEntriesRequest {
TREES_FIRST = 1; // trees, blobs, submodules
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool recursive = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SortBy sort = 5;
// The page token is the last commit OID that was sent. It's expected to be the
// full object ID to guard against ambigious OIDs.
@@ -459,15 +524,22 @@ message GetTreeEntriesRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetTreeEntriesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated TreeEntry entries = 1;
-
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
PaginationCursor pagination_cursor = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListFilesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
}
@@ -480,8 +552,14 @@ message ListFilesResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindCommitRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool trailers = 3;
}
@@ -495,20 +573,30 @@ message FindCommitResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListCommitsByOidRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string oid = 2; // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListCommitsByOidResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated GitCommit commits = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListCommitsByRefNameRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes ref_names = 2;
}
@@ -520,10 +608,16 @@ message ListCommitsByRefNameResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitForRef {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitCommit commit = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes ref_name = 2;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated CommitForRef commit_refs = 2;
}
@@ -544,16 +638,26 @@ message FindAllCommitsRequest {
DATE = 2;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// When nil, return all commits reachable by any branch in the repo
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 max_count = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 skip = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Order order = 5;
}
// A single 'page' of the result set
message FindAllCommitsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated GitCommit commits = 1;
}
@@ -571,34 +675,70 @@ message FindCommitsRequest {
TOPO = 1;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 limit = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 offset = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes paths = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool follow = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool skip_merges = 7;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool disable_walk = 8;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
google.protobuf.Timestamp after = 9;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
google.protobuf.Timestamp before = 10;
// all and revision are mutually exclusive
bool all = 11;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool first_parent = 12;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes author = 13;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Order order = 14;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlobalOptions global_options = 15;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool trailers = 16;
}
// A single 'page' of the result set
message FindCommitsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated GitCommit commits = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitLanguagesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
}
@@ -608,20 +748,39 @@ message CommitLanguagesResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message Language {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
float share = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string color = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
uint32 file_count = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
uint64 bytes = 5;
}
+
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated Language languages = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RawBlameRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 3;
// Comma-separated range of line numbers to perform the blame on: "1,1000".
// Optional - if no range is provided, the whole file will be blamed.
@@ -631,16 +790,32 @@ message RawBlameRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RawBlameResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message LastCommitForPathRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool literal_pathspec = 4; // Deprecate after Rails stops using this
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlobalOptions global_options = 5;
}
@@ -654,12 +829,26 @@ message LastCommitForPathResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListLastCommitsForTreeRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 limit = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 offset = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool literal_pathspec = 6 [deprecated = true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlobalOptions global_options = 7;
}
@@ -671,61 +860,102 @@ message ListLastCommitsForTreeResponse {
message CommitForTree {
reserved 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitCommit commit = 2;
reserved 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path_bytes = 4;
}
+
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated CommitForTree commits = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitsByMessageRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 offset = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 limit = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string query = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlobalOptions global_options = 7;
}
// One 'page' of the paginated response of CommitsByMessage
message CommitsByMessageResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated GitCommit commits = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FilterShasWithSignaturesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes shas = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FilterShasWithSignaturesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes shas = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ExtractCommitSignatureRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string commit_id = 2;
}
// Either of the 'signature' and 'signed_text' fields may be present. It
// is up to the caller to stitch them together.
message ExtractCommitSignatureResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes signature = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes signed_text = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetCommitSignaturesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string commit_ids = 2;
}
@@ -736,13 +966,19 @@ message GetCommitSignaturesResponse {
string commit_id = 1;
// See ExtractCommitSignatureResponse above for how these fields should be handled.
bytes signature = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes signed_text = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetCommitMessagesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string commit_ids = 2;
}
@@ -751,6 +987,8 @@ message GetCommitMessagesRequest {
message GetCommitMessagesResponse {
// Only present for a new commit message
string commit_id = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes message = 2;
}
@@ -772,9 +1010,15 @@ message CheckObjectsExistResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RevisionExistence {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool exists = 2;
};
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated RevisionExistence revisions = 1;
}
diff --git a/proto/conflicts.proto b/proto/conflicts.proto
index ef22b8fc5..e2e9da4dc 100644
--- a/proto/conflicts.proto
+++ b/proto/conflicts.proto
@@ -34,8 +34,14 @@ service ConflictsService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListConflictFilesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string our_commit_oid = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string their_commit_oid = 3;
// AllowTreeConflicts will not cause the request to fail in case there are
// tree conflicts. If set to true, then responses may contain conflict files
@@ -47,10 +53,20 @@ message ListConflictFilesRequest {
// This comment is left unintentionally blank.
message ConflictFileHeader {
reserved 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string commit_oid = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes their_path = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes our_path = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 our_mode = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes ancestor_path = 6;
}
@@ -58,7 +74,11 @@ message ConflictFileHeader {
// This comment is left unintentionally blank.
message ConflictFile {
oneof conflict_file_payload {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ConflictFileHeader header = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes content = 2;
}
}
@@ -66,6 +86,8 @@ message ConflictFile {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListConflictFilesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated ConflictFile files = 1;
}
diff --git a/proto/diff.proto b/proto/diff.proto
index 26ec2f310..e46a33b40 100644
--- a/proto/diff.proto
+++ b/proto/diff.proto
@@ -70,17 +70,35 @@ message CommitDiffRequest {
WORDDIFF = 1;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string left_commit_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string right_commit_id = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool ignore_whitespace_change = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes paths = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool collapse_diffs = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool enforce_limits = 7;
// These limits are only enforced when enforce_limits == true.
int32 max_files = 8;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 max_lines = 9;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 max_bytes = 10;
// Limitation of a single diff patch,
// patches surpassing this limit are pruned by default.
@@ -89,7 +107,11 @@ message CommitDiffRequest {
// These limits are only enforced if collapse_diffs == true.
int32 safe_max_files = 11;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 safe_max_lines = 12;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 safe_max_bytes = 13;
// DiffMode is the mode used for generating the diff. Please refer to the enum declaration for supported modes.
@@ -100,15 +122,31 @@ message CommitDiffRequest {
message CommitDiffResponse {
reserved 8;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes from_path = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes to_path = 2;
// Blob ID as returned via `git diff --full-index`
string from_id = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string to_id = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 old_mode = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 new_mode = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool binary = 7;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes raw_patch_data = 9;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool end_of_patch = 10;
// Indicates the diff file at which we overflow according to the limitations sent,
// in which case only this attribute will be set.
@@ -124,78 +162,130 @@ message CommitDiffResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitDeltaRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string left_commit_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string right_commit_id = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes paths = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitDelta {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes from_path = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes to_path = 2;
// Blob ID as returned via `git diff --full-index`
string from_id = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string to_id = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 old_mode = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 new_mode = 6;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitDeltaResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated CommitDelta deltas = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RawDiffRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string left_commit_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string right_commit_id = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RawDiffResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RawPatchRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string left_commit_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string right_commit_id = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RawPatchResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DiffStatsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string left_commit_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string right_commit_id = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DiffStats {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 additions = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 deletions = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes old_path = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DiffStatsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated DiffStats stats = 1;
}
@@ -203,12 +293,18 @@ message DiffStatsResponse {
// to its parent. Merge commits will show files which are different to all of
// its parents.
message FindChangedPathsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string commits = 2;
}
// Returns a list of files that have been changed in the commits given
message FindChangedPathsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated ChangedPaths paths = 1;
}
@@ -234,6 +330,10 @@ message ChangedPaths {
COPIED = 4;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Status status = 2;
}
diff --git a/proto/go/gitalypb/blob.pb.go b/proto/go/gitalypb/blob.pb.go
index de30582af..b96529317 100644
--- a/proto/go/gitalypb/blob.pb.go
+++ b/proto/go/gitalypb/blob.pb.go
@@ -27,6 +27,8 @@ type GetBlobRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Object ID (SHA1) of the blob we want to get
Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"`
@@ -162,6 +164,8 @@ type GetBlobsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Revision/Path pairs of the blobs we want to get.
RevisionPaths []*GetBlobsRequest_RevisionPath `protobuf:"bytes,2,rep,name=revision_paths,json=revisionPaths,proto3" json:"revision_paths,omitempty"`
@@ -234,12 +238,22 @@ type GetBlobsResponse struct {
// Chunk of blob data, could span over multiple messages.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// Object ID of the current blob. Only present on the first message per blob. Empty if no blob was found.
- Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"`
- IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"`
- Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"`
- Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
- Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"`
- Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"`
+ Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"`
}
func (x *GetBlobsResponse) Reset() {
@@ -675,8 +689,14 @@ type NewBlobObject struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
- Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
}
@@ -1075,8 +1095,12 @@ type GetBlobsRequest_RevisionPath struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
- Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
}
func (x *GetBlobsRequest_RevisionPath) Reset() {
diff --git a/proto/go/gitalypb/cleanup.pb.go b/proto/go/gitalypb/cleanup.pb.go
index 535905bc6..c336c32d3 100644
--- a/proto/go/gitalypb/cleanup.pb.go
+++ b/proto/go/gitalypb/cleanup.pb.go
@@ -88,6 +88,8 @@ type ApplyBfgObjectMapStreamResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Entries []*ApplyBfgObjectMapStreamResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}
@@ -137,9 +139,15 @@ type ApplyBfgObjectMapStreamResponse_Entry struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"`
- OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"`
- NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"`
}
func (x *ApplyBfgObjectMapStreamResponse_Entry) Reset() {
diff --git a/proto/go/gitalypb/commit.pb.go b/proto/go/gitalypb/commit.pb.go
index f05fdcf39..5d2796deb 100644
--- a/proto/go/gitalypb/commit.pb.go
+++ b/proto/go/gitalypb/commit.pb.go
@@ -672,8 +672,12 @@ type CommitStatsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
func (x *CommitStatsRequest) Reset() {
@@ -730,9 +734,13 @@ type CommitStatsResponse struct {
unknownFields protoimpl.UnknownFields
// OID is the commit. Empty means not found
- Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"`
- Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"`
- Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"`
+ Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"`
}
func (x *CommitStatsResponse) Reset() {
@@ -795,9 +803,15 @@ type CommitIsAncestorRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"`
- ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"`
}
func (x *CommitIsAncestorRequest) Reset() {
@@ -860,6 +874,8 @@ type CommitIsAncestorResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
@@ -909,6 +925,8 @@ type TreeEntryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// commit ID or refname
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
@@ -996,10 +1014,14 @@ type TreeEntryResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Type TreeEntryResponse_ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.TreeEntryResponse_ObjectType" json:"type,omitempty"`
// SHA1 object ID
- Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"`
- Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
+ Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// file mode
Mode int32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"`
// raw object contents
@@ -1080,15 +1102,31 @@ type CountCommitsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- After *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"`
- Before *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"`
- Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
- MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ After *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Before *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
// all and revision are mutually exclusive
- All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"`
- FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"`
+ All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlobalOptions *GlobalOptions `protobuf:"bytes,9,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
}
@@ -1194,6 +1232,8 @@ type CountCommitsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
@@ -1243,10 +1283,18 @@ type CountDivergingCommitsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
- To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
- MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
}
func (x *CountDivergingCommitsRequest) Reset() {
@@ -1316,7 +1364,11 @@ type CountDivergingCommitsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"`
}
@@ -1378,7 +1430,9 @@ type TreeEntry struct {
// OID of the tree attached to commit_oid
RootOid string `protobuf:"bytes,2,opt,name=root_oid,json=rootOid,proto3" json:"root_oid,omitempty"`
// Path relative to repository root
- Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
+ Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Type TreeEntry_EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=gitaly.TreeEntry_EntryType" json:"type,omitempty"`
// File mode e.g. 0644
Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"`
@@ -1476,11 +1530,21 @@ type GetTreeEntriesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
- Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
- Sort GetTreeEntriesRequest_SortBy `protobuf:"varint,5,opt,name=sort,proto3,enum=gitaly.GetTreeEntriesRequest_SortBy" json:"sort,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Sort GetTreeEntriesRequest_SortBy `protobuf:"varint,5,opt,name=sort,proto3,enum=gitaly.GetTreeEntriesRequest_SortBy" json:"sort,omitempty"`
// The page token is the last commit OID that was sent. It's expected to be the
// full object ID to guard against ambigious OIDs.
PaginationParams *PaginationParameter `protobuf:"bytes,6,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"`
@@ -1567,7 +1631,11 @@ type GetTreeEntriesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
PaginationCursor *PaginationCursor `protobuf:"bytes,2,opt,name=pagination_cursor,json=paginationCursor,proto3" json:"pagination_cursor,omitempty"`
}
@@ -1624,8 +1692,12 @@ type ListFilesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
func (x *ListFilesRequest) Reset() {
@@ -1730,9 +1802,15 @@ type FindCommitRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"`
}
func (x *FindCommitRequest) Reset() {
@@ -1845,8 +1923,12 @@ type ListCommitsByOidRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
}
func (x *ListCommitsByOidRequest) Reset() {
@@ -1902,6 +1984,8 @@ type ListCommitsByOidResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
}
@@ -1951,8 +2035,12 @@ type ListCommitsByRefNameRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"`
}
func (x *ListCommitsByRefNameRequest) Reset() {
@@ -2008,6 +2096,8 @@ type ListCommitsByRefNameResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
CommitRefs []*ListCommitsByRefNameResponse_CommitForRef `protobuf:"bytes,2,rep,name=commit_refs,json=commitRefs,proto3" json:"commit_refs,omitempty"`
}
@@ -2057,12 +2147,20 @@ type FindAllCommitsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// When nil, return all commits reachable by any branch in the repo
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
- Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
- Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"`
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"`
}
func (x *FindAllCommitsRequest) Reset() {
@@ -2138,6 +2236,8 @@ type FindAllCommitsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
}
@@ -2187,23 +2287,53 @@ type FindCommitsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
- Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
- Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
- Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"`
- SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges,proto3" json:"skip_merges,omitempty"`
- DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"`
- After *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"`
- Before *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=before,proto3" json:"before,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges,proto3" json:"skip_merges,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ After *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Before *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=before,proto3" json:"before,omitempty"`
// all and revision are mutually exclusive
- All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"`
- FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"`
- Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"`
- Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"`
- GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
- Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"`
+ All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"`
}
func (x *FindCommitsRequest) Reset() {
@@ -2356,6 +2486,8 @@ type FindCommitsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
}
@@ -2405,8 +2537,12 @@ type CommitLanguagesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
func (x *CommitLanguagesRequest) Reset() {
@@ -2462,6 +2598,8 @@ type CommitLanguagesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"`
}
@@ -2511,9 +2649,15 @@ type RawBlameRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
// Comma-separated range of line numbers to perform the blame on: "1,1000".
// Optional - if no range is provided, the whole file will be blamed.
Range []byte `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"`
@@ -2586,6 +2730,8 @@ type RawBlameResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -2635,11 +2781,25 @@ type LastCommitForPathRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
- LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // Deprecate after Rails stops using this
- GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // Deprecate after Rails stops using this
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
}
func (x *LastCommitForPathRequest) Reset() {
@@ -2766,14 +2926,29 @@ type ListLastCommitsForTreeRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
- Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
- Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ //
// Deprecated: Do not use.
- LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"`
- GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
+ LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
}
func (x *ListLastCommitsForTreeRequest) Reset() {
@@ -2865,6 +3040,8 @@ type ListLastCommitsForTreeResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
}
@@ -2914,12 +3091,26 @@ type CommitsByMessageRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
- Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
- Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
- Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
- Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"`
}
@@ -3010,6 +3201,8 @@ type CommitsByMessageResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
}
@@ -3059,8 +3252,12 @@ type FilterShasWithSignaturesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"`
}
func (x *FilterShasWithSignaturesRequest) Reset() {
@@ -3116,6 +3313,8 @@ type FilterShasWithSignaturesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"`
}
@@ -3165,8 +3364,12 @@ type ExtractCommitSignatureRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
}
func (x *ExtractCommitSignatureRequest) Reset() {
@@ -3222,7 +3425,11 @@ type ExtractCommitSignatureResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"`
}
@@ -3279,8 +3486,12 @@ type GetCommitSignaturesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"`
}
func (x *GetCommitSignaturesRequest) Reset() {
@@ -3339,7 +3550,9 @@ type GetCommitSignaturesResponse struct {
// Only present for a new commit signature data.
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
// See ExtractCommitSignatureResponse above for how these fields should be handled.
- Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
+ Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"`
}
@@ -3403,8 +3616,12 @@ type GetCommitMessagesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"`
}
func (x *GetCommitMessagesRequest) Reset() {
@@ -3462,7 +3679,9 @@ type GetCommitMessagesResponse struct {
// Only present for a new commit message
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
- Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *GetCommitMessagesResponse) Reset() {
@@ -3580,6 +3799,8 @@ type CheckObjectsExistResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Revisions []*CheckObjectsExistResponse_RevisionExistence `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"`
}
@@ -3629,8 +3850,12 @@ type ListCommitsByRefNameResponse_CommitForRef struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
- RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"`
}
func (x *ListCommitsByRefNameResponse_CommitForRef) Reset() {
@@ -3686,11 +3911,21 @@ type CommitLanguagesResponse_Language struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"`
- Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
- FileCount uint32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
- Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ FileCount uint32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"`
}
func (x *CommitLanguagesResponse_Language) Reset() {
@@ -3767,8 +4002,12 @@ type ListLastCommitsForTreeResponse_CommitForTree struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
- PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"`
}
func (x *ListLastCommitsForTreeResponse_CommitForTree) Reset() {
@@ -3824,8 +4063,12 @@ type CheckObjectsExistResponse_RevisionExistence struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
}
func (x *CheckObjectsExistResponse_RevisionExistence) Reset() {
diff --git a/proto/go/gitalypb/conflicts.pb.go b/proto/go/gitalypb/conflicts.pb.go
index 23e7c680b..13c56090f 100644
--- a/proto/go/gitalypb/conflicts.pb.go
+++ b/proto/go/gitalypb/conflicts.pb.go
@@ -28,9 +28,15 @@ type ListConflictFilesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"`
- TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"`
// AllowTreeConflicts will not cause the request to fail in case there are
// tree conflicts. If set to true, then responses may contain conflict files
// where some of the paths are unset.
@@ -104,10 +110,20 @@ type ConflictFileHeader struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"`
- TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"`
- OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"`
- OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
AncestorPath []byte `protobuf:"bytes,6,opt,name=ancestor_path,json=ancestorPath,proto3" json:"ancestor_path,omitempty"`
}
@@ -249,10 +265,14 @@ type isConflictFile_ConflictFilePayload interface {
}
type ConflictFile_Header struct {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type ConflictFile_Content struct {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}
@@ -267,6 +287,8 @@ type ListConflictFilesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Files []*ConflictFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
}
diff --git a/proto/go/gitalypb/diff.pb.go b/proto/go/gitalypb/diff.pb.go
index fb839dc6b..6abeaf68d 100644
--- a/proto/go/gitalypb/diff.pb.go
+++ b/proto/go/gitalypb/diff.pb.go
@@ -144,16 +144,34 @@ type CommitDiffRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
- RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
- IgnoreWhitespaceChange bool `protobuf:"varint,4,opt,name=ignore_whitespace_change,json=ignoreWhitespaceChange,proto3" json:"ignore_whitespace_change,omitempty"`
- Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
- CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs,proto3" json:"collapse_diffs,omitempty"`
- EnforceLimits bool `protobuf:"varint,7,opt,name=enforce_limits,json=enforceLimits,proto3" json:"enforce_limits,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ IgnoreWhitespaceChange bool `protobuf:"varint,4,opt,name=ignore_whitespace_change,json=ignoreWhitespaceChange,proto3" json:"ignore_whitespace_change,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs,proto3" json:"collapse_diffs,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ EnforceLimits bool `protobuf:"varint,7,opt,name=enforce_limits,json=enforceLimits,proto3" json:"enforce_limits,omitempty"`
// These limits are only enforced when enforce_limits == true.
MaxFiles int32 `protobuf:"varint,8,opt,name=max_files,json=maxFiles,proto3" json:"max_files,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines,proto3" json:"max_lines,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
MaxBytes int32 `protobuf:"varint,10,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
// Limitation of a single diff patch,
// patches surpassing this limit are pruned by default.
@@ -161,7 +179,11 @@ type CommitDiffRequest struct {
MaxPatchBytes int32 `protobuf:"varint,14,opt,name=max_patch_bytes,json=maxPatchBytes,proto3" json:"max_patch_bytes,omitempty"`
// These limits are only enforced if collapse_diffs == true.
SafeMaxFiles int32 `protobuf:"varint,11,opt,name=safe_max_files,json=safeMaxFiles,proto3" json:"safe_max_files,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines,proto3" json:"safe_max_lines,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes,proto3" json:"safe_max_bytes,omitempty"`
// DiffMode is the mode used for generating the diff. Please refer to the enum declaration for supported modes.
DiffMode CommitDiffRequest_DiffMode `protobuf:"varint,15,opt,name=diff_mode,json=diffMode,proto3,enum=gitaly.CommitDiffRequest_DiffMode" json:"diff_mode,omitempty"`
@@ -310,16 +332,32 @@ type CommitDiffResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"`
- ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"`
// Blob ID as returned via `git diff --full-index`
- FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"`
- ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"`
- OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"`
- NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"`
- Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"`
+ FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
RawPatchData []byte `protobuf:"bytes,9,opt,name=raw_patch_data,json=rawPatchData,proto3" json:"raw_patch_data,omitempty"`
- EndOfPatch bool `protobuf:"varint,10,opt,name=end_of_patch,json=endOfPatch,proto3" json:"end_of_patch,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ EndOfPatch bool `protobuf:"varint,10,opt,name=end_of_patch,json=endOfPatch,proto3" json:"end_of_patch,omitempty"`
// Indicates the diff file at which we overflow according to the limitations sent,
// in which case only this attribute will be set.
OverflowMarker bool `protobuf:"varint,11,opt,name=overflow_marker,json=overflowMarker,proto3" json:"overflow_marker,omitempty"`
@@ -454,10 +492,18 @@ type CommitDeltaRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
- RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
- Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"`
}
func (x *CommitDeltaRequest) Reset() {
@@ -527,13 +573,23 @@ type CommitDelta struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"`
- ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"`
// Blob ID as returned via `git diff --full-index`
- FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"`
- ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"`
- OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"`
- NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"`
+ FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"`
}
func (x *CommitDelta) Reset() {
@@ -617,6 +673,8 @@ type CommitDeltaResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"`
}
@@ -666,9 +724,15 @@ type RawDiffRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
- RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
}
func (x *RawDiffRequest) Reset() {
@@ -731,6 +795,8 @@ type RawDiffResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -780,9 +846,15 @@ type RawPatchRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
- RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
}
func (x *RawPatchRequest) Reset() {
@@ -845,6 +917,8 @@ type RawPatchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -894,9 +968,15 @@ type DiffStatsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
- RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"`
}
func (x *DiffStatsRequest) Reset() {
@@ -959,10 +1039,18 @@ type DiffStats struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
- Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"`
- Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"`
- OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"`
}
func (x *DiffStats) Reset() {
@@ -1032,6 +1120,8 @@ type DiffStatsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
}
@@ -1082,8 +1172,12 @@ type FindChangedPathsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"`
}
func (x *FindChangedPathsRequest) Reset() {
@@ -1138,6 +1232,8 @@ type FindChangedPathsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
}
@@ -1186,7 +1282,11 @@ type ChangedPaths struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Status ChangedPaths_Status `protobuf:"varint,2,opt,name=status,proto3,enum=gitaly.ChangedPaths_Status" json:"status,omitempty"`
}
diff --git a/proto/go/gitalypb/hook.pb.go b/proto/go/gitalypb/hook.pb.go
index 3a98c753c..a38ffd931 100644
--- a/proto/go/gitalypb/hook.pb.go
+++ b/proto/go/gitalypb/hook.pb.go
@@ -84,10 +84,18 @@ type PreReceiveHookRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
- Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
- GitPushOptions []string `protobuf:"bytes,5,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GitPushOptions []string `protobuf:"bytes,5,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"`
}
func (x *PreReceiveHookRequest) Reset() {
@@ -157,8 +165,14 @@ type PreReceiveHookResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
- Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
}
@@ -222,10 +236,18 @@ type PostReceiveHookRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
- Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
- GitPushOptions []string `protobuf:"bytes,4,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GitPushOptions []string `protobuf:"bytes,4,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"`
}
func (x *PostReceiveHookRequest) Reset() {
@@ -295,8 +317,14 @@ type PostReceiveHookResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
- Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
}
@@ -360,11 +388,21 @@ type UpdateHookRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
- Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
- OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
- NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
}
func (x *UpdateHookRequest) Reset() {
@@ -441,8 +479,14 @@ type UpdateHookResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
- Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
}
@@ -506,10 +550,18 @@ type ReferenceTransactionHookRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
- Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
- State ReferenceTransactionHookRequest_State `protobuf:"varint,4,opt,name=state,proto3,enum=gitaly.ReferenceTransactionHookRequest_State" json:"state,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ State ReferenceTransactionHookRequest_State `protobuf:"varint,4,opt,name=state,proto3,enum=gitaly.ReferenceTransactionHookRequest_State" json:"state,omitempty"`
}
func (x *ReferenceTransactionHookRequest) Reset() {
@@ -579,8 +631,14 @@ type ReferenceTransactionHookResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
- Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
}
@@ -644,6 +702,8 @@ type PackObjectsHookWithSidechannelRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// args contains the arguments passed to the pack-objects hook, without the leading "git"
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
diff --git a/proto/go/gitalypb/internal.pb.go b/proto/go/gitalypb/internal.pb.go
index ac662559c..6d744c774 100644
--- a/proto/go/gitalypb/internal.pb.go
+++ b/proto/go/gitalypb/internal.pb.go
@@ -28,6 +28,8 @@ type WalkReposRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
}
@@ -77,6 +79,8 @@ type WalkReposResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
// modification_time is the modification time of the repository directory.
// This can be used as a proxy for when the repository was last
diff --git a/proto/go/gitalypb/lint.pb.go b/proto/go/gitalypb/lint.pb.go
index 39119356a..06acd1d12 100644
--- a/proto/go/gitalypb/lint.pb.go
+++ b/proto/go/gitalypb/lint.pb.go
@@ -142,6 +142,8 @@ type OperationMsg struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Op OperationMsg_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=gitaly.OperationMsg_Operation" json:"op,omitempty"`
// Scope level indicates what level an RPC interacts with a server:
// - REPOSITORY: scoped to only a single repo
diff --git a/proto/go/gitalypb/namespace.pb.go b/proto/go/gitalypb/namespace.pb.go
index bae5849b8..2e8976f9c 100644
--- a/proto/go/gitalypb/namespace.pb.go
+++ b/proto/go/gitalypb/namespace.pb.go
@@ -27,8 +27,12 @@ type AddNamespaceRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *AddNamespaceRequest) Reset() {
@@ -84,8 +88,12 @@ type RemoveNamespaceRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *RemoveNamespaceRequest) Reset() {
@@ -141,9 +149,15 @@ type RenameNamespaceRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
- From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
- To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
}
func (x *RenameNamespaceRequest) Reset() {
@@ -206,8 +220,12 @@ type NamespaceExistsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *NamespaceExistsRequest) Reset() {
@@ -263,6 +281,8 @@ type NamespaceExistsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
}
diff --git a/proto/go/gitalypb/objectpool.pb.go b/proto/go/gitalypb/objectpool.pb.go
index 21d6eaa05..9e9039b02 100644
--- a/proto/go/gitalypb/objectpool.pb.go
+++ b/proto/go/gitalypb/objectpool.pb.go
@@ -27,8 +27,12 @@ type CreateObjectPoolRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"`
- Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
}
func (x *CreateObjectPoolRequest) Reset() {
@@ -124,6 +128,8 @@ type DeleteObjectPoolRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"`
}
@@ -213,7 +219,11 @@ type LinkRepositoryToObjectPoolRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -310,6 +320,8 @@ type ReduplicateRepositoryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -399,6 +411,8 @@ type DisconnectGitAlternatesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -488,9 +502,15 @@ type FetchIntoObjectPoolRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"`
- Repack bool `protobuf:"varint,3,opt,name=repack,proto3" json:"repack,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repack bool `protobuf:"varint,3,opt,name=repack,proto3" json:"repack,omitempty"`
}
func (x *FetchIntoObjectPoolRequest) Reset() {
@@ -593,6 +613,8 @@ type GetObjectPoolRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -642,6 +664,8 @@ type GetObjectPoolResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"`
}
diff --git a/proto/go/gitalypb/operations.pb.go b/proto/go/gitalypb/operations.pb.go
index 38ff0acad..bdea5e740 100644
--- a/proto/go/gitalypb/operations.pb.go
+++ b/proto/go/gitalypb/operations.pb.go
@@ -204,10 +204,18 @@ type UserCreateBranchRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
- User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
- StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
}
func (x *UserCreateBranchRequest) Reset() {
@@ -277,6 +285,8 @@ type UserCreateBranchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
// Error returned by the pre-receive hook. If no error was thrown,
// it's the empty string ("")
@@ -336,11 +346,21 @@ type UserUpdateBranchRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
- User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
- Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"`
- Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"`
}
func (x *UserUpdateBranchRequest) Reset() {
@@ -417,6 +437,8 @@ type UserUpdateBranchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
}
@@ -466,9 +488,15 @@ type UserDeleteBranchRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
- User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *UserDeleteBranchRequest) Reset() {
@@ -531,6 +559,8 @@ type UserDeleteBranchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
}
@@ -580,9 +610,15 @@ type UserDeleteTagRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
- User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *UserDeleteTagRequest) Reset() {
@@ -645,6 +681,8 @@ type UserDeleteTagResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
}
@@ -1471,8 +1509,12 @@ type UserFFBranchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
- PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"`
}
func (x *UserFFBranchResponse) Reset() {
diff --git a/proto/go/gitalypb/praefect.pb.go b/proto/go/gitalypb/praefect.pb.go
index f21f12223..8769f6d0c 100644
--- a/proto/go/gitalypb/praefect.pb.go
+++ b/proto/go/gitalypb/praefect.pb.go
@@ -480,8 +480,14 @@ type SetAuthoritativeStorageRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"`
- RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
AuthoritativeStorage string `protobuf:"bytes,3,opt,name=authoritative_storage,json=authoritativeStorage,proto3" json:"authoritative_storage,omitempty"`
}
@@ -585,6 +591,8 @@ type DatalossCheckRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"`
// include_partially_unavailable indicates whether to include repositories which are available but
// are unavailable on some assigned storages.
@@ -694,6 +702,8 @@ type RepositoryReplicasRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -743,7 +753,11 @@ type RepositoryReplicasResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Primary *RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Primary *RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Replicas []*RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,2,rep,name=replicas,proto3" json:"replicas,omitempty"`
}
@@ -1176,8 +1190,12 @@ type RepositoryReplicasResponse_RepositoryDetails struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
}
func (x *RepositoryReplicasResponse_RepositoryDetails) Reset() {
diff --git a/proto/go/gitalypb/ref.pb.go b/proto/go/gitalypb/ref.pb.go
index a10158fe3..d3df60bf4 100644
--- a/proto/go/gitalypb/ref.pb.go
+++ b/proto/go/gitalypb/ref.pb.go
@@ -260,6 +260,8 @@ type FindDefaultBranchNameRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -309,6 +311,8 @@ type FindDefaultBranchNameResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
@@ -358,6 +362,8 @@ type FindAllBranchNamesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -407,6 +413,8 @@ type FindAllBranchNamesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
}
@@ -456,6 +464,8 @@ type FindAllTagNamesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -505,6 +515,8 @@ type FindAllTagNamesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
}
@@ -554,8 +566,12 @@ type FindLocalBranchesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- SortBy FindLocalBranchesRequest_SortBy `protobuf:"varint,2,opt,name=sort_by,json=sortBy,proto3,enum=gitaly.FindLocalBranchesRequest_SortBy" json:"sort_by,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ SortBy FindLocalBranchesRequest_SortBy `protobuf:"varint,2,opt,name=sort_by,json=sortBy,proto3,enum=gitaly.FindLocalBranchesRequest_SortBy" json:"sort_by,omitempty"`
// The page token is the branch name, with the `refs/heads/` prefix, for
// example "refs/heads/master". After the first branch name is encountered
// which lexicographically exceeds the page token, it will be the first result
@@ -623,6 +639,8 @@ type FindLocalBranchesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branches []*FindLocalBranchResponse `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
}
@@ -672,12 +690,24 @@ type FindLocalBranchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
- CommitSubject []byte `protobuf:"bytes,3,opt,name=commit_subject,json=commitSubject,proto3" json:"commit_subject,omitempty"`
- CommitAuthor *FindLocalBranchCommitAuthor `protobuf:"bytes,4,opt,name=commit_author,json=commitAuthor,proto3" json:"commit_author,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitSubject []byte `protobuf:"bytes,3,opt,name=commit_subject,json=commitSubject,proto3" json:"commit_subject,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitAuthor *FindLocalBranchCommitAuthor `protobuf:"bytes,4,opt,name=commit_author,json=commitAuthor,proto3" json:"commit_author,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
CommitCommitter *FindLocalBranchCommitAuthor `protobuf:"bytes,5,opt,name=commit_committer,json=commitCommitter,proto3" json:"commit_committer,omitempty"`
- Commit *GitCommit `protobuf:"bytes,6,opt,name=commit,proto3" json:"commit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Commit *GitCommit `protobuf:"bytes,6,opt,name=commit,proto3" json:"commit,omitempty"`
}
func (x *FindLocalBranchResponse) Reset() {
@@ -761,10 +791,18 @@ type FindLocalBranchCommitAuthor struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
- Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
- Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
}
func (x *FindLocalBranchCommitAuthor) Reset() {
@@ -834,6 +872,8 @@ type FindAllBranchesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Only return branches that are merged into root ref
MergedOnly bool `protobuf:"varint,2,opt,name=merged_only,json=mergedOnly,proto3" json:"merged_only,omitempty"`
@@ -902,6 +942,8 @@ type FindAllBranchesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
}
@@ -951,8 +993,12 @@ type FindTagRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
}
func (x *FindTagRequest) Reset() {
@@ -1008,6 +1054,8 @@ type FindTagResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
}
@@ -1057,6 +1105,8 @@ type FindAllTagsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// SortBy allows to request tags in particular order.
SortBy *FindAllTagsRequest_SortBy `protobuf:"bytes,2,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
@@ -1126,6 +1176,8 @@ type FindAllTagsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
}
@@ -1175,6 +1227,8 @@ type RefExistsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. Must start with 'refs/'.
Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
@@ -1233,6 +1287,8 @@ type RefExistsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
@@ -1282,9 +1338,15 @@ type CreateBranchRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
}
func (x *CreateBranchRequest) Reset() {
@@ -1347,8 +1409,12 @@ type CreateBranchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"`
- Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
}
func (x *CreateBranchResponse) Reset() {
@@ -1404,8 +1470,12 @@ type DeleteBranchRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *DeleteBranchRequest) Reset() {
@@ -1560,6 +1630,8 @@ type FindBranchResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
}
@@ -1609,10 +1681,14 @@ type DeleteRefsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// The following two fields are mutually exclusive
ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
- Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"`
}
func (x *DeleteRefsRequest) Reset() {
@@ -1675,6 +1751,8 @@ type DeleteRefsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"`
}
@@ -1724,8 +1802,12 @@ type ListBranchNamesContainingCommitRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
// Limit the number of tag names to be returned
// If the limit is set to zero, all items will be returned
Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
@@ -1791,6 +1873,8 @@ type ListBranchNamesContainingCommitResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"`
}
@@ -1840,8 +1924,12 @@ type ListTagNamesContainingCommitRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
// Limit the number of tag names to be returned
// If the limit is set to zero, all items will be returned
Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
@@ -1907,6 +1995,8 @@ type ListTagNamesContainingCommitResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"`
}
@@ -2067,8 +2157,12 @@ type GetTagMessagesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"`
}
func (x *GetTagMessagesRequest) Reset() {
@@ -2124,6 +2218,8 @@ type GetTagMessagesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// Only present for a new tag message
TagId string `protobuf:"bytes,3,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"`
@@ -2182,8 +2278,12 @@ type FindAllRemoteBranchesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"`
}
func (x *FindAllRemoteBranchesRequest) Reset() {
@@ -2239,6 +2339,8 @@ type FindAllRemoteBranchesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
}
@@ -2288,6 +2390,8 @@ type PackRefsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -2645,7 +2749,11 @@ type FindAllBranchesResponse_Branch struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Target *GitCommit `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
}
@@ -2701,8 +2809,12 @@ type FindAllTagsRequest_SortBy struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Key FindAllTagsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.FindAllTagsRequest_SortBy_Key" json:"key,omitempty"`
- Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Key FindAllTagsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.FindAllTagsRequest_SortBy_Key" json:"key,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"`
}
func (x *FindAllTagsRequest_SortBy) Reset() {
@@ -2829,8 +2941,10 @@ type ListRefsRequest_SortBy struct {
unknownFields protoimpl.UnknownFields
// Key is a key used for sorting.
- Key ListRefsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.ListRefsRequest_SortBy_Key" json:"key,omitempty"`
- Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"`
+ Key ListRefsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.ListRefsRequest_SortBy_Key" json:"key,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"`
}
func (x *ListRefsRequest_SortBy) Reset() {
diff --git a/proto/go/gitalypb/remote.pb.go b/proto/go/gitalypb/remote.pb.go
index ef88925b2..52cdc7d7b 100644
--- a/proto/go/gitalypb/remote.pb.go
+++ b/proto/go/gitalypb/remote.pb.go
@@ -183,6 +183,8 @@ type FindRemoteRepositoryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
// This field is used to redirect request to proper storage where it can be handled.
// As of now it doesn't matter what storage will be used, but it still must be a valid.
@@ -243,6 +245,8 @@ type FindRemoteRepositoryResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
}
diff --git a/proto/go/gitalypb/repository.pb.go b/proto/go/gitalypb/repository.pb.go
index 3c8d8e434..6c37ceff8 100644
--- a/proto/go/gitalypb/repository.pb.go
+++ b/proto/go/gitalypb/repository.pb.go
@@ -214,6 +214,8 @@ type RepositoryExistsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -263,6 +265,8 @@ type RepositoryExistsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
}
@@ -312,6 +316,8 @@ type RepackIncrementalRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -401,8 +407,12 @@ type RepackFullRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"`
}
func (x *RepackFullRequest) Reset() {
@@ -498,6 +508,8 @@ type MidxRepackRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -587,8 +599,12 @@ type GarbageCollectRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"`
// If set to 'true' the 'gc' will be triggered with '--prune=30.minutes.ago' flag.
// This will remove dangling objects from the object storage that were not modified in the last 30 minutes.
// If 'false' provided the 'gc' will rely on the default expiration period (2 weeks).
@@ -697,6 +713,8 @@ type WriteCommitGraphRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// SplitStrategy is a strategy used to create/update commit graph.
SplitStrategy WriteCommitGraphRequest_SplitStrategy `protobuf:"varint,2,opt,name=splitStrategy,proto3,enum=gitaly.WriteCommitGraphRequest_SplitStrategy" json:"splitStrategy,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE
@@ -795,6 +813,8 @@ type CleanupRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -884,6 +904,8 @@ type RepositorySizeRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -983,8 +1005,12 @@ type ApplyGitattributesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
func (x *ApplyGitattributesRequest) Reset() {
@@ -1188,6 +1214,8 @@ type FetchRemoteRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// force determines if references should be force-updated in case they have
// diverged.
@@ -1195,8 +1223,12 @@ type FetchRemoteRequest struct {
// no_tags determines whether tags should be fetched.
NoTags bool `protobuf:"varint,4,opt,name=no_tags,json=noTags,proto3" json:"no_tags,omitempty"`
// timeout specifies a timeout for the fetch.
- Timeout int32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
- SshKey string `protobuf:"bytes,6,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"`
+ Timeout int32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ SshKey string `protobuf:"bytes,6,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
KnownHosts string `protobuf:"bytes,7,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"`
// no_prune will the fetch to not prune remote references which do not exist
// in the remote repository anymore.
@@ -1364,6 +1396,8 @@ type CreateRepositoryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Provide a branch name to set as the default branch of a newly created
// repository. Note, this will be treated as the branch name and not a
@@ -1464,19 +1498,33 @@ type GetArchiveRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
- Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
- Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,proto3,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"`
- Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
- Exclude [][]byte `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,proto3,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Exclude [][]byte `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
// If `elide_path` is true and `path` refers to a subdirectory, that
// subdirectory will be elided from archive entries. For example, if `dir`
// contains `README.md`, with `elide_path = false` the corresponding entry
// will be `dir/README.md`; with `elide_path = true`, the entry will be
// `README.md`. `elide_path` has no effect if `path` refers to the repository
// root. `elide_path = true` is not supported if `path` refers to a file.
- ElidePath bool `protobuf:"varint,7,opt,name=elide_path,json=elidePath,proto3" json:"elide_path,omitempty"`
+ ElidePath bool `protobuf:"varint,7,opt,name=elide_path,json=elidePath,proto3" json:"elide_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
IncludeLfsBlobs bool `protobuf:"varint,8,opt,name=include_lfs_blobs,json=includeLfsBlobs,proto3" json:"include_lfs_blobs,omitempty"`
}
@@ -1575,6 +1623,8 @@ type GetArchiveResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -1624,6 +1674,8 @@ type HasLocalBranchesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -1673,6 +1725,8 @@ type HasLocalBranchesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
@@ -1853,6 +1907,8 @@ type FsckRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -1902,6 +1958,8 @@ type FsckResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
@@ -1951,11 +2009,21 @@ type WriteRefRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
- Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
- OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"`
- Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"`
}
func (x *WriteRefRequest) Reset() {
@@ -2072,6 +2140,8 @@ type FindMergeBaseRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// We use a repeated field because rugged supports finding a base
// for more than 2 revisions, so if we needed that in the future we don't
@@ -2132,6 +2202,8 @@ type FindMergeBaseResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
}
@@ -2181,7 +2253,11 @@ type CreateForkRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"`
}
@@ -2278,8 +2354,12 @@ type CreateRepositoryFromURLRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// HttpHost is the hostname of the remote repository. Use this when the
// URL hostname has already been resolved to an IP address to prevent DNS
// rebinding.
@@ -2409,6 +2489,8 @@ type CreateBundleRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -2458,6 +2540,8 @@ type CreateBundleResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -2568,6 +2652,8 @@ type CreateBundleFromRefListResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -2716,8 +2802,12 @@ type RestoreCustomHooksRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *RestoreCustomHooksRequest) Reset() {
@@ -2813,6 +2903,8 @@ type BackupCustomHooksRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -2862,6 +2954,8 @@ type BackupCustomHooksResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -2913,7 +3007,9 @@ type CreateRepositoryFromBundleRequest struct {
// Only available on the first message
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *CreateRepositoryFromBundleRequest) Reset() {
@@ -3009,6 +3105,8 @@ type FindLicenseRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -3058,6 +3156,8 @@ type FindLicenseResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName,proto3" json:"license_short_name,omitempty"`
}
@@ -3107,6 +3207,8 @@ type GetInfoAttributesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -3156,6 +3258,8 @@ type GetInfoAttributesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
}
@@ -3205,6 +3309,8 @@ type CalculateChecksumRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -3254,6 +3360,8 @@ type CalculateChecksumResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
}
@@ -3303,6 +3411,8 @@ type GetSnapshotRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -3352,6 +3462,8 @@ type GetSnapshotResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -3401,9 +3513,15 @@ type CreateRepositoryFromSnapshotRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"`
- HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"`
// HttpHost is the hostname of the remote snapshot. Use this when the
// URL hostname has already been resolved to an IP address to prevent DNS
// rebinding.
@@ -3517,9 +3635,15 @@ type GetRawChangesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"`
- ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"`
}
func (x *GetRawChangesRequest) Reset() {
@@ -3582,6 +3706,8 @@ type GetRawChangesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
RawChanges []*GetRawChangesResponse_RawChange `protobuf:"bytes,1,rep,name=raw_changes,json=rawChanges,proto3" json:"raw_changes,omitempty"`
}
@@ -3631,9 +3757,15 @@ type SearchFilesByNameRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
- Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
// If `filter` is specified and non-empty, it will be parsed as a regular
// expression and used to filter the result set before it is transmitted. It is
// parsed using Go's `regexp` package, which is closely related to PCRE,
@@ -3709,6 +3841,8 @@ type SearchFilesByNameResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Files [][]byte `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
}
@@ -3758,10 +3892,18 @@ type SearchFilesByContentRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
- Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
- ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"`
}
func (x *SearchFilesByContentRequest) Reset() {
@@ -3831,9 +3973,15 @@ type SearchFilesByContentResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
- MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"`
- EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"`
}
func (x *SearchFilesByContentResponse) Reset() {
@@ -3985,6 +4133,8 @@ type GetObjectDirectorySizeRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -4084,6 +4234,8 @@ type RemoveRepositoryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -4173,8 +4325,12 @@ type RenameRepositoryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
}
func (x *RenameRepositoryRequest) Reset() {
@@ -4270,8 +4426,12 @@ type ReplicateRepositoryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Source *Repository `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Source *Repository `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
}
func (x *ReplicateRepositoryRequest) Reset() {
@@ -4367,6 +4527,8 @@ type OptimizeRepositoryRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -4456,6 +4618,8 @@ type PruneUnreachableObjectsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -4642,14 +4806,28 @@ type GetRawChangesResponse_RawChange struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"`
- Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
- Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,proto3,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"`
- RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"`
- OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"`
- NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,proto3,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"`
// the following fields, 9 and 10, will eventually replace 3 and 4
NewPathBytes []byte `protobuf:"bytes,9,opt,name=new_path_bytes,json=newPathBytes,proto3" json:"new_path_bytes,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
OldPathBytes []byte `protobuf:"bytes,10,opt,name=old_path_bytes,json=oldPathBytes,proto3" json:"old_path_bytes,omitempty"`
}
diff --git a/proto/go/gitalypb/server.pb.go b/proto/go/gitalypb/server.pb.go
index 65f2007cd..452e01f1e 100644
--- a/proto/go/gitalypb/server.pb.go
+++ b/proto/go/gitalypb/server.pb.go
@@ -67,8 +67,14 @@ type ServerInfoResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
- GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"`
}
@@ -172,6 +178,8 @@ type DiskStatisticsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
StorageStatuses []*DiskStatisticsResponse_StorageStatus `protobuf:"bytes,1,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"`
}
@@ -331,11 +339,23 @@ type ServerInfoResponse_StorageStatus struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
- Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"`
- Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"`
- FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
- FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ReplicationFactor uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"`
}
@@ -423,8 +443,12 @@ type DiskStatisticsResponse_StorageStatus struct {
// When both available and used fields are equal 0 that means that
// Gitaly was unable to determine storage stats.
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
- Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
- Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
}
func (x *DiskStatisticsResponse_StorageStatus) Reset() {
diff --git a/proto/go/gitalypb/shared.pb.go b/proto/go/gitalypb/shared.pb.go
index 36aad578c..8a01e3b06 100644
--- a/proto/go/gitalypb/shared.pb.go
+++ b/proto/go/gitalypb/shared.pb.go
@@ -206,7 +206,11 @@ type Repository struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
// Sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field.
// It influences the object storage directory the SHA1 directories are created underneath.
@@ -365,16 +369,30 @@ type GitCommit struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
- Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
- Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer,proto3" json:"committer,omitempty"`
- ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"`
// If body exceeds a certain threshold, it will be nullified,
// but its size will be set in body_size so we can know if
// a commit had a body in the first place.
- BodySize int64 `protobuf:"varint,7,opt,name=body_size,json=bodySize,proto3" json:"body_size,omitempty"`
+ BodySize int64 `protobuf:"varint,7,opt,name=body_size,json=bodySize,proto3" json:"body_size,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SignatureType SignatureType `protobuf:"varint,8,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"`
// The tree ID will always be filled, even if the tree is empty. In that case
// the value will be `4b825dc642cb6eb9a060e54bf8d69288fbee4904`.
@@ -496,10 +514,18 @@ type CommitAuthor struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
- Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
- Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
}
func (x *CommitAuthor) Reset() {
@@ -569,6 +595,8 @@ type ExitStatus struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
@@ -617,7 +645,11 @@ type Branch struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"`
}
@@ -674,15 +706,27 @@ type Tag struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
TargetCommit *GitCommit `protobuf:"bytes,3,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"`
// If message exceeds a certain threshold, it will be nullified,
// but its size will be set in message_size so we can know if
// a tag had a message in the first place.
- Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
- MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"`
- Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"`
+ Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SignatureType SignatureType `protobuf:"varint,7,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"`
}
@@ -774,9 +818,17 @@ type User struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"`
- Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"`
// Timezone is the timezone as configured by the user in the web interface. This
// timezone may be used when new commits are created via RPC calls.
@@ -857,6 +909,8 @@ type ObjectPool struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
diff --git a/proto/go/gitalypb/smarthttp.pb.go b/proto/go/gitalypb/smarthttp.pb.go
index 852f87a2c..b395d674f 100644
--- a/proto/go/gitalypb/smarthttp.pb.go
+++ b/proto/go/gitalypb/smarthttp.pb.go
@@ -27,6 +27,8 @@ type InfoRefsRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Parameters to use with git -c (key=value pairs)
GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"`
@@ -94,6 +96,8 @@ type InfoRefsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
@@ -384,9 +388,13 @@ type PostReceivePackRequest struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// gl_id, gl_repository, and gl_username become env variables, used by the Git {pre,post}-receive
// hooks. They should only be present in the first message of the stream.
- GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"`
+ GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"`
- GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"`
// Git protocol version
GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"`
// Parameters to use with git -c (key=value pairs)
diff --git a/proto/go/gitalypb/ssh.pb.go b/proto/go/gitalypb/ssh.pb.go
index b6f4c6007..2f3d0f11e 100644
--- a/proto/go/gitalypb/ssh.pb.go
+++ b/proto/go/gitalypb/ssh.pb.go
@@ -287,9 +287,13 @@ type SSHReceivePackRequest struct {
Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
// Contents of GL_ID, GL_REPOSITORY, and GL_USERNAME environment variables
// for 'git receive-pack'
- GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"`
+ GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"`
- GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"`
// Git protocol version
GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"`
// Parameters to use with git -c (key=value pairs)
diff --git a/proto/go/gitalypb/transaction.pb.go b/proto/go/gitalypb/transaction.pb.go
index 3927b7d6f..9e9140288 100644
--- a/proto/go/gitalypb/transaction.pb.go
+++ b/proto/go/gitalypb/transaction.pb.go
@@ -143,6 +143,8 @@ type VoteTransactionRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// ID of the transaction we're processing
TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
@@ -228,6 +230,8 @@ type VoteTransactionResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
State VoteTransactionResponse_TransactionState `protobuf:"varint,1,opt,name=state,proto3,enum=gitaly.VoteTransactionResponse_TransactionState" json:"state,omitempty"`
}
@@ -277,6 +281,8 @@ type StopTransactionRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// ID of the transaction we're processing
TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
diff --git a/proto/go/gitalypb/wiki.pb.go b/proto/go/gitalypb/wiki.pb.go
index 6ca1b4bc0..e76272b9d 100644
--- a/proto/go/gitalypb/wiki.pb.go
+++ b/proto/go/gitalypb/wiki.pb.go
@@ -131,10 +131,20 @@ type WikiCommitDetails struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
- Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
- UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
UserName []byte `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
}
@@ -212,8 +222,12 @@ type WikiPageVersion struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
- Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
}
func (x *WikiPageVersion) Reset() {
@@ -270,13 +284,25 @@ type WikiPage struct {
unknownFields protoimpl.UnknownFields
// These fields are only present in the first message of a WikiPage stream
- Version *WikiPageVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
- Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
- Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
- UrlPath string `protobuf:"bytes,4,opt,name=url_path,json=urlPath,proto3" json:"url_path,omitempty"`
- Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
- Name []byte `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- Historical bool `protobuf:"varint,7,opt,name=historical,proto3" json:"historical,omitempty"`
+ Version *WikiPageVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ UrlPath string `protobuf:"bytes,4,opt,name=url_path,json=urlPath,proto3" json:"url_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Historical bool `protobuf:"varint,7,opt,name=historical,proto3" json:"historical,omitempty"`
// This field is present in all messages of a WikiPage stream
RawData []byte `protobuf:"bytes,8,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
}
@@ -376,9 +402,15 @@ type WikiWritePageRequest struct {
unknownFields protoimpl.UnknownFields
// These following fields are only present in the first message.
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
CommitDetails *WikiCommitDetails `protobuf:"bytes,4,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"`
// This field is present in all messages.
Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
@@ -458,6 +490,8 @@ type WikiWritePageResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
DuplicateError []byte `protobuf:"bytes,1,opt,name=duplicate_error,json=duplicateError,proto3" json:"duplicate_error,omitempty"`
}
@@ -508,10 +542,18 @@ type WikiUpdatePageRequest struct {
unknownFields protoimpl.UnknownFields
// There fields are only present in the first message of the stream
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"`
- Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
- Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
CommitDetails *WikiCommitDetails `protobuf:"bytes,5,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"`
// This field is present in all messages
Content []byte `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
@@ -598,6 +640,8 @@ type WikiUpdatePageResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
@@ -647,10 +691,18 @@ type WikiFindPageRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
- Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
- Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"`
// prevents the content from being sent over the response
SkipContent bool `protobuf:"varint,5,opt,name=skip_content,json=skipContent,proto3" json:"skip_content,omitempty"`
}
@@ -729,6 +781,8 @@ type WikiFindPageResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
}
@@ -778,11 +832,17 @@ type WikiGetAllPagesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Passing 0 means no limit is applied
- Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
- DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"`
- Sort WikiGetAllPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiGetAllPagesRequest_SortBy" json:"sort,omitempty"`
+ Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Sort WikiGetAllPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiGetAllPagesRequest_SortBy" json:"sort,omitempty"`
}
func (x *WikiGetAllPagesRequest) Reset() {
@@ -851,6 +911,8 @@ type WikiGetAllPagesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
// When end_of_page is true it signals a change of page for the next Response message (if any)
EndOfPage bool `protobuf:"varint,2,opt,name=end_of_page,json=endOfPage,proto3" json:"end_of_page,omitempty"`
@@ -909,12 +971,20 @@ type WikiListPagesRequest struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Passing 0 means no limit is applied
- Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
- DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"`
- Sort WikiListPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiListPagesRequest_SortBy" json:"sort,omitempty"`
- Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
+ Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Sort WikiListPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiListPagesRequest_SortBy" json:"sort,omitempty"`
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
}
func (x *WikiListPagesRequest) Reset() {
@@ -990,6 +1060,8 @@ type WikiListPagesResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
}
diff --git a/proto/hook.proto b/proto/hook.proto
index 0ee1f0a14..1d83b6930 100644
--- a/proto/hook.proto
+++ b/proto/hook.proto
@@ -57,52 +57,96 @@ service HookService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message PreReceiveHookRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string environment_variables = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stdin = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string git_push_options = 5;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message PreReceiveHookResponse{
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stdout = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stderr = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus exit_status = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message PostReceiveHookRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string environment_variables = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stdin = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string git_push_options = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message PostReceiveHookResponse{
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stdout = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stderr = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus exit_status = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UpdateHookRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string environment_variables = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes ref = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string old_value = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string new_value = 5;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UpdateHookResponse{
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stdout = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stderr = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus exit_status = 3;
}
@@ -123,23 +167,39 @@ message ReferenceTransactionHookRequest {
ABORTED = 2;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string environment_variables = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stdin = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
State state = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ReferenceTransactionHookResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stdout = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes stderr = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ExitStatus exit_status = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message PackObjectsHookWithSidechannelRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// args contains the arguments passed to the pack-objects hook, without the leading "git"
repeated string args = 2;
diff --git a/proto/internal.proto b/proto/internal.proto
index a769e2b98..ee60d33ff 100644
--- a/proto/internal.proto
+++ b/proto/internal.proto
@@ -23,12 +23,16 @@ service InternalGitaly {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WalkReposRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string storage_name = 1 [(storage)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WalkReposResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string relative_path = 1;
// modification_time is the modification time of the repository directory.
// This can be used as a proxy for when the repository was last
diff --git a/proto/lint.proto b/proto/lint.proto
index 469822d1a..d64399f0c 100644
--- a/proto/lint.proto
+++ b/proto/lint.proto
@@ -40,7 +40,8 @@ message OperationMsg {
reserved "SERVER";
}
-
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Operation op = 1;
// Scope level indicates what level an RPC interacts with a server:
diff --git a/proto/namespace.proto b/proto/namespace.proto
index 8d1ed4d30..9a3595b89 100644
--- a/proto/namespace.proto
+++ b/proto/namespace.proto
@@ -52,35 +52,55 @@ service NamespaceService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message AddNamespaceRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string storage_name = 1 [(storage)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string name = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RemoveNamespaceRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string storage_name = 1 [(storage)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string name = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RenameNamespaceRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string storage_name = 1 [(storage)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string from = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string to = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message NamespaceExistsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string storage_name = 1 [(storage)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string name = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message NamespaceExistsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool exists = 1;
}
diff --git a/proto/objectpool.proto b/proto/objectpool.proto
index 207f2f90c..66cb7307e 100644
--- a/proto/objectpool.proto
+++ b/proto/objectpool.proto
@@ -73,7 +73,11 @@ service ObjectPoolService {
// Creates an object pool from the repository. The client is responsible for
// joining this pool later with this repository.
message CreateObjectPoolRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool object_pool = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository origin = 2 [(additional_repository)=true];
}
@@ -85,6 +89,8 @@ message CreateObjectPoolResponse {
// Removes the directory from disk, caller is responsible for leaving the object
// pool before calling this RPC
message DeleteObjectPoolRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool object_pool = 1 [(target_repository)=true];
}
@@ -96,7 +102,11 @@ message DeleteObjectPoolResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message LinkRepositoryToObjectPoolRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool object_pool = 1 [(additional_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 2 [(target_repository)=true];
}
@@ -108,6 +118,8 @@ message LinkRepositoryToObjectPoolResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ReduplicateRepositoryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -119,6 +131,8 @@ message ReduplicateRepositoryResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DisconnectGitAlternatesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -130,8 +144,14 @@ message DisconnectGitAlternatesResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FetchIntoObjectPoolRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository origin = 1 [(additional_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool object_pool = 2 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool repack = 3;
}
@@ -143,11 +163,15 @@ message FetchIntoObjectPoolResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetObjectPoolRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetObjectPoolResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
ObjectPool object_pool = 1;
}
diff --git a/proto/operations.proto b/proto/operations.proto
index ce9ab8ecc..025f99032 100644
--- a/proto/operations.proto
+++ b/proto/operations.proto
@@ -158,15 +158,25 @@ service OperationService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserCreateBranchRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes branch_name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
User user = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes start_point = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserCreateBranchResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branch branch = 1;
// Error returned by the pre-receive hook. If no error was thrown,
// it's the empty string ("")
@@ -176,44 +186,72 @@ message UserCreateBranchResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserUpdateBranchRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes branch_name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
User user = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes newrev = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes oldrev = 5;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserUpdateBranchResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string pre_receive_error = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserDeleteBranchRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes branch_name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
User user = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserDeleteBranchResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string pre_receive_error = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserDeleteTagRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes tag_name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
User user = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserDeleteTagResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string pre_receive_error = 1;
}
@@ -377,7 +415,11 @@ message UserFFBranchRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message UserFFBranchResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
OperationBranchUpdate branch_update = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string pre_receive_error = 2;
}
diff --git a/proto/praefect.proto b/proto/praefect.proto
index 71de859ec..828e33f53 100644
--- a/proto/praefect.proto
+++ b/proto/praefect.proto
@@ -146,8 +146,14 @@ message SetReplicationFactorResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message SetAuthoritativeStorageRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string virtual_storage = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string relative_path = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string authoritative_storage = 3;
}
@@ -159,6 +165,8 @@ message SetAuthoritativeStorageResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DatalossCheckRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string virtual_storage = 1;
// include_partially_unavailable indicates whether to include repositories which are available but
// are unavailable on some assigned storages.
@@ -204,6 +212,8 @@ message DatalossCheckResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RepositoryReplicasRequest{
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1;
}
@@ -213,10 +223,18 @@ message RepositoryReplicasResponse{
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RepositoryDetails {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string checksum = 2;
};
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
RepositoryDetails primary = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated RepositoryDetails replicas = 2;
}
diff --git a/proto/ref.proto b/proto/ref.proto
index d5c0742fd..65e7f52b8 100644
--- a/proto/ref.proto
+++ b/proto/ref.proto
@@ -166,36 +166,48 @@ service RefService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindDefaultBranchNameRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindDefaultBranchNameResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllBranchNamesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllBranchNamesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes names = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllTagNamesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllTagNamesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes names = 1;
}
@@ -216,7 +228,11 @@ message FindLocalBranchesRequest {
UPDATED_DESC = 2;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SortBy sort_by = 2;
// The page token is the branch name, with the `refs/heads/` prefix, for
// example "refs/heads/master". After the first branch name is encountered
@@ -228,32 +244,56 @@ message FindLocalBranchesRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindLocalBranchesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated FindLocalBranchResponse branches = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindLocalBranchResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string commit_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes commit_subject = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
FindLocalBranchCommitAuthor commit_author = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
FindLocalBranchCommitAuthor commit_committer = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitCommit commit = 6;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindLocalBranchCommitAuthor {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes email = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
google.protobuf.Timestamp date = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes timezone = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllBranchesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// Only return branches that are merged into root ref
bool merged_only = 2;
@@ -268,29 +308,41 @@ message FindAllBranchesResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message Branch {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitCommit target = 2;
}
+
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated Branch branches = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindTagRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes tag_name = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindTagResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Tag tag = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllTagsRequest {
- Repository repository = 1 [(target_repository)=true];
// SortBy allows to specify desired order of the elements.
message SortBy {
// Key is a key used for sorting.
@@ -303,13 +355,19 @@ message FindAllTagsRequest {
CREATORDATE = 1;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Key key = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SortDirection direction = 2;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
+ Repository repository = 1 [(target_repository)=true];
// SortBy allows to request tags in particular order.
SortBy sort_by = 2;
-
// The page token is the tags name, with the `refs/tags/` prefix, for
// example "refs/tags/v1.0.0". When the tag name matches the page token,
// the tag following it will be the first result send as part of the response.
@@ -319,12 +377,16 @@ message FindAllTagsRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllTagsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated Tag tags = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RefExistsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// Any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. Must start with 'refs/'.
bytes ref = 2;
@@ -333,14 +395,22 @@ message RefExistsRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RefExistsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool value = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateBranchRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes start_point = 3;
}
@@ -364,14 +434,22 @@ message CreateBranchResponse {
ERR_INVALID_START_POINT = 3;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Status status = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branch branch = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DeleteBranchRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 2;
}
@@ -392,30 +470,41 @@ message FindBranchRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindBranchResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Branch branch = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DeleteRefsRequest{
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// The following two fields are mutually exclusive
repeated bytes except_with_prefix = 2; // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes refs = 3;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message DeleteRefsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string git_error = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListBranchNamesContainingCommitRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string commit_id = 2;
-
// Limit the number of tag names to be returned
// If the limit is set to zero, all items will be returned
uint32 limit = 3;
@@ -425,15 +514,20 @@ message ListBranchNamesContainingCommitRequest {
// This comment is left unintentionally blank.
message ListBranchNamesContainingCommitResponse {
reserved 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes branch_names = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ListTagNamesContainingCommitRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string commit_id = 2;
-
// Limit the number of tag names to be returned
// If the limit is set to zero, all items will be returned
uint32 limit = 3;
@@ -443,6 +537,8 @@ message ListTagNamesContainingCommitRequest {
// This comment is left unintentionally blank.
message ListTagNamesContainingCommitResponse {
reserved 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes tag_names = 2;
}
@@ -483,7 +579,11 @@ message GetTagMessagesRequest {
reserved 2;
reserved "tag_names";
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string tag_ids = 3;
}
@@ -493,6 +593,8 @@ message GetTagMessagesResponse {
reserved 1;
reserved "tag_name";
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes message = 2;
// Only present for a new tag message
string tag_id = 3;
@@ -501,19 +603,27 @@ message GetTagMessagesResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllRemoteBranchesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string remote_name = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindAllRemoteBranchesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated Branch branches = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message PackRefsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/-/issues/3997
@@ -528,16 +638,6 @@ message PackRefsResponse{
// ListRefsRequest is a request for the ListRefs RPC.
message ListRefsRequest {
- // Repository is the repository in which references should be listed in.
- Repository repository = 1 [(target_repository)=true];
- // Patterns contains all patterns which shall be listed. Patterns should be in the format
- // accepted by git-for-each-ref(1). At least one pattern must be given, otherwise an error
- // is returned. Patterns which don't match any reference will be silently ignored.
- repeated bytes patterns = 2;
- // Head determines whether the RPC should also return the HEAD reference. By default,
- // pseudo-refs are not included in the response.
- bool head = 3;
-
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message SortBy {
@@ -560,9 +660,20 @@ message ListRefsRequest {
// Key is a key used for sorting.
Key key = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SortDirection direction = 2;
}
+ // Repository is the repository in which references should be listed in.
+ Repository repository = 1 [(target_repository)=true];
+ // Patterns contains all patterns which shall be listed. Patterns should be in the format
+ // accepted by git-for-each-ref(1). At least one pattern must be given, otherwise an error
+ // is returned. Patterns which don't match any reference will be silently ignored.
+ repeated bytes patterns = 2;
+ // Head determines whether the RPC should also return the HEAD reference. By default,
+ // pseudo-refs are not included in the response.
+ bool head = 3;
// SortBy allows to request SHAs in particular order.
SortBy sort_by = 4;
}
diff --git a/proto/remote.proto b/proto/remote.proto
index bb318c8d1..cf2c229ed 100644
--- a/proto/remote.proto
+++ b/proto/remote.proto
@@ -98,6 +98,8 @@ message UpdateRemoteMirrorResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindRemoteRepositoryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string remote = 1;
// This field is used to redirect request to proper storage where it can be handled.
// As of now it doesn't matter what storage will be used, but it still must be a valid.
@@ -108,6 +110,8 @@ message FindRemoteRepositoryRequest {
// This migth throw a GRPC Unavailable code, to signal the request failure
// is transient.
message FindRemoteRepositoryResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool exists = 1;
}
diff --git a/proto/repository.proto b/proto/repository.proto
index b08f9e16b..0147e0eea 100644
--- a/proto/repository.proto
+++ b/proto/repository.proto
@@ -358,18 +358,24 @@ service RepositoryService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RepositoryExistsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RepositoryExistsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool exists = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RepackIncrementalRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -381,7 +387,11 @@ message RepackIncrementalResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RepackFullRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool create_bitmap = 2;
}
@@ -393,6 +403,8 @@ message RepackFullResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message MidxRepackRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -404,7 +416,11 @@ message MidxRepackResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GarbageCollectRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool create_bitmap = 2;
// If set to 'true' the 'gc' will be triggered with '--prune=30.minutes.ago' flag.
// This will remove dangling objects from the object storage that were not modified in the last 30 minutes.
@@ -431,6 +447,8 @@ message WriteCommitGraphRequest {
SizeMultiple = 0; // protolint:disable:this ENUM_FIELD_NAMES_UPPER_SNAKE_CASE
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// SplitStrategy is a strategy used to create/update commit graph.
SplitStrategy splitStrategy = 2; // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE
@@ -444,6 +462,8 @@ message WriteCommitGraphResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CleanupRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -455,6 +475,8 @@ message CleanupResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RepositorySizeRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -468,7 +490,11 @@ message RepositorySizeResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ApplyGitattributesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 2;
}
@@ -498,6 +524,8 @@ message FetchBundleResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FetchRemoteRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// force determines if references should be force-updated in case they have
// diverged.
@@ -506,7 +534,11 @@ message FetchRemoteRequest {
bool no_tags = 4;
// timeout specifies a timeout for the fetch.
int32 timeout = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string ssh_key = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string known_hosts = 7;
reserved 8;
// no_prune will the fetch to not prune remote references which do not exist
@@ -536,6 +568,8 @@ message FetchRemoteResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateRepositoryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// Provide a branch name to set as the default branch of a newly created
// repository. Note, this will be treated as the branch name and not a
@@ -568,11 +602,23 @@ message GetArchiveRequest {
TAR_BZ2 = 3;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string commit_id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string prefix = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Format format = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes exclude = 6; // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
// If `elide_path` is true and `path` refers to a subdirectory, that
// subdirectory will be elided from archive entries. For example, if `dir`
@@ -581,24 +627,32 @@ message GetArchiveRequest {
// `README.md`. `elide_path` has no effect if `path` refers to the repository
// root. `elide_path = true` is not supported if `path` refers to a file.
bool elide_path = 7;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool include_lfs_blobs = 8;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetArchiveResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message HasLocalBranchesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message HasLocalBranchesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool value = 1;
}
@@ -629,22 +683,36 @@ message FetchSourceBranchResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FsckRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FsckResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes error = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WriteRefRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes ref = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes old_revision = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool force = 5;
// This used to be a boolean indicating whether or not to shell out or use
// the rugged implementation
@@ -662,6 +730,8 @@ message WriteRefResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindMergeBaseRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// We use a repeated field because rugged supports finding a base
// for more than 2 revisions, so if we needed that in the future we don't
@@ -672,13 +742,19 @@ message FindMergeBaseRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindMergeBaseResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string base = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateForkRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository source_repository = 2;
}
@@ -690,7 +766,11 @@ message CreateForkResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateRepositoryFromURLRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string url = 2;
// HttpHost is the hostname of the remote repository. Use this when the
// URL hostname has already been resolved to an IP address to prevent DNS
@@ -715,12 +795,16 @@ message CreateRepositoryFromURLResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateBundleRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateBundleResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
@@ -739,6 +823,8 @@ message CreateBundleFromRefListRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateBundleFromRefListResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
@@ -758,7 +844,11 @@ message GetConfigResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RestoreCustomHooksRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 2;
}
@@ -770,12 +860,16 @@ message RestoreCustomHooksResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message BackupCustomHooksRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message BackupCustomHooksResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
@@ -784,6 +878,8 @@ message BackupCustomHooksResponse {
message CreateRepositoryFromBundleRequest {
// Only available on the first message
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 2;
}
@@ -795,56 +891,78 @@ message CreateRepositoryFromBundleResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindLicenseRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message FindLicenseResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string license_short_name = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetInfoAttributesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetInfoAttributesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes attributes = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CalculateChecksumRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CalculateChecksumResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string checksum = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetSnapshotRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetSnapshotResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CreateRepositoryFromSnapshotRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string http_url = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string http_auth = 3;
// HttpHost is the hostname of the remote snapshot. Use this when the
// URL hostname has already been resolved to an IP address to prevent DNS
@@ -860,8 +978,14 @@ message CreateRepositoryFromSnapshotResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetRawChangesRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string from_revision = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string to_revision = 3;
}
@@ -897,7 +1021,11 @@ message GetRawChangesResponse {
TYPE_CHANGED = 6;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string blob_id = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int64 size= 2;
// This used to be a string that is now represented by the field 9 as byte array.
@@ -907,24 +1035,42 @@ message GetRawChangesResponse {
reserved 4;
reserved "old_path";
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Operation operation= 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string raw_operation = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 old_mode = 7;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 new_mode = 8;
// the following fields, 9 and 10, will eventually replace 3 and 4
bytes new_path_bytes = 9;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes old_path_bytes = 10;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated RawChange raw_changes = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message SearchFilesByNameRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string query = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes ref = 3;
// If `filter` is specified and non-empty, it will be parsed as a regular
// expression and used to filter the result set before it is transmitted. It is
@@ -937,23 +1083,39 @@ message SearchFilesByNameRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message SearchFilesByNameResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes files = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message SearchFilesByContentRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string query = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes ref = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool chunked_response = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message SearchFilesByContentResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated bytes matches = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes match_data = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool end_of_match = 3;
}
@@ -994,6 +1156,8 @@ message Remote {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message GetObjectDirectorySizeRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -1007,6 +1171,8 @@ message GetObjectDirectorySizeResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RemoveRepositoryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -1018,7 +1184,11 @@ message RemoveRepositoryResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message RenameRepositoryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string relative_path = 2;
}
@@ -1030,7 +1200,11 @@ message RenameRepositoryResponse{
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ReplicateRepositoryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository source = 2;
}
@@ -1042,6 +1216,8 @@ message ReplicateRepositoryResponse{
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message OptimizeRepositoryRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
@@ -1053,6 +1229,8 @@ message OptimizeRepositoryResponse{
// PruneUnreachableObjectsRequest is a request for the PruneUnreachableObjects
// RPC call.
message PruneUnreachableObjectsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
}
diff --git a/proto/server.proto b/proto/server.proto
index 760439c13..28823d8c3 100644
--- a/proto/server.proto
+++ b/proto/server.proto
@@ -35,16 +35,34 @@ message ServerInfoResponse {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message StorageStatus {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string storage_name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool readable = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool writeable = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string fs_type = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string filesystem_id = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
uint32 replication_factor = 6;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string server_version = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string git_version = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated StorageStatus storage_statuses = 3;
}
@@ -62,10 +80,16 @@ message DiskStatisticsResponse {
// When both available and used fields are equal 0 that means that
// Gitaly was unable to determine storage stats.
string storage_name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int64 available = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int64 used = 3;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated StorageStatus storage_statuses = 1;
}
diff --git a/proto/shared.proto b/proto/shared.proto
index b07620f37..8aef6ba1e 100644
--- a/proto/shared.proto
+++ b/proto/shared.proto
@@ -52,7 +52,11 @@ message Repository {
reserved 1;
reserved "path";
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string storage_name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string relative_path = 3;
// Sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field.
// It influences the object storage directory the SHA1 directories are created underneath.
@@ -84,18 +88,31 @@ message CommitTrailer {
// Corresponds to Gitlab::Git::Commit
message GitCommit {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string id = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes subject = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes body = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
CommitAuthor author = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
CommitAuthor committer = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
repeated string parent_ids = 6;
// If body exceeds a certain threshold, it will be nullified,
// but its size will be set in body_size so we can know if
// a commit had a body in the first place.
int64 body_size = 7;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SignatureType signature_type = 8;
-
// The tree ID will always be filled, even if the tree is empty. In that case
// the value will be `4b825dc642cb6eb9a060e54bf8d69288fbee4904`.
// That value is equivalent to `git hash-object -t tree /dev/null`
@@ -110,45 +127,79 @@ message GitCommit {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message CommitAuthor {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes email = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
google.protobuf.Timestamp date = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes timezone = 4;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ExitStatus {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 value = 1;
}
// Corresponds to Gitlab::Git::Branch
message Branch {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitCommit target_commit = 2;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message Tag {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string id = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitCommit target_commit = 3;
// If message exceeds a certain threshold, it will be nullified,
// but its size will be set in message_size so we can know if
// a tag had a message in the first place.
bytes message = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int64 message_size = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
CommitAuthor tagger = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SignatureType signature_type = 7;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message User {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string gl_id = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes email = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string gl_username = 4;
// Timezone is the timezone as configured by the user in the web interface. This
// timezone may be used when new commits are created via RPC calls.
@@ -158,6 +209,8 @@ message User {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message ObjectPool {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(gitaly.repository)=true];
}
diff --git a/proto/smarthttp.proto b/proto/smarthttp.proto
index 2264be53a..94205f279 100644
--- a/proto/smarthttp.proto
+++ b/proto/smarthttp.proto
@@ -53,6 +53,8 @@ service SmartHTTPService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message InfoRefsRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// Parameters to use with git -c (key=value pairs)
repeated string git_config_options = 2;
@@ -64,6 +66,8 @@ message InfoRefsRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message InfoRefsResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes data = 1;
}
@@ -114,7 +118,11 @@ message PostReceivePackRequest {
// gl_id, gl_repository, and gl_username become env variables, used by the Git {pre,post}-receive
// hooks. They should only be present in the first message of the stream.
string gl_id = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string gl_repository = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string gl_username = 5;
// Git protocol version
string git_protocol = 6;
diff --git a/proto/ssh.proto b/proto/ssh.proto
index 71777b139..a473f28e7 100644
--- a/proto/ssh.proto
+++ b/proto/ssh.proto
@@ -94,12 +94,14 @@ message SSHReceivePackRequest {
// Contents of GL_ID, GL_REPOSITORY, and GL_USERNAME environment variables
// for 'git receive-pack'
string gl_id = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string gl_repository = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string gl_username = 5;
-
// Git protocol version
string git_protocol = 6;
-
// Parameters to use with git -c (key=value pairs)
repeated string git_config_options = 7;
}
diff --git a/proto/transaction.proto b/proto/transaction.proto
index f6f7a12c5..f254edb8c 100644
--- a/proto/transaction.proto
+++ b/proto/transaction.proto
@@ -61,6 +61,8 @@ message VoteTransactionRequest {
COMMITTED_PHASE = 2;
};
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1[(target_repository)=true];
// ID of the transaction we're processing
uint64 transaction_id = 2;
@@ -89,12 +91,16 @@ message VoteTransactionResponse {
STOP = 2;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
TransactionState state = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message StopTransactionRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1[(target_repository)=true];
// ID of the transaction we're processing
uint64 transaction_id = 2;
diff --git a/proto/wiki.proto b/proto/wiki.proto
index 1d80249c0..d7a0556fa 100644
--- a/proto/wiki.proto
+++ b/proto/wiki.proto
@@ -56,17 +56,31 @@ service WikiService {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WikiCommitDetails {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes email = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes message = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
int32 user_id = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes user_name = 5;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WikiPageVersion {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
GitCommit commit = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string format = 2;
}
@@ -75,13 +89,24 @@ message WikiPageVersion {
message WikiPage {
// These fields are only present in the first message of a WikiPage stream
WikiPageVersion version = 1;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string format = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes title = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string url_path = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes path = 5;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 6;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool historical = 7;
-
// This field is present in all messages of a WikiPage stream
bytes raw_data = 8;
}
@@ -90,8 +115,14 @@ message WikiPage {
message WikiWritePageRequest {
// These following fields are only present in the first message.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes name = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string format = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
WikiCommitDetails commit_details = 4;
// This field is present in all messages.
bytes content = 5;
@@ -100,6 +131,8 @@ message WikiWritePageRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WikiWritePageResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes duplicate_error = 1;
}
@@ -108,11 +141,18 @@ message WikiWritePageResponse {
message WikiUpdatePageRequest {
// There fields are only present in the first message of the stream
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes page_path = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes title = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
string format = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
WikiCommitDetails commit_details = 5;
-
// This field is present in all messages
bytes content = 6;
}
@@ -120,15 +160,25 @@ message WikiUpdatePageRequest {
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WikiUpdatePageResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes error = 1;
}
// protolint:disable:this MESSAGES_HAVE_COMMENT
// This comment is left unintentionally blank.
message WikiFindPageRequest {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes title = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes revision = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bytes directory = 4;
// prevents the content from being sent over the response
bool skip_content = 5;
@@ -137,6 +187,8 @@ message WikiFindPageRequest {
// WikiFindPageResponse is a stream because we need multiple WikiPage
// messages to send the raw_data field.
message WikiFindPageResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
WikiPage page = 1;
}
@@ -154,15 +206,23 @@ message WikiGetAllPagesRequest {
CREATED_AT = 1;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// Passing 0 means no limit is applied
uint32 limit = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool direction_desc = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SortBy sort = 4;
}
// The WikiGetAllPagesResponse stream is a concatenation of WikiPage streams
message WikiGetAllPagesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
WikiPage page = 1;
// When end_of_page is true it signals a change of page for the next Response message (if any)
bool end_of_page = 2;
@@ -182,15 +242,25 @@ message WikiListPagesRequest {
CREATED_AT = 1;
}
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
Repository repository = 1 [(target_repository)=true];
// Passing 0 means no limit is applied
uint32 limit = 2;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
bool direction_desc = 3;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
SortBy sort = 4;
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
uint32 offset = 5;
}
// The WikiListPagesResponse stream is a concatenation of WikiPage streams without content
message WikiListPagesResponse {
+ // protolint:disable:this FIELDS_HAVE_COMMENT
+ // This comment is left unintentionally blank.
WikiPage page = 1;
}