)]}'
{
  "commit": "7b95ea6e2ceb6d59dc507c8285155c5bf32ebce9",
  "tree": "ba5d5c9a69adee4acfe68a8777ae4bfbb4a9febb",
  "parents": [
    "07593223363d68ad8eedd1d5a28910ddd17bd15b"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Wed Nov 13 14:57:56 2024 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Nov 13 05:57:56 2024 +0000"
  },
  "message": "refactor(pkg_aliases): create a macro for creating whl aliases (#2391)\n\nThis just cleans up the code and moves more logic from the\nrepository_rule\n(i.e. generation of `BUILD.bazel` files) to loading time (macro\nevaluation).\nThis makes the unit testing easier and I plan to also move the code that\nis\ngenerating config setting names from filenames to this new macro, but\nwanted to\nsubmit this PR to reduce the review chunks.\n\nSummary:\n- Add a new `pkg_aliases` macro.\n- Move logic and tests for creating WORKSPACE aliases.\n- Move logic and tests bzlmod aliases.\n- Move logic and tests bzlmod aliases with groups.\n- Add a test for extra alias creation.\n- Use `whl_alias` in `pypi` extension integration tests.\n- Improve the serialization of `whl_alias` for passing to the pypi hub\nrepo.\n\nRelated to #260, #2386, #2337, #2319 - hopefully cleaning the code up\nwill make\nit easier to address those feature requests later.\n\n---------\n\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c8ee3434940ae72984f724a6f612ef7e702e789",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/MODULE.bazel.lock",
      "new_id": "ee745d56d2414d094026b231d95992832b72c7f7",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/MODULE.bazel.lock"
    },
    {
      "type": "modify",
      "old_id": "20afe707718884df0bac2025816861334886abeb",
      "old_mode": 33188,
      "old_path": "python/private/pypi/BUILD.bazel",
      "new_id": "dafbcfb757ec0b72c6a201a3949de300dea7e125",
      "new_mode": 33188,
      "new_path": "python/private/pypi/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "ea628ce4ad5f82ce3c7d9b75b70153abd9392255",
      "old_mode": 33188,
      "old_path": "python/private/pypi/extension.bzl",
      "new_id": "ea2bafdb778ab95302087b549863b1a0da9b551b",
      "new_mode": 33188,
      "new_path": "python/private/pypi/extension.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "de9545e986855f8b2f76b2939d915d33268fe8fc",
      "new_mode": 33188,
      "new_path": "python/private/pypi/pkg_aliases.bzl"
    },
    {
      "type": "modify",
      "old_id": "7a759799ddf964a94633d4c9e8b2f5f8ca5ad7d8",
      "old_mode": 33188,
      "old_path": "python/private/pypi/render_pkg_aliases.bzl",
      "new_id": "98c9d0906fb2c056c3a5c56b27e9433e025899c6",
      "new_mode": 33188,
      "new_path": "python/private/pypi/render_pkg_aliases.bzl"
    },
    {
      "type": "modify",
      "old_id": "0405bad4d8d1138be29f46bd1585669fd0996ddb",
      "old_mode": 33188,
      "old_path": "tests/pypi/extension/extension_tests.bzl",
      "new_id": "39670cd71f953f75e4f9754f427b4429a09b0362",
      "new_mode": 33188,
      "new_path": "tests/pypi/extension/extension_tests.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e1a015cf1f3a013cde41f6c7be87d04a30227a6d",
      "new_mode": 33188,
      "new_path": "tests/pypi/pkg_aliases/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cf801ae6431b41c7d7c07ea47dd4ef471f580308",
      "new_mode": 33188,
      "new_path": "tests/pypi/pkg_aliases/pkg_aliases_test.bzl"
    },
    {
      "type": "modify",
      "old_id": "f5187788eabe60d8288fb0d42981106a4f07ba76",
      "old_mode": 33188,
      "old_path": "tests/pypi/render_pkg_aliases/render_pkg_aliases_test.bzl",
      "new_id": "4741df04b4a6b1e88a7b1f6ecc33ab314b5d45ff",
      "new_mode": 33188,
      "new_path": "tests/pypi/render_pkg_aliases/render_pkg_aliases_test.bzl"
    }
  ]
}
