tree: d11b95882cf7dafe69c156d90170d11063cb6789 [path history] [tgz]
  1. autoconf/
  2. automake/
  3. binutils/
  4. buf/
  5. bzip2/
  6. cmake/
  7. cmake_bootstrap/
  8. cpython/
  9. cpython3/
  10. cpython38/
  11. cpython_common/
  12. curl/
  13. firebase-tools/
  14. gae_go_sdk/
  15. gcloud/
  16. gettext/
  17. git/
  18. go/
  19. go115/
  20. golangci-lint/
  21. gsutil/
  22. help2man/
  23. lessmsi/
  24. libexpat/
  25. libffi/
  26. libidn2/
  27. libtool/
  28. libuuid/
  29. mpich/
  30. ncurses/
  31. ncursesw/
  32. ninja/
  33. nodejs/
  34. nsl/
  35. openssl/
  36. pcre/
  37. pcre2/
  38. pip_bootstrap/
  39. protoc/
  40. protoc-gen-bq-schema/
  41. protoc-gen-go/
  42. re2c/
  43. readline/
  44. renode/
  45. sed/
  46. sqlite/
  47. squashfs/
  48. swig/
  49. texinfo/
  50. virtualenv/
  51. win_adk/
  52. win_adk_winpe/
  53. xzutils/
  54. zlib/
  55. .vpython
  57. OWNERS

3pp package definitions

This is a collection of “third-party package” definitions.

See the support_3pp recipe module docs for the format of package definitions.

Building stuff locally

TODO( run_locally might not work. See [./]. You can pass help as the first argument for the lowdown. requires docker to be installed. For googlers, please refer to go/docker.

CIPD Sources

If possible, prefer to use git, url, or script methods. If none of these are workable for a package, cipd source may be used.

Some third-party packages distribute their releases via source tarballs or zips. Sometimes this is done via http or ftp.

To ingest a new tarball/zip:

  • Download the official tarball release from the software site.

    • pick one that is compressed with gzip, bzip2, or is a zip file.
    • If there's no such tarball, consider expanding compression support in the recipe_engine/archive module.
  • Put the tarball in an empty directory by itself (don‘t unpack it). The name of the archive doesn’t matter. Your directory should now look like:

    some/dir/ pkgname-1.2.3.tar.gz

  • Now run:

    $ PKG_NAME=pkgname $ VERSION=1.2.3 $ cipd create
    -in some/dir
    -name infra/third_party/source/$PKG_NAME
    -tag version:$VERSION

  • You can now use the source in a 3pp package definition like:

    source { cipd { pkg: “infra/third_party/source/pkgname” default_version: “1.2.3” original_download_url: “” } # Lets 3pp recipe know to expect a single tarball/zip unpack_archive: true }

  • By default the 3pp recipe also expects unpacked archives to unpack their actual contents (files) to a subdirectory (in the Unix world this is typical for tarballs to have all files under a folder named the same thing as the tarball itself). The 3pp recipe will remove these ‘single directories’ and move all contents to the top level directory. To avoid this behavior, see the no_archive_prune option.