)]}'
{
  "commit": "5c5ab5bd9577a284784d1c8b27bf58336de06010",
  "tree": "85101abed37397f7fd869e3f63dc122b494692f6",
  "parents": [
    "5c37fa7f7a132432648b4e7970a0aa47c173f0fc"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "ignas.anikevicius@woven-planet.global",
    "time": "Thu Jul 20 11:27:36 2023 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 20 02:27:36 2023 +0000"
  },
  "message": "fix(multi-versions): correctly default \u0027main\u0027 arg for transition rules (#1316)\n\nThis fixes a bug where the version-aware rules required `main` to always\nbe explicitly\nspecified. This was necessary because the main file is named after the\nouter target\n(e.g. \"foo\"), but usage of the main file is done by the inner target\n(\"_foo\"). The net\neffect is the inner target looks for \"_foo.py\", while only \"foo.py\" is\nin srcs.\n\nTo fix, the wrappers set main, if it isn\u0027t already set, to their name +\n\".py\"\n\nWork towards #1262",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2292d53e402d028299e4f2b593f30f4ca0c19f2c",
      "old_mode": 33188,
      "old_path": "examples/multi_python_versions/tests/BUILD.bazel",
      "new_id": "5df41bded70387a079b31d6f3c9ea520fe902749",
      "new_mode": 33188,
      "new_path": "examples/multi_python_versions/tests/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "python/config_settings/private/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "09a26461b72d2e45d153a5510ce9150dd23b4ca7",
      "new_mode": 33188,
      "new_path": "python/config_settings/private/py_args.bzl"
    },
    {
      "type": "modify",
      "old_id": "0a3d51c48046e3ea21a4e2d1c38b086cd1c0c1af",
      "old_mode": 33188,
      "old_path": "python/config_settings/transition.bzl",
      "new_id": "20e03dc21ddd00261bb72df0ec8888abe96b3d1f",
      "new_mode": 33188,
      "new_path": "python/config_settings/transition.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "21fa50e16dfb860d75ec0036ddb51cb290bd7339",
      "new_mode": 33188,
      "new_path": "tests/config_settings/transition/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4538c88a5c25887ea4c74868b3cb160aedd21efe",
      "new_mode": 33188,
      "new_path": "tests/config_settings/transition/py_args_tests.bzl"
    }
  ]
}
