)]}'
{
  "commit": "c72c7bcf4e0899c275042328e8233e3124ccae86",
  "tree": "83beb4129fa5a04a17175519ae913606405f3474",
  "parents": [
    "ebe81b7d1c0f33b62e80d2fc97e2ff1a9219b687"
  ],
  "author": {
    "name": "yuvalk",
    "email": "yuvalk@gmail.com",
    "time": "Tue Apr 11 19:07:34 2023 +0300"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Apr 11 09:07:34 2023 -0700"
  },
  "message": "feat: Support specifying multiple download URLs in tool_versions. (#1145)\n\nThe interface of `repository_ctx.download` and\r\n`repository_ctx.download_and_extract` supports string lists as well as\r\nstrings as the value of the `url` argument. This is the ultimate\r\ndestination of the `url` attribute in the `tool_versions` dictionary, so\r\nit makes sense for it to support lists as well.\r\n\r\nIt is often useful to provide multiple download URLs, e.g. when\r\nvendoring deps through a mirror (to guard against issues like [git\r\narchive checksums\r\nchanging](https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/)\r\nwhile still keeping the canonical download URL) or in an airgapped\r\nsetting (to support internal URLs alongside external URLs). This is also\r\npretty common around Bazel repository rules that download things, e.g.\r\n[http_archive](https://bazel.build/rules/lib/repo/http#http_archive-urls),\r\nso it can be expected to work with `tool_versions` too.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f676610ae209f6bf8802e014e9de0a0b05f6fb6f",
      "old_mode": 33188,
      "old_path": "python/repositories.bzl",
      "new_id": "2429d7e0269e709aad83e0a2d60ca009dfac0b31",
      "new_mode": 33188,
      "new_path": "python/repositories.bzl"
    },
    {
      "type": "modify",
      "old_id": "4feeeae58c7ae91ec91d6e72fabd82cee4270ad9",
      "old_mode": 33188,
      "old_path": "python/versions.bzl",
      "new_id": "662f89d04bc183fc8d06bfa6081d7291a98f4a5c",
      "new_mode": 33188,
      "new_path": "python/versions.bzl"
    }
  ]
}
