skylab_inventory schema definition and tools are in the public repo, so the up-sync script should also be there. The old location of the schema proto is already stale.
+nxia: this would involve some simple library code that we can share with the tools.
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/infra_virtualenv/+/1c569388b2a85aaf428b0a18ad177beb56dcf61d commit 1c569388b2a85aaf428b0a18ad177beb56dcf61d Author: Prathmesh Prabhu <pprabhu@chromium.org> Date: Tue Apr 10 20:44:10 2018 venv: Add python-mysql-connector BUG= chromium:830098 TEST=None Change-Id: Idc80b1a8881720749aa5cfbb370bc4bced07c9dc Reviewed-on: https://chromium-review.googlesource.com/1003137 Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Ningning Xia <nxia@chromium.org> [add] https://crrev.com/1c569388b2a85aaf428b0a18ad177beb56dcf61d/pip_packages/mysql_connector_python-8.0.6-cp27-cp27mu-manylinux1_x86_64.whl
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/infra/skylab_inventory/+/0ca38c42780ee0b614e4e45e3bf545c7af252b15 commit 0ca38c42780ee0b614e4e45e3bf545c7af252b15 Author: Prathmesh Prabhu <pprabhu@chromium.org> Date: Tue Apr 10 22:12:26 2018 scripts: Add script to sync autotest db data to inventory repo This is an initial commit of the script from its old location. Future CLs will refactor out reusable parts between this script and other skylab inventory tools. BUG= chromium:830098 TEST=unittests, manual sync. CQ-DEPEND=CL:1003137 Change-Id: I7901865ee31b1dbdd17ddbda3474dde9fbb1e416 Reviewed-on: https://chromium-review.googlesource.com/1003135 Reviewed-by: Ningning Xia <nxia@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org> [modify] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/venv/requirements.txt [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/venv/skylab_inventory/initlib.py [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/bin/test_venv_packages [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/venv/skylab_inventory/autotest/__init__.py [modify] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/.gitignore [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/venv/skylab_inventory/scripts/upsync_unittest.py [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/venv/pytest.ini [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/bin/upsync [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/venv/skylab_inventory/scripts/upsync.py [add] https://crrev.com/0ca38c42780ee0b614e4e45e3bf545c7af252b15/venv/skylab_inventory/autotest/dbclient.py
The following revision refers to this bug: https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/9f20422921ecea1891e58964dfe01767287791f9 commit 9f20422921ecea1891e58964dfe01767287791f9 Author: Prathmesh Prabhu <pprabhu@chromium.org> Date: Mon Apr 16 23:21:04 2018
Comment 1 by pprabhu@chromium.org
, Apr 6 2018Status: Assigned (was: Untriaged)