New upstream version 1.22.0+dfsg
Pirate Praveen
5 years ago
5 | 5 |
/*.gem
|
6 | 6 |
public
|
7 | 7 |
.ruby-bundle
|
|
8 |
.go/
|
0 | 0 |
image: golang:1.11
|
|
1 |
|
|
2 |
cache:
|
|
3 |
paths:
|
|
4 |
- .go/pkg/mod/
|
|
5 |
|
|
6 |
variables:
|
|
7 |
GOPATH: $CI_PROJECT_DIR/.go
|
1 | 8 |
|
2 | 9 |
before_script:
|
3 | 10 |
- apt-get update -qq
|
4 | 11 |
- 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
|
5 | 18 |
|
6 | 19 |
test:
|
7 | 20 |
script:
|
|
28 | 41 |
danger-review:
|
29 | 42 |
image: registry.gitlab.com/gitlab-org/gitlab-build-images:danger
|
30 | 43 |
before_script: []
|
|
44 |
cache: {}
|
31 | 45 |
only:
|
32 | 46 |
- branches@gitlab-org/gitaly-proto
|
33 | 47 |
except:
|
55 | 55 |
|
56 | 56 |
.ruby-bundle: $(TARGET_SETUP) _support/Gemfile.lock
|
57 | 57 |
bundle install --gemfile=_support/Gemfile --binstubs=$(BIN_BUILD_DIR)
|
58 | |
touch $@
|
|
58 |
touch $@
|
59 | 59 |
|
60 | 60 |
$(PROTOC_GEN_GO): $(TARGET_SETUP)
|
61 | 61 |
cd go/internal; go build -o $@ github.com/golang/protobuf/protoc-gen-go
|
16 | 16 |
changes = capture!(%w[git status --porcelain]).chomp.lines
|
17 | 17 |
# _support/Gemfile.lock might change due to the CI Bundler version. Ignore all of _support.
|
18 | 18 |
changes = changes.reject { |l| l =~ /^.. _support/ }
|
|
19 |
|
19 | 20 |
if changes.any?
|
|
21 |
puts changes
|
20 | 22 |
run!(%w[git diff])
|
21 | 23 |
abort 'error: detected changes'
|
22 | 24 |
end
|
298 | 298 |
string revision = 2;
|
299 | 299 |
bytes path = 3;
|
300 | 300 |
|
301 | |
// limit == -1 will get the last commit for all paths
|
|
301 |
// limit == -1 will get the last commit for all paths
|
302 | 302 |
int32 limit = 4;
|
303 | 303 |
int32 offset = 5;
|
304 | 304 |
}
|
|
310 | 310 |
reserved 1;
|
311 | 311 |
|
312 | 312 |
GitCommit commit = 2;
|
313 | |
string path = 3;
|
|
313 |
string path = 3 [deprecated = true];
|
|
314 |
bytes path_bytes = 4;
|
314 | 315 |
}
|
315 | 316 |
repeated CommitForTree commits = 1;
|
316 | 317 |
}
|
33 | 33 |
rpc ListNewCommits(ListNewCommitsRequest) returns (stream ListNewCommitsResponse) {}
|
34 | 34 |
|
35 | 35 |
rpc ListNewBlobs(ListNewBlobsRequest) returns (stream ListNewBlobsResponse) {}
|
|
36 |
rpc PackRefs(PackRefsRequest) returns (PackRefsResponse) {}
|
36 | 37 |
}
|
37 | 38 |
|
38 | 39 |
message ListNewBlobsRequest {
|
|
290 | 291 |
message FindAllRemoteBranchesResponse {
|
291 | 292 |
repeated Branch branches = 1;
|
292 | 293 |
}
|
|
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{}
|
0 | 0 |
# This file was auto-generated by _support/release
|
1 | 1 |
module Gitaly
|
2 | |
VERSION = "1.19.0"
|
|
2 |
VERSION = "1.22.0"
|
3 | 3 |
end
|
14 | 14 |
rpc WikiFindPage(WikiFindPageRequest) returns (stream WikiFindPageResponse) {}
|
15 | 15 |
rpc WikiFindFile(WikiFindFileRequest) returns (stream WikiFindFileResponse) {}
|
16 | 16 |
rpc WikiGetAllPages(WikiGetAllPagesRequest) returns (stream WikiGetAllPagesResponse) {}
|
|
17 |
rpc WikiListPages(WikiListPagesRequest) returns (stream WikiListPagesResponse) {}
|
17 | 18 |
rpc WikiGetFormattedData(WikiGetFormattedDataRequest) returns (stream WikiGetFormattedDataResponse) {}
|
18 | 19 |
}
|
19 | 20 |
|
|
169 | 170 |
message WikiGetFormattedDataResponse {
|
170 | 171 |
bytes data = 1;
|
171 | 172 |
}
|
|
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 |
}
|