)]}'
{
  "commit": "18380a283d73060db856c2f3d105a0290143971a",
  "tree": "f9dee3e90b37e2b9ef2ece2b8c1d8af5152b5d05",
  "parents": [
    "9a98e8c1f18fb8b1c41e1d409088da9c72cee352"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "rlevasseur@google.com",
    "time": "Fri Sep 27 09:08:17 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Sep 27 16:08:17 2024 +0000"
  },
  "message": "refactor: add builders to make creating PyInfo/depset/runfiles easier (#2251)\n\nThis add some builders \"classes\" to make constructing PyInfo, depsets,\nand runfiles\na bit cleaner. Previously, building such objects required creating\nmultiple local\nvariables for each arg/attribute of the object (e.g. list_of_files and\nlist_of_depsets\nfor building a depset). Keeping track of all the variables was verbose\nand tedious.\n\nTo make it easier, encapsulate that bookkeeping in some objects.\nAccumulating parts is\nnow much easier: builders have an `add()` method that looks at the input\nand stores it\nin the appropriate place. \n\nThis builders will be exposed to users in an upcoming PR to make\nbuilding and merging\nPyInfo objects easier.\n\nWork towards https://github.com/bazelbuild/rules_python/issues/1647",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1e8fe140d331f18d2ef3a7d0f2fdf958a9931324",
      "old_mode": 33188,
      "old_path": "python/private/BUILD.bazel",
      "new_id": "f128742b2cf19e0c82b09f8e395ff7ea5b5f4beb",
      "new_mode": 33188,
      "new_path": "python/private/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "50aa3ed91aff1126ec7fdded5db0a110a5d269e2",
      "new_mode": 33188,
      "new_path": "python/private/builders.bzl"
    },
    {
      "type": "modify",
      "old_id": "bbda712d2d0ba61a91e6c5a0e6835229e2299aa6",
      "old_mode": 33188,
      "old_path": "python/private/common/common.bzl",
      "new_id": "e4cc25465453d7b3ea7cf696289298cfee73813d",
      "new_mode": 33188,
      "new_path": "python/private/common/common.bzl"
    },
    {
      "type": "modify",
      "old_id": "37ca313e0b5b2c3a5ed20c5edadc5b1113708b0b",
      "old_mode": 33188,
      "old_path": "python/private/common/py_executable.bzl",
      "new_id": "1d14344d4eba959cfd457842a9f8b2301095cbba",
      "new_mode": 33188,
      "new_path": "python/private/common/py_executable.bzl"
    },
    {
      "type": "modify",
      "old_id": "fd534908d09ed2b50809f28df537475f356ce364",
      "old_mode": 33188,
      "old_path": "python/private/common/py_library.bzl",
      "new_id": "4423986e1b4397d55f7e98408acff008aaf1ab93",
      "new_mode": 33188,
      "new_path": "python/private/common/py_library.bzl"
    },
    {
      "type": "modify",
      "old_id": "7945775a25bf6ae708386d340d164a9dfed188ec",
      "old_mode": 33188,
      "old_path": "python/private/py_info.bzl",
      "new_id": "a3e40f2924308f1d0c6fbba2709654e279b1ff36",
      "new_mode": 33188,
      "new_path": "python/private/py_info.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "69f0bdae3fc744e49f9c3235ed7809d2fa0457af",
      "new_mode": 33188,
      "new_path": "tests/base_rules/py_info/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b64263f6ba14b051b7d231d0bae8fdc46ad5024d",
      "new_mode": 33188,
      "new_path": "tests/base_rules/py_info/py_info_tests.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3ad0c3e80c46fd153d5f8d5d06eba86d7408cd0a",
      "new_mode": 33188,
      "new_path": "tests/builders/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f1d596eaff95c64188fb239aa34842d32bb8ce50",
      "new_mode": 33188,
      "new_path": "tests/builders/builders_tests.bzl"
    }
  ]
}
