)]}'
{
  "commit": "c804a13fe918f1e820a829a73d5fb951d6788c46",
  "tree": "c9911f02f4d5885bda42db8d26ce224862dfd84d",
  "parents": [
    "a18ae496549559fbea5193bee63d704f11992d67"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Mon Sep 09 10:10:34 2024 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Sep 09 01:10:34 2024 +0000"
  },
  "message": "feat(toolchain): add patch_strip attr for python_repository (#2201)\n\nThis value has been hardcoded for a long time, so let\u0027s add the\n`patch_strip`\nattribute to the `WORKSPACE` setups now so that we add less tech debt in\nthe\n`bzlmod` world later and need to migrate `bzlmod` users from the hard\ncoded\nvalue to something that can be configured.\n\nThis should be backwards compatible because of the default `int` value\nof `1`\nfor the `patch_strip` attribute.\n\nSummary:\n- feat: add `patch_strip` to `python_repository`.\n- feat: add the default value of patch_strip to get_release_info.\n- refactor: handle patch_strip key in `TOOL_VERSIONS`.\n\nWork towards #2081.\n\n---------\n\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e2c54e3d62901afd68cc6d7f8466df50143ff862",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "7e2f9bb1fb09a9162a9bb34ccb333173af995128",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "df0c96d6caa0ec9359fba59bc20743dc80cded51",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/MODULE.bazel.lock",
      "new_id": "6964e11fd7ec150a6cfd78ce7f323e4ba7a5ded7",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/MODULE.bazel.lock"
    },
    {
      "type": "modify",
      "old_id": "86753996992489547ec915fa39f2a6ac536441fb",
      "old_mode": 33188,
      "old_path": "python/private/python_repositories.bzl",
      "new_id": "46b2e293bf0b4e3c90bcdcd0dbd7e2f2d5e71e41",
      "new_mode": 33188,
      "new_path": "python/private/python_repositories.bzl"
    },
    {
      "type": "modify",
      "old_id": "2cf9b39e96d1e78d5e8eec264e5c0c4a4cc08291",
      "old_mode": 33188,
      "old_path": "python/versions.bzl",
      "new_id": "79e388db1225fc8b21f0806991eb797b790cc621",
      "new_mode": 33188,
      "new_path": "python/versions.bzl"
    }
  ]
}
