[roll] Roll fuchsia [fx][worktree] Implement fx worktree subcommand

Port the fx-worktree tool from Rust to Python as a developer tool
integrated into fx.

This implements the 'fx worktree' subcommand with detailed help text
and descriptions that teach users the worktree pool lifecycle (free
and leased states) and help differentiate pairs of commands:
- add / remove: Create physical checkouts vs delete from disk.
- lease / release: Claim pooled checkouts vs return to pool.

Unit tests and E2E tests are ported and verified.

Original-Original-Bug: 516876349
Test: fx test --previous failed-tests (verified in E2E suite)
Test: python3 -m unittest discover -s tools/devshell/worktree/tests
Test: python3 tools/devshell/worktree/main.py --help
TAG=agy
CONV=4f75e0e0-64fc-46e3-8647-152667e4713d

Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1660116
Original-Original-Revision: 10daa77bf57c2184b6e856639a0633700f9dce32
GitOrigin-RevId: 54fb1331a018097d05dd52caf904c330da6874b7
Change-Id: I47e694282df32879f8b5b71924f029d5f501cbc1
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1665280
Cr-Commit-Position: refs/heads/main@{#195136}
1 file changed
tree: d9fa899492b4f4d530d464b34cd157267186604d
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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 in one of the communication channels documented at get involved.

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.