)]}'
{
  "commit": "a068d1bf6545fa74d52f6d73c2d79ec37f8ab6b9",
  "tree": "817fa9761510f03fac4f449d4c3d9afa8c4f32a3",
  "parents": [
    "3ffdf01edac7be32e229e7cd08100370e35348a0"
  ],
  "author": {
    "name": "Chris Love",
    "email": "335402+chrislovecnm@users.noreply.github.com",
    "time": "Mon Jul 10 13:41:33 2023 -0600"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jul 10 19:41:33 2023 +0000"
  },
  "message": "feat(bzlmod): Use a common constant for detecting bzlmod being enabled (#1302)\n\nVarious parts of the codebase detect whether bzlmod is enabled or not.\nMost of them copy/paste the same if @ in Label(..) trick and use a\ncomment to explain what they\u0027re doing.\n\nRather than copy/paste that everywhere, this commit uses a constant\ndefined that does this once and reuses the constant value to determine\nif bzlmod is enabled.\n\nCloses: https://github.com/bazelbuild/rules_python/issues/1295",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4a6bb8f6dc018d593099766aff82990cf031543",
      "old_mode": 33188,
      "old_path": "python/cc/BUILD.bazel",
      "new_id": "0d90e15225edcfa68fec567774cdac2da3b74733",
      "new_mode": 33188,
      "new_path": "python/cc/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "941c1e05b80b433326effe3bea6bdb0e05a3a5ea",
      "old_mode": 33188,
      "old_path": "python/pip.bzl",
      "new_id": "cae15919b0b574fee22ffbaeed07788a95582f4a",
      "new_mode": 33188,
      "new_path": "python/pip.bzl"
    },
    {
      "type": "modify",
      "old_id": "866a834a7289bebbf81b3f92c10e82535cd04824",
      "old_mode": 33188,
      "old_path": "python/pip_install/pip_repository.bzl",
      "new_id": "88dedf091b83206432dde93653fd2815f420caeb",
      "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": "84839981a0a22ac38c3063dc8fd9b075cf8655b5",
      "new_mode": 33188,
      "new_path": "python/private/bzlmod_enabled.bzl"
    },
    {
      "type": "modify",
      "old_id": "4c4b8fcf69395ac9219f06e96ca023398d62b6aa",
      "old_mode": 33188,
      "old_path": "python/private/util.bzl",
      "new_id": "6c8761d5b509667fc6a0512cf10f863cf6258dcf",
      "new_mode": 33188,
      "new_path": "python/private/util.bzl"
    },
    {
      "type": "modify",
      "old_id": "38a580e3a876b37b9358ab4119fd65e3a0e3911f",
      "old_mode": 33188,
      "old_path": "python/repositories.bzl",
      "new_id": "62d94210e09bdcb8f88e34d913bfb0beb499d6e8",
      "new_mode": 33188,
      "new_path": "python/repositories.bzl"
    }
  ]
}
