)]}'
{
  "commit": "60c922b0518a5fd4919688e251d1184c969383e8",
  "tree": "79ad6bdba8acd1e6f44b4c9d770da63fb094ebb3",
  "parents": [
    "441ece925c523ecccdcb57a2bf5e874336ea595a"
  ],
  "author": {
    "name": "Bhoomika Srinivas",
    "email": "bhoomikas@nvidia.com",
    "time": "Wed Sep 30 14:09:51 2026 +0530"
  },
  "committer": {
    "name": "Bhoomika Srinivas",
    "email": "bhoomikas@nvidia.com",
    "time": "Mon Nov 02 01:18:46 2026 +0530"
  },
  "message": "Name url distribution by the reason it is asked\n\n`Instance.select` answered for every caller: pushing refs, creating a\nproject, updating its HEAD and deleting it all asked the same question,\nso a reader had to follow the call sites to see which policy applied,\nand a strategy could not treat one of them differently. Replace it with\n`urlsToReplicateTo`, `urlsToCreateOn` and `urlsToDeleteFrom`, the\nreasons the plugin asks for, and let creating and deleting default to\nthe URLs a project is replicated to, which is where it was written. A\nHEAD update replicates a ref like any other, so it keeps following\n`urlsToReplicateTo`.\n\nNo strategy answers them differently yet, so behaviour is unchanged:\n`all` keeps creating on and deleting from every URL, `roundRobin` one\nURL at a time and `projectSharded` the URL owning the project. Whether\nthose are the right policies can now be decided per reason, and in this\nclass rather than in its callers.\n\nChange-Id: Ib793439e85e3b7c5c40432965b8aa2c22b5cb42e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "873ec8208e6956b6d8e0511c1f8263c59b30ef2e",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java",
      "new_id": "a6a72938bb35fc89a96615b95ed26c856bef9907",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java"
    },
    {
      "type": "modify",
      "old_id": "58ebed84438e6e580b90fad939e0c3dd92d92d97",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/DestinationsCollection.java",
      "new_id": "133e011324a32a0c5342e4e5ebf07a3cede9ded7",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/DestinationsCollection.java"
    },
    {
      "type": "modify",
      "old_id": "5d7fd19baf52d7623eabd1c59b8c0c1aa54f5f31",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java",
      "new_id": "8811f6e7435166eab85d5d04990e71e6685a2da8",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java"
    },
    {
      "type": "modify",
      "old_id": "50d6504b1b5fd8e64a62c4522288a282a65b5059",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/UrlDistributionStrategy.java",
      "new_id": "92095df4c3f22cc0391a61ec327dd98c78850334",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/UrlDistributionStrategy.java"
    },
    {
      "type": "modify",
      "old_id": "2ded31e846d542f6f6d83ee241c20d84d3c29a20",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/UrlDistributionStrategyTest.java",
      "new_id": "1eaa6ebd006b2bfbd77f5f49e933c75b4cb3423b",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/UrlDistributionStrategyTest.java"
    }
  ]
}
