)]}'
{
  "commit": "7a564517fa86b5496c16d6f38c4918cce4c93e22",
  "tree": "d3c98a9a21310f6339ebce59a19f03c616de93b6",
  "parents": [
    "af5377e6acfb2de37b7d448063b6d531ba592bfd"
  ],
  "author": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Mon Aug 03 07:40:42 2026 +0200"
  },
  "committer": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Tue Aug 04 08:03:01 2026 +0200"
  },
  "message": "Adapt to current Gerrit plugin API\n\nThe plugin still compiled against APIs that were removed years ago:\nthe ReviewDb entity classes, CapabilityControl, ProjectControl via\nProjectResource.getControl(), and the pre-2.16 location and Input\ntype of the core SetParent REST endpoint.\n\nMigrate to the NoteDb-era equivalents:\n\n* com.google.gerrit.reviewdb.client.Project is now\n  com.google.gerrit.entities.Project; NameKey instances are created\n  via Project.nameKey().\n* Capability and ownership checks go through PermissionBackend:\n  ADMINISTRATE_SERVER for admins, PluginPermission for the two\n  plugin capabilities, and ProjectPermission.WRITE_CONFIG on the\n  project as the modern equivalent of ProjectControl.isOwner().\n* The core endpoint moved to\n  com.google.gerrit.server.restapi.project.SetParent and takes\n  ParentInput from the extensions API; RestModifyView.apply() now\n  returns Response\u003cString\u003e.\n* ProjectCache.get() returns Optional\u003cProjectState\u003e.\n\nThe delegation to the core endpoint with checkIfAdmin\u003dfalse is\nunchanged, as are the jail/protectorate rules from gerrit.config.\n\nChange-Id: I5c1f4b29d8a37e60f14c2db9a5b8e17203f6c4d8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c350d30cf104840094159b26e724e8c88e643e13",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "ea9d58fed639ff0d10129da900b6661bd94ba6ae",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "fae15b3a264eac3ec4248426c346678bbd0a50ae",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/reparent/Module.java",
      "new_id": "b23dfc98bb749aadfdd137af344e36bd14a4744f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/reparent/Module.java"
    },
    {
      "type": "modify",
      "old_id": "ac39e7d59b80b76ec05aa33a5e835fdc909063cf",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/reparent/SetParent.java",
      "new_id": "8ca0b0b11e57c90003f77d9f420ec696c8325efb",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/reparent/SetParent.java"
    }
  ]
}
