Codebase list golang-gitaly-proto / 6b5d3e7
New upstream version 1.22.0+dfsg Pirate Praveen 5 years ago
11 changed file(s) with 59 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
55 /*.gem
66 public
77 .ruby-bundle
8 .go/
00 image: golang:1.11
1
2 cache:
3 paths:
4 - .go/pkg/mod/
5
6 variables:
7 GOPATH: $CI_PROJECT_DIR/.go
18
29 before_script:
310 - apt-get update -qq
411 - apt-get install -qq -y rubygems bundler unzip
12 - mkdir -p .go
13
14 cache:
15 key: go-mod-cache
16 paths:
17 - ${GOPATH}/pkg/mod
518
619 test:
720 script:
2841 danger-review:
2942 image: registry.gitlab.com/gitlab-org/gitlab-build-images:danger
3043 before_script: []
44 cache: {}
3145 only:
3246 - branches@gitlab-org/gitaly-proto
3347 except:
5555
5656 .ruby-bundle: $(TARGET_SETUP) _support/Gemfile.lock
5757 bundle install --gemfile=_support/Gemfile --binstubs=$(BIN_BUILD_DIR)
58 touch $@
58 touch $@
5959
6060 $(PROTOC_GEN_GO): $(TARGET_SETUP)
6161 cd go/internal; go build -o $@ github.com/golang/protobuf/protoc-gen-go
0 1.19.0
0 1.22.0
1616 changes = capture!(%w[git status --porcelain]).chomp.lines
1717 # _support/Gemfile.lock might change due to the CI Bundler version. Ignore all of _support.
1818 changes = changes.reject { |l| l =~ /^.. _support/ }
19
1920 if changes.any?
21 puts changes
2022 run!(%w[git diff])
2123 abort 'error: detected changes'
2224 end
298298 string revision = 2;
299299 bytes path = 3;
300300
301 // limit == -1 will get the last commit for all paths
301 // limit == -1 will get the last commit for all paths
302302 int32 limit = 4;
303303 int32 offset = 5;
304304 }
310310 reserved 1;
311311
312312 GitCommit commit = 2;
313 string path = 3;
313 string path = 3 [deprecated = true];
314 bytes path_bytes = 4;
314315 }
315316 repeated CommitForTree commits = 1;
316317 }
0 1.19.0
0 1.22.0
3333 rpc ListNewCommits(ListNewCommitsRequest) returns (stream ListNewCommitsResponse) {}
3434
3535 rpc ListNewBlobs(ListNewBlobsRequest) returns (stream ListNewBlobsResponse) {}
36 rpc PackRefs(PackRefsRequest) returns (PackRefsResponse) {}
3637 }
3738
3839 message ListNewBlobsRequest {
290291 message FindAllRemoteBranchesResponse {
291292 repeated Branch branches = 1;
292293 }
294
295 message PackRefsRequest {
296 option (op_type).op = MUTATOR;
297
298 Repository repository = 1;
299 bool all_refs = 2;
300 }
301
302 message PackRefsResponse{}
121121 string known_hosts = 7;
122122 reserved 8;
123123 bool no_prune = 9;
124 Remote remote_params = 10;
124125 }
125126
126127 message FetchRemoteResponse {}
460461 string url = 1;
461462 string name = 2;
462463 string http_authorization_header = 3;
464 repeated string mirror_refmaps = 4;
463465 }
464466
465467 message FetchHTTPRemoteRequest {
00 # This file was auto-generated by _support/release
11 module Gitaly
2 VERSION = "1.19.0"
2 VERSION = "1.22.0"
33 end
1414 rpc WikiFindPage(WikiFindPageRequest) returns (stream WikiFindPageResponse) {}
1515 rpc WikiFindFile(WikiFindFileRequest) returns (stream WikiFindFileResponse) {}
1616 rpc WikiGetAllPages(WikiGetAllPagesRequest) returns (stream WikiGetAllPagesResponse) {}
17 rpc WikiListPages(WikiListPagesRequest) returns (stream WikiListPagesResponse) {}
1718 rpc WikiGetFormattedData(WikiGetFormattedDataRequest) returns (stream WikiGetFormattedDataResponse) {}
1819 }
1920
169170 message WikiGetFormattedDataResponse {
170171 bytes data = 1;
171172 }
173
174 message WikiListPagesRequest {
175 option (op_type).op = ACCESSOR;
176
177 Repository repository = 1;
178 // Passing 0 means no limit is applied
179 uint32 limit = 2;
180 bool direction_desc = 3;
181
182 enum SortBy {
183 TITLE = 0;
184 CREATED_AT = 1;
185 }
186 SortBy sort = 4;
187
188 uint32 offset = 5;
189 }
190
191 // The WikiListPagesResponse stream is a concatenation of WikiPage streams without content
192 message WikiListPagesResponse {
193 WikiPage page = 1;
194 }