|
Update APIs to use new Google cloud paths.
Fixes #24.
Because the new cloud APIs also import the Google descriptor protobuf,
we now have a "protobuf" package conflict, with our Descriptor protobuf
conflicting with the one imported by the cloud framework. Since they don't
vendor their protobuf package, we cede our descriptor (re)definition and
rework "common/proto/google/descriptor" to be a set of utility functions
("descutil") that operate on the external protobufs. This involved a few
rewrites, but nothing major or breaking.
BUG=None
TEST=None
Committed: https://github.com/luci/luci-go/commit/fa4e50dfe3dfdbfeb21a2a5af53a8b39d7473e60
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+7638 lines, -10756 lines) |
Patch |
 |
M |
appengine/cmd/milo/resp/status_string.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
client/flagpb/resolver.go
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
client/flagpb/unmarshal.go
|
View
|
|
8 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
 |
M |
client/flagpb/unmarshal_test.go
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
common/api/buildbucket/buildbucket/v1/buildbucket-api.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
common/api/luci_config/config/v1/config-gen.go
|
View
|
|
18 chunks |
+81 lines, -81 lines |
0 comments
|
Download
|
 |
M |
common/api/swarming/swarming/v1/swarming-api.json
|
View
|
|
3 chunks |
+57 lines, -1 line |
0 comments
|
Download
|
 |
M |
common/api/swarming/swarming/v1/swarming-gen.go
|
View
|
|
41 chunks |
+338 lines, -161 lines |
0 comments
|
Download
|
 |
M |
common/auth/auth.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
common/auth/internal/gce.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
common/cloudlogging/client.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
common/gcloud/gs/gs.go
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
common/gcloud/gs/writer.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
common/gcloud/pubsub/quota.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
common/gcloud/pubsub/scopes.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/descriptor.proto
|
View
|
|
1 chunk |
+0 lines, -779 lines |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/descriptor.pb.go
|
View
|
|
1 chunk |
+0 lines, -1976 lines |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/doc.go
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/generate.go
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/util.go
|
View
|
|
1 chunk |
+0 lines, -285 lines |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/util_test.desc
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/util_test.go
|
View
|
|
1 chunk |
+0 lines, -72 lines |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/util_test.proto
|
View
|
|
1 chunk |
+0 lines, -82 lines |
0 comments
|
Download
|
 |
D |
common/proto/google/descriptor/util_test.pb_test.go
|
View
|
|
1 chunk |
+0 lines, -576 lines |
0 comments
|
Download
|
 |
A + |
common/proto/google/descutil/doc.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
common/proto/google/descutil/generate.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
common/proto/google/descutil/tags.go
|
View
|
|
1 chunk |
+91 lines, -0 lines |
3 comments
|
Download
|
 |
A |
common/proto/google/descutil/util.go
|
View
|
|
1 chunk |
+251 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
common/proto/google/descutil/util_test.desc
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A + |
common/proto/google/descutil/util_test.go
|
View
|
|
3 chunks |
+25 lines, -24 lines |
0 comments
|
Download
|
 |
A + |
common/proto/google/descutil/util_test.proto
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
common/proto/google/descutil/util_test.pb_test.go
|
View
|
|
22 chunks |
+73 lines, -55 lines |
0 comments
|
Download
|
 |
M |
common/tsmon/monitor/pubsub.go
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
dm/api/service/v1/pb.discovery.go
|
View
|
|
2 chunks |
+1835 lines, -1828 lines |
0 comments
|
Download
|
 |
M |
examples/appengine/helloworld_standard/proto/pb.discovery.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/cmd/cproto/discovery.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
grpc/cmd/cproto/main.go
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
grpc/cmd/cproto/testdata/helloworld/pb.discovery.golden
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/cmd/cproto/testdata/importGoogle/test.pb.golden
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/cmd/cproto/testdata/twoFiles/pb.discovery.golden
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/cmd/rpc/descriptor.go
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
grpc/cmd/rpc/printer.go
|
View
|
|
9 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
grpc/cmd/rpc/printer_test.go
|
View
|
|
5 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
grpc/cmd/rpc/show.go
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
grpc/discovery/discovery.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/discovery/internal/testservices/discovery_test.go
|
View
|
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
grpc/discovery/internal/testservices/pb.discovery.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/discovery/pb.discovery.go
|
View
|
|
2 chunks |
+1285 lines, -1234 lines |
0 comments
|
Download
|
 |
M |
grpc/discovery/registry.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/discovery/service.pb.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/prpc/talk/buildbot/proto/pb.discovery.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
grpc/prpc/talk/helloworld/proto/pb.discovery.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
logdog/api/endpoints/coordinator/admin/v1/pb.discovery.go
|
View
|
|
2 chunks |
+175 lines, -171 lines |
0 comments
|
Download
|
 |
M |
logdog/api/endpoints/coordinator/logs/v1/pb.discovery.go
|
View
|
|
2 chunks |
+1016 lines, -1010 lines |
0 comments
|
Download
|
 |
M |
logdog/api/endpoints/coordinator/registration/v1/pb.discovery.go
|
View
|
|
2 chunks |
+245 lines, -241 lines |
0 comments
|
Download
|
 |
M |
logdog/api/endpoints/coordinator/services/v1/pb.discovery.go
|
View
|
|
2 chunks |
+577 lines, -569 lines |
0 comments
|
Download
|
 |
M |
logdog/appengine/coordinator/archivalPublisher.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
logdog/appengine/coordinator/service.go
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
logdog/client/butler/output/logdog/output.go
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
logdog/client/butler/output/pubsub/pubsubOutput.go
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
logdog/client/butler/output/pubsub/pubsubOutput_test.go
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
logdog/common/storage/bigtable/bigtable.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
logdog/common/storage/bigtable/bigtable_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
logdog/common/storage/bigtable/initialize.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
logdog/common/storage/bigtable/storage.go
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
logdog/server/cmd/logdog_archivist/main.go
|
View
|
|
3 chunks |
+5 lines, -12 lines |
0 comments
|
Download
|
 |
M |
logdog/server/cmd/logdog_archivist/task.go
|
View
|
|
3 chunks |
+4 lines, -31 lines |
1 comment
|
Download
|
 |
M |
logdog/server/cmd/logdog_collector/main.go
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
logdog/server/service/service.go
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
server/static/rpcexplorer/test/gen.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tokenserver/api/admin/v1/pb.discovery.go
|
View
|
|
2 chunks |
+589 lines, -584 lines |
0 comments
|
Download
|
 |
M |
tokenserver/api/identity/v1/pb.discovery.go
|
View
|
|
2 chunks |
+184 lines, -180 lines |
0 comments
|
Download
|
 |
M |
tokenserver/api/minter/v1/pb.discovery.go
|
View
|
|
2 chunks |
+680 lines, -676 lines |
0 comments
|
Download
|
 |
M |
web/inc/rpcexplorer/test/gen.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 15 (4 generated)
|