cro3
cro3 copied to clipboard
Abstraction Layer of ChromiumOS development
To make the output stable and easy to lookup
sometimes the child processes (for ssh port forwarding) do not terminate properly and keep listening to the port to be forwarded, which can use up all the available ports eventually....
https://chromium.googlesource.com/chromiumos/third_party/hdctools/+/main/docs/servod_outside_chroot.md servod command in chroot will be unavailable soon as explained in the official documentation. We should migrate the usage of servo related commands to keep the `lium servo` commands...
There should be a test script for bash completion. At least finding the script error.
For example, resourced has "restart-resourced". Cro3 can store these restart commands in .cro3 directory.
I saw below warning. ``` + cros-workon-octopus start chromeos-base/resourced cros-workon-octopus is deprecated, use `cros workon --board octopus` instead. ``` it should be replaced by `cros-workon --board $BOARD`.
`make check` fails with the errors below. ``` cargo check Checking cro3 v0.1.2 (/work/cro3) error[E0432]: unresolved import `cro3::util::cro3_paths` --> src/cmd/servo.rs:33:17 | 33 | use cro3::util::cro3_paths::cro3_dir; | ^^^^^^^^^^ could not find...
Without config is_internal, the command fails. Probably the URL is wrong.
Recently we changed the recommended branch to `stable` https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_guide.md#sync-to-stable
As in PR #117 , we use the `script` command to force sub processes to behave and print out. Right now in that case we simply forward stdout to stdout...