)]}'
{
  "commit": "3fdd221342cb318c6648e3f4eb90ab24eb9392e1",
  "tree": "8d0468cc95fc2db225ead13077fc4fc5827b0448",
  "parents": [
    "820bcac9a3461d5dc5ef4844dca3be34dc3e6e58"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Sat Aug 05 10:22:37 2023 +0300"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Aug 07 09:36:06 2023 +0000"
  },
  "message": "Fix cache eviction upon project import from GitHub\n\nThe import phase from GitHub has three steps:\n1. create a Gerrit project with the correct public/private parent\n2. configure the project\u0027s ACLs\n3. import existing commits from GitHub\n\nThe project cache would not needed to be evicted, in theory.\nHowever, after step 1 the project entry is in the projects cache,\nbut not its ACLs. The  step 2 therefore would need to\nwait the projects cache TTL for allowing the ACLs to be taken\ninto consideration, which would take up to 1h by default.\n\nAdd an explicit evict after step 2, so that ACLs have immediate\neffect.\n\nTested manually and verified that:\n\n- Without this change, the ACLs are not used until the projects\n  cache are flused\n- With this change, the ACLs are immediately used right after the\n  project import.\n\nChange-Id: I02880564562f170ef0a73bcec56dd37d39930d7a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f25e6ee78881d9a42d784cb714bd96fdbe1bba94",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java",
      "new_id": "7147d5440351bfad6392301f95573e19dabf0cd9",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java"
    }
  ]
}
