tree: 069f3bb9189a6a2ed39ff2a50221c5636edcf424 [path history] [tgz]
  1. autoconf/
  2. automake/
  3. binutils/
  4. bzip2/
  5. cmake/
  6. cmake_bootstrap/
  7. cpython/
  8. cpython3/
  9. curl/
  10. dep/
  11. firebase-tools/
  12. gae_go_sdk/
  13. gae_sdk/
  14. gcloud/
  15. gettext/
  16. git/
  17. go/
  18. gsutil/
  19. help2man/
  20. lessmsi/
  21. libffi/
  22. libidn2/
  23. libtool/
  24. libuuid/
  25. ncurses/
  26. ncursesw/
  27. ninja/
  28. nodejs/
  29. nsl/
  30. openssl/
  31. openssl_headers/
  32. pcre/
  33. pcre2/
  34. pip_bootstrap/
  35. re2c/
  36. readline/
  37. sed/
  38. sqlite/
  39. swig/
  40. texinfo/
  41. xzutils/
  42. zlib/
  43. .vpython
  44. README.md
  45. run_locally.sh
  46. run_remotely.sh
  47. run_remotely_extract_repo_ref.py
  48. run_remotely_slurp_cl.py
  49. run_remotely_tweak_task.py
3pp/README.md

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

See [./run_locally.sh]. You can pass help as the first argument for the lowdown.

CIPD Sources

Some third-party packages distribute their releases via source tarballs or zips. Sometimes this is done via http or ftp. For reliability and reproducability reasons, we prefer to mirror the tarballs ourselves and fetch them from CIPD.

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: “https://original.source.url.example.com” } # 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.