This CL adds the `pw console` plugin command used to invoke
pw console on the command line and the embed() fuction. At
this point it does nothing. Follow up CLs will build up the
user interface and additional functionality.
Change-Id: I564541cf35c87634ece40604df1afe965f4bf601
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/48642
Pigweed-Auto-Submit: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Joe Ethier <jethier@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
There was a bad manual rebase with pwrev/28280.
Change-Id: Ied71c5ed6485d646cfd20df4c2cc6b4606284727
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/29481
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Add script for generating transitive 'Requires:' CLs to unnamed internal
Gerrit instances. For now putting into pw_cli because this doesn't seem
to need its own module and there's nowhere better to put it.
Change-Id: I9837a37c593c24a4839ab8523fdc3a5752b40206
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/28280
Commit-Queue: Rob Mohr <mohrr@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
This renames the hdlc_lite module to just HDLC to accommodate for future
development.
Change-Id: Ic96502a9f41d3a10179435347d4e8615bc3ae844
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/29042
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Add pw_package module. This manages dependencies that aren't pulled in
through env setup. For now only nanopb is available through pw_package.
Change-Id: Ib8a20102baf27d5964bb275088c265f9334b6ff3
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/22020
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Rob Mohr <mohrr@google.com>
Added a python script to view the heap given a dump file and heap
information in the command line arguments.
Added a Pigweed command "pw heap-viewer" for the heap visualizer.
Change-Id: Ibe3116eb9bebb466aad4c4273cc3de9142b9eab1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/15265
Reviewed-by: Alexei Frolov <frolv@google.com>
Commit-Queue: Chenghan Zhou <chenghanzh@google.com>
- Introduce new system for registering plugins with the pw command.
Plugins can be registered for a directory tree by listing them in a
PW_PLUGINS file.
- Update most existing plugins to be registered as "built-in" plugins in
pw_cli.
- Register pw_presubmit using a PW_PLUGINS file, since it only applies
to the Pigweed repository.
- No longer add plugins to the pw argument parser as subparsers.
Instead, use argparse to separate the pw arguments from the plugin
arguments.
- Remove __init__.py files that were only used to trigger plugin
registration, since __init__.py is not required in Python 3.
Change-Id: I20028f2053476df2afebd36e9299062e7e96727e