OLD | NEW |
1 This directory contains CQ client library to be distributed to other repos. If | 1 This directory contains CQ client library to be distributed to other repos. If |
2 you need to modify some files in this directory, please make sure that you are | 2 you need to modify some files in this directory, please make sure that you are |
3 changing the canonical version of the source code and not one of the copies, | 3 changing the canonical version of the source code and not one of the copies, |
4 which should only be updated as a whole using Glyco (when available, see | 4 which should only be updated as a whole using Glyco (when available, see |
5 http://crbug.com/489420). | 5 [chromium issue 489420](http://crbug.com/489420)). |
6 | 6 |
7 The canonical version is located at `https://chrome-internal.googlesource.com/ | 7 The canonical version is located at `https://chrome-internal.googlesource.com/ |
8 infra/infra_internal/+/master/commit_queue/cq_client`. | 8 infra/infra_internal/+/master/commit_queue/cq_client`. |
9 | 9 |
10 To generate `cq_pb2.py`, please use protoc version 2.6.1: | 10 To generate `cq_pb2.py` and `cq.pb.go`, please use protoc version 2.6.1: |
11 | 11 |
12 cd commit_queue/cq_client | 12 cd commit_queue/cq_client |
13 protoc cq.proto --python_out $(pwd) | 13 protoc cq.proto --python_out $(pwd) --go_out $(pwd) |
14 | 14 |
15 Additionally, please make sure to use proto3-compatible syntax, e.g. no default | 15 Additionally, please make sure to use proto3-compatible syntax, e.g. no default |
16 values, no required fields. Ideally, we should use proto3 generator already, | 16 values, no required fields. Ideally, we should use proto3 generator already, |
17 however alpha version thereof is still unstable. | 17 however alpha version thereof is still unstable. |
OLD | NEW |