[rw] Embed recipes repo as SPDX identifier

This change modifies the SLSA provenance to show the version that the
recipes were checked out at. It formulates an SPDX identifier for this.

To get the repo data out of the checkout, some refactoring had to
happen. As part of the refactoring, some code entered the new `env`
package. Some functions and types were renamed to be shorter and have
less stuttering.

Change-Id: Ie4d1d7bb648b1ccbacc49dc88f9a08dd34b60b23
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/947952
Commit-Queue: Chris Lewis <cflewis@google.com>
Reviewed-by: Nathan Mulcahey <nmulcahey@google.com>
10 files changed
tree: d5cd05f121d21ab770de96c34dd955794e015a89
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. execution/
  6. flagutil/
  7. functools/
  8. gerrit/
  9. gitiles/
  10. monorail/
  11. rpcutil/
  12. scripts/
  13. slsa/
  14. third_party/
  15. vendor/
  16. .gitignore
  17. AUTHORS
  18. go.mod
  19. go.sum
  20. LICENSE
  21. manifest
  22. PATENTS
  23. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.