commit | 6d580b00fecf77a916e06a512d0635bae0582cac | [log] [tgz] |
---|---|---|
author | Prathmesh Prabhu <pprabhu@chromium.org> | Wed Aug 15 00:15:03 2018 |
committer | Prathmesh Prabhu <pprabhu@chromium.org> | Wed Aug 15 18:19:49 2018 |
tree | 4289573a50f68fa6f9248b72c437bbd8f9a65120 | |
parent | 8ef814acef88f887eddf84a1afb8cd1fb98a6a88 [diff] |
upsync: Delete support for exporting server_db server_db information has been in the downsync mode for months now. The upsync path is no longer needed. BUG=chromium:848528 TEST=manually run upsync Change-Id: I5012624e3583a4e60e7cd800a9e9c09d597715e3 Reviewed-on: https://chromium-review.googlesource.com/1175319 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@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 (must be done outside chroot):
cd protos protoc --python_out=../venv/skylab_inventory/protos/ *.proto protoc --go_out=../go/src/chromiumos/infra/skylab/inventory/protos/ *.proto