)]}'
{
  "commit": "4874f9a8a94cdce32e45487f6f54f0078c9c8523",
  "tree": "88cf4fd76ebf2ccc479a8ea5c8e79cd3e47fd573",
  "parents": [
    "702d10674ec48a679488a725c86bf35121420698"
  ],
  "author": {
    "name": "Zhongpeng Lin",
    "email": "zplin@uber.com",
    "time": "Tue Dec 03 17:11:40 2024 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Dec 03 17:11:40 2024 -0800"
  },
  "message": "Stop assuming deps of go_proto_library has importmap attribute (#4189)\n\n**What type of PR is this?**\r\n\r\nBug fix\r\n\r\n**What does this PR do? Why is it needed?**\r\n`_go_proto_aspect` applies to all `deps` of `go_proto_library`\r\ntransitively, following the `deps` and `embed` attributes. Meanwhile,\r\nthe only requirement for `deps` of `go_proto_library` is to provide\r\n`GoInfo`. They don\u0027t have to be `go_proto_library` or `go_library`. We\r\nshould not assume they also have `importmap`, `importpath_aliases` or\r\n`embed` attributes. They are likely to have `importpath`, otherwise\r\nGazelle won\u0027t be able to resolve them. So we can keep the assumption of\r\n`importpath` for now until breakages are discovered.\r\n\r\n\r\ncc @dzbarsky",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "702e019f777c0592727cdad1ead96714c1ddf505",
      "old_mode": 33188,
      "old_path": "proto/def.bzl",
      "new_id": "b3fad3d384b02bf7b9a324c0e0f18e277dd0b050",
      "new_mode": 33188,
      "new_path": "proto/def.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7a055da82dd3ee9196d90ea946c924c454a6fd0d",
      "new_mode": 33188,
      "new_path": "tests/core/go_proto_aspect/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c8651b6b199cfc4d767bb6fe7a28d60153c566cd",
      "new_mode": 33188,
      "new_path": "tests/core/go_proto_aspect/README.rst"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0b373f48d9f2e30f30bf4c145797be729cd2bf2e",
      "new_mode": 33188,
      "new_path": "tests/core/go_proto_aspect/codegen.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "96be960271fa97cd34afcc98e373bd0e49f35cb6",
      "new_mode": 33188,
      "new_path": "tests/core/go_proto_aspect/foo.proto"
    }
  ]
}
