)]}'
{
  "commit": "14624504bf71b24d8079d569851c6c1471e74670",
  "tree": "93f8857fdb61969deb958f513ba57406f4c5bb97",
  "parents": [
    "77d2a55ec793216f7df6a21969162ab4e0d52d96"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Feb 27 23:57:52 2023 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Mar 13 20:56:11 2023 +0000"
  },
  "message": "Set parent project at creation time for imported repos from GitHub\n\nThe configuration of the Gerrit parent project should be done\nright at creation time for avoiding to have cached ACLs on the\nprevious project hierarchy.\n\nGerrit does not evict the whole chain of project hierarchy\nfor avoiding expensive cache coherence evaluation. However, the\nimport of a project with the wrong public hierarchy\nmay lead the project to be public right after the import.\n\nThe cache eviction would then eventually make the repository\nprivate, however the exposure to external access for a few minutes\nrepresent a security risk and therefore must be avoided at all\ncosts.\n\nMove the parent project definition at the GitCloneStep stage\nso that the right hierarchy is in place at the time of the\ngit fetch from GitHub.\n\nBug: Issue 16727\nChange-Id: Id1a6c4809eed43ba618ed13e2c3161a8968dd063\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "870a13b13507ae6ab878dd129cf6eed355e5e116",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java",
      "new_id": "f25e6ee78881d9a42d784cb714bd96fdbe1bba94",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java"
    },
    {
      "type": "modify",
      "old_id": "02dfe87c2b06b532c07f31fc76061f1124bdd72f",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/GitCloneStep.java",
      "new_id": "bcd725e58dd47e122367a2d132ecdc2bb2877df7",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/GitCloneStep.java"
    }
  ]
}
