)]}'
{
  "commit": "46cfb7dd5b6891f991cfe66e72c08953487c1c81",
  "tree": "e285242ac5ff7003263b3755efc4e21013046a5d",
  "parents": [
    "dc9bb2e946e4c6c31e8a4665f30eca6d00017523"
  ],
  "author": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Fri Jul 23 14:31:25 2021 +0200"
  },
  "committer": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Thu Jul 29 15:14:42 2021 +0200"
  },
  "message": "Inherit remote replication events from a common parent\n\nThe replication plugin models replication events that are directed to a\nspecific remote.\n\nThese are:\n\nRefReplicatedEvent and ReplicationScheduledEvent\n\nThese events share many fields (such as project, ref, target) and this\nmakes sense, as they all represent the status of a ref replication to a\nparticular remote.\n\nHowever, rather than inheriting from a common parent, most fields are\ncopy \u0026 pasted redundantly into each event.\n\nExtract common fields by having RefReplicatedEvent and\nReplicationScheduledEvent inherit from a common parent.\n\nThis also opens the door for other ref-replication-based events (such as\npull-replication for example) to adhere to the same interface.\n\nBug: Issue 14819\nChange-Id: I29da700bf6671159bd6ae29b00ef6b962ef0fcb5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b0c554eca77666db905bf66c40d3fbb8e726575e",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/events/RefReplicatedEvent.java",
      "new_id": "c8347d12433b1e4f4898c966d5f25079a93c08d3",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/events/RefReplicatedEvent.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3950c3feee4b2a1978b2adab977c954b3ffdee2b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/events/RemoteRefReplicationEvent.java"
    },
    {
      "type": "modify",
      "old_id": "4a1ade850114aa825f6017303de06a390770cfba",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/events/ReplicationScheduledEvent.java",
      "new_id": "a95277796e6ef27109747358f9a743ae9f1db9b2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/events/ReplicationScheduledEvent.java"
    },
    {
      "type": "modify",
      "old_id": "2d69a472b14db0f24a9c133ff02f2fbea4e5b305",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationEventsIT.java",
      "new_id": "4cd55f9b82938bce4bbbc8ef4996405aab08dab1",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationEventsIT.java"
    }
  ]
}
