[roll] Roll fuchsia [cog] refactor repository path logic

This change introduces unit tests for the git-polyfill script, covering argument parsing and repository path resolution. The logic for determining the active repository root and relative path has been refactored. The Context class now handles caching the repository root. New functions were added to parse .gitmodules and identify the specific submodule repository being targeted by git commands.

Original-Bug: 467787331
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1452370
Original-Revision: 700f54d79ba53706287d3317be2d791dbdb771c6
GitOrigin-RevId: 76736fd6b46066fc1c2eb05c2da3e9eb38379a26
Change-Id: Ie7d9bc817d2511ab187a94ded3a9f2be1d0b4158
1 file changed
tree: 94eb8432b5e4d9ff764a5924169dc96617cc1de3
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. 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.