)]}'
{
  "commit": "fabb65f645163be264728236defee450e29b15ec",
  "tree": "1e816b49dedd83c47ac87ff185647bf19a9cdc54",
  "parents": [
    "c99aaec710fe81499eda7f111aa54e9d588d2bc9"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "anikevicius@gmail.com",
    "time": "Sat Aug 05 01:29:36 2023 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Aug 04 16:29:36 2023 +0000"
  },
  "message": "refactor: support rendering pkg aliases without whl_library_alias (#1346)\n\nBefore this PR the only way to render aliases for PyPI package repos\nusing the version-aware toolchain was to use the `whl_library_alias`\nrepo.\nHowever, we have code that is creating aliases for packages within the\nhub repo\nand it is natural to merge the two approaches to keep the number of\nlayers of\nindirection to minimum.\n\n- feat: support alias rendering for python aware toolchain targets.\n- refactor: use render_pkg_aliases everywhere.\n- refactor: move the function to a private `.bzl` file.\n- test: add unit tests for rendering of the aliases.\n\nSplit from #1294 and work towards #1262 with ideas taken from #1320.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "708cd6ba62fb1716dbf664dfbd371b48c4c1489e",
      "old_mode": 33188,
      "old_path": "python/pip.bzl",
      "new_id": "0c6e90f5774b1ddc14ae65ff220a5f44bcc7d209",
      "new_mode": 33188,
      "new_path": "python/pip.bzl"
    },
    {
      "type": "modify",
      "old_id": "1f392ee6bdd9cb338c57849793946a5eee75c50b",
      "old_mode": 33188,
      "old_path": "python/pip_install/pip_repository.bzl",
      "new_id": "d4ccd43f99e4e35d4be18a6a57e2e555c7786625",
      "new_mode": 33188,
      "new_path": "python/pip_install/pip_repository.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bcbfc8c6746b48a011a4b35287c248b55890c1c8",
      "new_mode": 33188,
      "new_path": "python/private/render_pkg_aliases.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3d72b8d67617d44a20867948c3f23ade86e38ad7",
      "new_mode": 33188,
      "new_path": "python/private/text_util.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f2e01266663e832e03e4c63ee68fb10c1ba8a309",
      "new_mode": 33188,
      "new_path": "tests/pip_hub_repository/render_pkg_aliases/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "28d95ff2dd2bb8e0404596c78d9da6537cb161ae",
      "new_mode": 33188,
      "new_path": "tests/pip_hub_repository/render_pkg_aliases/render_pkg_aliases_test.bzl"
    }
  ]
}
