)]}'
{
  "commit": "aacb8b2a20267e88ccda811d27293bac66e2006b",
  "tree": "cd5e5908e9c7b7b2491f334e617c2e1c74763e61",
  "parents": [
    "88efdc57266b579534dc97edac8a909f7e7b6e5e"
  ],
  "author": {
    "name": "Dariusz Luksza",
    "email": "dariusz.luksza@gmail.com",
    "time": "Mon May 20 22:07:45 2024 +0100"
  },
  "committer": {
    "name": "Dariusz Luksza",
    "email": "dariusz.luksza@gmail.com",
    "time": "Mon Jun 10 22:03:56 2024 +0100"
  },
  "message": "Temporarily bind ReplicationRemotesUpdater as DynamicItem\n\nTo unblock other work around the github and pull_replication plugins,\nbind the `ReplicationRemotesUpdater` as a `DynamicItem`. This allows us\nto keep the API definition in the ApiModule and hide all of the\nimplementation details in the main replication plugin.\n\nThe `DynamicItem` is not an ideal choice here as it can be bound by any\nplugin which could lead to unpredicted behaviour.\n\nHopefully, in the future, we\u0027ll be able to move to _StaticItem_ (Issue\n338786480). Or refactor the plugin in a way that configuration details\ncould be moved into the `.api` package and stay hidden there.\n\nFor now, the best choice is to go with `DynamicItem`.\n\nBug: Issue 330495476\nChange-Id: I349461e29d8cbd7a6d5e10c1e07ae8b7451b9f4d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5df832effe0a1be00962b84759a0745ee1ae75b9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationModule.java",
      "new_id": "b7115737657728de36450f703efecf8e0a4c8e5a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationModule.java"
    },
    {
      "type": "rename",
      "old_id": "a5e84d99797388a2e7ad95b294f87ba985bb174f",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationRemotesUpdater.java",
      "new_id": "b55cbfbc010908039635dcb0c2af57e1665f602f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationRemotesUpdaterImpl.java",
      "score": 82
    },
    {
      "type": "modify",
      "old_id": "3764ede3bc7ab8c77fec4d3fddf0c59c0521ac2d",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/api/ApiModule.java",
      "new_id": "45ce5ede9d639be9139007b0685fc9f9acb3a670",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/api/ApiModule.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "20d661d849d0d49156bc9fb906864d2d5027c24f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/api/ReplicationRemotesUpdater.java"
    },
    {
      "type": "modify",
      "old_id": "bf566f23f5e40a88f88ddfd2b98018f758c97847",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationRemotesUpdaterTest.java",
      "new_id": "c3508b37a4fea95086cb7593de48aab9733e38c4",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationRemotesUpdaterTest.java"
    }
  ]
}
