[tarutil] Create pkg for tarring data

- Adds tests for Tar archive code.
- Replaces:
  - botanist.ArchiveBuffer -> tarutil.TarBuffer
  - botanist.ArchiveReader -> tarutil.TarReader
  - botanist.ArchiveDirectory -> tarutil.TarDirectory
- Ran goimports to fix imports which also formatted some files.
  (everyone please remember to run gofmt before submitting)

These things aren't botanist specific. Using the name "TarXXX" makes
it possible to add different archive formats.

Change-Id: I138a2636bcd475c1091a609d143c9556ea15e803
11 files changed
tree: 352a7e5452dcbcbc346dc28ddfe2760d5ccdd8a1
  1. artifacts/
  2. bloaty/
  3. botanist/
  4. breakpad/
  5. build/
  6. buildbucket/
  7. cache/
  8. cmd/
  9. color/
  10. command/
  11. digest/
  12. elflib/
  13. fastboot/
  14. gcs/
  15. gndoc/
  16. isatty/
  17. logger/
  18. mdns/
  19. netboot/
  20. netutil/
  21. ninjalog/
  22. qemu/
  23. resultstore/
  24. retry/
  25. runner/
  26. runtests/
  27. secrets/
  28. serial/
  29. sshutil/
  30. symbolize/
  31. tap/
  32. tarutil/
  33. telnet/
  34. testrunner/
  35. testsharder/
  36. tftp/
  37. .gitignore
  38. go.mod
  39. go.sum
  40. LICENSE
  41. manifest
  42. PATENTS
  43. README.md
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"