[specs][starlark] Add a tool for generating starlark that generates a spec

These tools are likely to be short-lived. I'll add tests for them later since
they're need to unblock others for the migration, and they aren't at-risk of
breaking a production system.

Example usage:
  bb log <build-id> "load spec" textproto | go run ./cmd/specs to_starlark -recipe fuchsia | yapf

Bug: IN-1366 #comment
Change-Id: Ia4f53dbcd8815000d1dc9d8a7b0e6fc173085586
6 files changed
tree: c4bf219d7fc73ed279bdfd299653380683f29807
  1. cmd/
  2. fxicfg/
  3. gotidy/
  4. retry/
  5. starlark/
  6. tools/
  7. .gitignore
  8. AUTHORS
  9. go.mod
  10. go.sum
  11. LICENSE
  12. MAINTAINERS
  13. manifest
  14. packages_to_publish.json
  15. PATENTS
  16. 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.

In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:

REPO=fuchsia.googlesource.com/infra/infra
git clone https://${REPO} $(go env GOPATH)/src/${REPO}