commit | 0f26e427ada676fe803e763fc3814b3b0dc06221 | [log] [tgz] |
---|---|---|
author | Gary Bressler <geb@google.com> | Mon Apr 10 19:07:43 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 10 19:07:43 2023 +0000 |
tree | f9239e52327cb26aa8b718f2eb91ad9bb2e92dc6 | |
parent | f8acfa32b17659f861ecfa2ed8838778e712a47d [diff] |
[ffx][component] Add `ffx component route` command Examples (see command help for more): ``` $ ffx component route /core/font_provider Moniker: /core/font_provider Capability: fuchsia.tracing.provider.Registry (use) Result: [✓] Success Source: /core/trace_manager Capability: fuchsia.pkg.FontResolver (use) Result: [✗] Offer uses void source, so the route cannot be completed Capability: config-data (use) Result: [✓] Success Source: /bootstrap/pkg-cache ``` This will perform routing on all the capabilities used or exposed by `font_provider`, displaying the status (success or failure) identity of the source component, and other metadata if applicable. ``` $ ffx component route /core/font_provider fuchsia.pkg.FontResolver Moniker: /core/font_provider Capability: fuchsia.pkg.FontResolver (use) Result: [✗] Offer uses void source, so the route cannot be completed ``` This will perform routing on capabilities used or exposed by `font_provider` that match `fuchsia.pkg.FontResolver`. Bug: 123548 Change-Id: I0d771cf0a0f497eec6849d079579d3a4c7bdd158 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/831432 Commit-Queue: Gary Bressler <geb@google.com> Reviewed-by: Suraj Malhotra <surajmalhotra@google.com> Reviewed-by: Yegor Pomortsev <ypomortsev@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.