[roll] Roll fuchsia [ffx][product-bundle] Update fetching to warn instead of bailing There's been a lot of discussion on various bugs about the current behavior of bailing when multiple pbms match. This cl reverts back to the previous default behavior of choosing the first product-bundle that matches, but adds additional logging to make it easier to pick a different product-bundle if needed. This default behavior isn't always what the developer wants, but it's the most common case for most developers. For instances where the developer doesn't want to use the pbm returned by this, they can be more specific in their command invocation using one of the full pbm URLs that are printed to stdout. In practice that looks something like the following: ``` > ffx product-bundle get workstation_eng.qemu-x64 Multiple product bundles found for `workstation_eng.qemu-x64`: `gs://fuchsia/development/9.20220908.3.1/sdk/product_bundles.json#workstation_eng.qemu-x64` `file:///usr/local/google/home/mjhamrick/fuchsia/out/default/*.json#workstation_eng.qemu-x64` Defaulting to the first product-bundle in sorted order: `gs://fuchsia/development/9.20220908.3.1/sdk/product_bundles.json#workstation_eng.qemu-x64` ``` If the user doesn't like the default here (for instance, because they are working in-tree), they can instead provide the full product-bundle URL to their command. I.e. for `ffx emu start`: ``` > ffx emu start "file:///usr/local/google/home/mjhamrick/fuchsia/out/default/*.json#workstation_eng.qemu-x64" ``` Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/725325 Original-Revision: 0e044063de774e4a9721e7da798140932c79593a GitOrigin-RevId: 6aa1ae8a75bf88cbd1d2c18779a673af91ca3dd0 Change-Id: I86853f136717ab05bce4efd808e2974d15fd118a
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.