commit | b3b8d7dd3bb0c988fcb31389502b36f69f173aaf | [log] [tgz] |
---|---|---|
author | Ross Zwisler <zwisler@google.com> | Fri Jan 17 17:06:40 2020 |
committer | Sean Abraham <seanabraham@chromium.org> | Tue Jan 21 21:58:19 2020 |
tree | 4194f5fecef78c27d3232ab48407d11f72ecd6ab | |
parent | e14ccea7aff5ff5fae6b4063e901dcc2e5eedd85 [diff] |
drop COMMIT-QUEUE.ini Nothing reads this file anymore. BUG=chromium:1025955 TEST=CQ passes Exempt-From-Owner-Approval: cleanup removing unused file Change-Id: I26fea71aae120b294f184b0c1d483ddb22b241b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/skylab_inventory/+/2007332 Tested-by: Ross Zwisler <zwisler@google.com> Auto-Submit: Ross Zwisler <zwisler@google.com> Reviewed-by: Sean Abraham <seanabraham@chromium.org> Commit-Queue: Sean Abraham <seanabraham@chromium.org>
Inventory schema is stored as protobuf definitions in the proto/ directory. When you update these protobuf definitions, you must also update the generated python libraries for them.
You need the protoc compiler for this. On gLinux:
sudo apt-get install protobuf-compiler go get github.com/golang/protobuf/protoc-gen-go
Then, regenerate the libraries inside the chroot:
cros_sdk (cr) cd ~/trunk/infra/skylab_inventory/protos (cr) protoc --python_out=../venv/skylab_inventory/protos/ *.proto (cr) protoc --go_out=../go/src/chromiumos/infra/skylab/inventory/protos/ *.proto