[roll] Roll fuchsia [cog] Add a helper method to run the real git command.

Introduces `Context.run_real_git` to encapsulate the execution of the underlying git binary. This method logs the command being run and handles capturing stdout/stderr. It uses `check=True` in `subprocess.run`, simplifying error handling by catching `subprocess.CalledProcessError`.

Refactors `GetDraftsCommand` and `LsFilesCommand` to use this new helper method, reducing code duplication.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1446686
Original-Revision: acaa052b3bbed9a630cf0cbd3555d7154ec4844a
GitOrigin-RevId: 4a20d0e82533d396ab63c0681578bb2bbdb54070
Change-Id: I31de1ead475e06942fb98abf5848bf04135e85db
1 file changed
tree: 449c80e3dc8d85ff477b08a34d5a1fd5e42bb7e4
  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.