commit | b8cad5d99520a59747590cc8fff023d0546a3868 | [log] [tgz] |
---|---|---|
author | Kirtika Ruchandani <kirtika@google.com> | Wed Feb 19 18:47:03 2020 |
committer | Sean Abraham <seanabraham@chromium.org> | Thu Feb 27 16:46:38 2020 |
tree | b8e888eb3aee8ac8762b37b1eacdf66ae925130b | |
parent | b3b8d7dd3bb0c988fcb31389502b36f69f173aaf [diff] |
skylab_inventory: Update OWNERS Remove owner no longer on the team. BUG=None TEST=None Change-Id: I8f562934f124e2d15a3c382135f626dffd19deae Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/skylab_inventory/+/2064808 Reviewed-by: Sean Abraham <seanabraham@chromium.org> Reviewed-by: Xinan Lin <linxinan@chromium.org> Commit-Queue: Kirtika Ruchandani <kirtika@chromium.org> Tested-by: Kirtika Ruchandani <kirtika@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