[roll] Roll fuchsia [scripts][lib] Refactor fx command wrapper

- Create abstract base classes for start() and sync() methods.
- FxCmd takes no args directly, it is now a wrapper for base
  configuration of invoking fx. start() and sync() take the args
  instead, so a single configured base can be used for multiple
  invocations.
- build_directory can be a str too
- Create generic CommandTransformer, a base class for generic
  transformers that accepts an object providing start() and wraps it in
  logic to transform output into a stream of events and a final return
  value.
- Wrapper containing all pieces of a command running under
  CommandTransformer
- Tests for all of the above

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1072523
Original-Revision: 2507c72aed28aea76023f16895e9dface9d6b968
GitOrigin-RevId: 2910211ef92febaf3542a1f59ddb714089e94b5f
Change-Id: I84e89d89b281f3782e172d8d7cf879e49be16b5e
1 file changed
tree: f9d5bcfbe670cb9af56dbcb512a8f5c0f56a4ec1
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.