)]}'
{
  "commit": "f92ad7136ff411755ec8d8361af8263fd8efe6f2",
  "tree": "4b0a0a1cd7417157ac5043a3aae3e7c8910024a3",
  "parents": [
    "e487b6dddd2c3b233f94e4a343d9cf0cb32d60ec"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "richardlev@gmail.com",
    "time": "Fri Oct 17 16:09:48 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Oct 17 23:09:48 2025 +0000"
  },
  "message": "chore: make gazelle bcr tests compatible with bcr presubmit environment (#3365)\n\nBCR recently changed how it extracts archives in its presubmits: instead\nof extracting\nthe whole archive, only the specified portion (`gazelle/` in this case)\nis extracted.\nThis broke the gazelle tests because they reference files above the\ngazelle directory.\n\nTo fix, move the module it runs as a test under the gazelle directory.\n\nBecause the test module also refers to rules_python, which is above the\ngazelle\ndirectory, the bcr presubmit has disable that override using\n`--override_module`.\nThis means, going forward, the gazelle module, when bcr tests it, will\nuse the\nversion in the MODULE file (rather than the vendored copy).\n\nFixes https://github.com/bazel-contrib/rules_python/issues/3364",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "119ad498b0702dc62898ebe0e41e3b9388fa923e",
      "old_mode": 33188,
      "old_path": ".bazelci/presubmit.yml",
      "new_id": "6ed93b083dcd18e7b1e4014c04d86924d1c7da1e",
      "new_mode": 33188,
      "new_path": ".bazelci/presubmit.yml"
    },
    {
      "type": "modify",
      "old_id": "fb999097f5becb7cfadfb33b0533787a6b162c66",
      "old_mode": 33188,
      "old_path": ".bazelignore",
      "new_id": "dd58b79e3c9ce68f826cb93a629bb37648024dbc",
      "new_mode": 33188,
      "new_path": ".bazelignore"
    },
    {
      "type": "modify",
      "old_id": "801b963ad5c1d1cc1b099006ca6a29dfcbdcd093",
      "old_mode": 33188,
      "old_path": ".bazelrc",
      "new_id": "b5c9c7c1e259e9275bd3052587018481901fd51b",
      "new_mode": 33188,
      "new_path": ".bazelrc"
    },
    {
      "type": "modify",
      "old_id": "bceed4f9e1add73d2bbf11a4dec9b11e807b10e0",
      "old_mode": 33188,
      "old_path": ".bcr/gazelle/presubmit.yml",
      "new_id": "ff1c9e7d5842582312f86cf9d155775caa0b7b03",
      "new_mode": 33188,
      "new_path": ".bcr/gazelle/presubmit.yml"
    },
    {
      "type": "delete",
      "old_id": "992e120760e4e00da0f692c63007072973b065f5",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/other_module/MODULE.bazel",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5930a061906f05b1ddf24fb16c50644ca2ab847a",
      "new_mode": 33188,
      "new_path": "gazelle/.bazelignore"
    },
    {
      "type": "modify",
      "old_id": "791b93912ae05e3bb9bd66519a466276d3963a86",
      "old_mode": 33188,
      "old_path": "gazelle/.bazelrc",
      "new_id": "9a38133e9df1444be828bcc33c806b77f53f1a0b",
      "new_mode": 33188,
      "new_path": "gazelle/.bazelrc"
    },
    {
      "type": "rename",
      "old_id": "ab3eb1635c193fc13f8986eba6b5f33a0339549c",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/.bazelignore",
      "new_id": "ab3eb1635c193fc13f8986eba6b5f33a0339549c",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/.bazelignore",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "0289886d4dc98093aa63a13213d424f42d9b53be",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/.bazelrc",
      "new_id": "0289886d4dc98093aa63a13213d424f42d9b53be",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/.bazelrc",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "ac51a054d2da1e1215b8e55951ca7649a3dbe984",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/.gitignore",
      "new_id": "ac51a054d2da1e1215b8e55951ca7649a3dbe984",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/.gitignore",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "5ab2790e0467a3602b331cd89c0dd29aaa199a00",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/BUILD.bazel",
      "new_id": "5ab2790e0467a3602b331cd89c0dd29aaa199a00",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/BUILD.bazel",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "3436fbf0afc8315f11e1a4e9f368712b58027456",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/MODULE.bazel",
      "new_id": "5ace7f3d3a30fbe240eaece8b37bd90fc38098e8",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/MODULE.bazel",
      "score": 91
    },
    {
      "type": "rename",
      "old_id": "703fd38ebe10e2a7f426bf2cba19b3ec4dc4f993",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/README.md",
      "new_id": "703fd38ebe10e2a7f426bf2cba19b3ec4dc4f993",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/README.md",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "78cc252e571940f672c6de79a48385a96d407b0e",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/WORKSPACE",
      "new_id": "78cc252e571940f672c6de79a48385a96d407b0e",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/WORKSPACE",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "099493b3c8a49e134e1d57e0badded8bfc68f471",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/__main__.py",
      "new_id": "099493b3c8a49e134e1d57e0badded8bfc68f471",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/__main__.py",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "cde1d42f33b4520ea4d921767cb359e1a89a9cf9",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/__test__.py",
      "new_id": "cde1d42f33b4520ea4d921767cb359e1a89a9cf9",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/__test__.py",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "019b051092d067e15c50c02ce1d73d0401a9a45a",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/gazelle_python.yaml",
      "new_id": "019b051092d067e15c50c02ce1d73d0401a9a45a",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/gazelle_python.yaml",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "7632235aa02cb6f912538410bfc045919837c0a6",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/gazelle_python_with_types.yaml",
      "new_id": "7632235aa02cb6f912538410bfc045919837c0a6",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/gazelle_python_with_types.yaml",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "646c6e890f8e67b4496c1aa200acf2fe5fe400ef",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/lib.py",
      "new_id": "646c6e890f8e67b4496c1aa200acf2fe5fe400ef",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/lib.py",
      "score": 100
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3deeeb6ccc77e30e3b94ee2ba13f7772dae45d69",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/other_module/MODULE.bazel"
    },
    {
      "type": "rename",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/other_module/WORKSPACE",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/other_module/WORKSPACE",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "90d41e752e9cb1f61d1c5d2e95ca27c815686d58",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/other_module/other_module/pkg/BUILD.bazel",
      "new_id": "90d41e752e9cb1f61d1c5d2e95ca27c815686d58",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/other_module/other_module/pkg/BUILD.bazel",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "e975eaf640274843fa7c6e60ee810854b44ece0f",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/other_module/other_module/pkg/data/data.txt",
      "new_id": "e975eaf640274843fa7c6e60ee810854b44ece0f",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/other_module/other_module/pkg/data/data.txt",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "eaf65fb46afce9c31904cb60455ffb5fbc8c99b7",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/other_module/other_module/pkg/lib.py",
      "new_id": "eaf65fb46afce9c31904cb60455ffb5fbc8c99b7",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/other_module/other_module/pkg/lib.py",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "fb3b45176cb43320e15a255fe38a18a10b4b94fe",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/requirements.in",
      "new_id": "fb3b45176cb43320e15a255fe38a18a10b4b94fe",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/requirements.in",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "5c1b7a86e8b6f3bdd57dcbc57f0f1f3130162d08",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/requirements_lock.txt",
      "new_id": "5c1b7a86e8b6f3bdd57dcbc57f0f1f3130162d08",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/requirements_lock.txt",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "309dfbcf40f751d8cf2fc9e5db1867e6c61a7367",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/requirements_windows.txt",
      "new_id": "309dfbcf40f751d8cf2fc9e5db1867e6c61a7367",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/requirements_windows.txt",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "8806668a3f150149b3767674146bb0a11fe9aca3",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/runfiles/BUILD.bazel",
      "new_id": "8806668a3f150149b3767674146bb0a11fe9aca3",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/runfiles/BUILD.bazel",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "fb17e0df66bf01eea899711f241770b68731a7a3",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/runfiles/data/data.txt",
      "new_id": "fb17e0df66bf01eea899711f241770b68731a7a3",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/runfiles/data/data.txt",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "6ce4c2db37c0f3bd94eecf60b0f452b2a939f2aa",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/runfiles/runfiles_test.py",
      "new_id": "6ce4c2db37c0f3bd94eecf60b0f452b2a939f2aa",
      "new_mode": 33188,
      "new_path": "gazelle/examples/bzlmod_build_file_generation/runfiles/runfiles_test.py",
      "score": 100
    }
  ]
}
