)]}'
{
  "commit": "8c09fce1d02a746f1ef39f5b60dba40dbd212eb6",
  "tree": "b30711fb6e2f4fb98dbbcc23eddc84f7ccd74d37",
  "parents": [
    "048a68f3b2a3cbbacc215a888ef9dde5f2f63360"
  ],
  "author": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Thu Sep 18 16:43:20 2025 +0200"
  },
  "committer": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Mon Sep 22 15:15:53 2025 +0200"
  },
  "message": "Honor repo size quota enforcer during project import\n\nImports from GitHub did not consult repository-size quota enforcers,\nallowing projects that exceeded configured limits to proceed, leading to\nquota violations.\n\nIntroduce a preflight quota check to enforce limits early:\n* Add `QuotaCheckStep`, which fetches the GitHub repository size and\n  performs a `QuotaBackend` dry-run against `REPOSITORY_SIZE_GROUP`,\nfailing on error.\n* Wire the step via Guice and `GitImporter`, placing it before clone,\n  project creation so we fail fast with a clear error.\n* Add `QuotaEnforcedException` for consistent, user-friendly error\n  reporting when quota blocks an import.\n\nWhen quotas allow, the import flow is unchanged. This ensures project\nimports respect site policies rather than exceeding quota size limits.\n\nBug: Issue 445826646\nChange-Id: I2ad8d35fac57581fc5e8fbc25134e0fdb90f52ab\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c497a893781d3dd1d7275c2fa24c05af7770f669",
      "old_mode": 33188,
      "old_path": "README.md",
      "new_id": "f5c3d022dcf2122a3e2d0489b21fb61a98167680",
      "new_mode": 33188,
      "new_path": "README.md"
    },
    {
      "type": "modify",
      "old_id": "ef241915c41d297e259c2a23e12bea25ccbb7b5e",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GuiceHttpModule.java",
      "new_id": "add265704ea581e2b7592edb3360095aa4fae9ea",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GuiceHttpModule.java"
    },
    {
      "type": "modify",
      "old_id": "ff814115c1f8992d16b01b303dfe292679908740",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/GitImporter.java",
      "new_id": "d901d8a652f6ff0376b55086fb04c12a48b39966",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/GitImporter.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "057e565ef4b2bf3810e36e9ecfbebbe658a21de3",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/QuotaCheckStep.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8ee4aea8956d3f77de736a00febccf52c2c53a3d",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/QuotaEnforcedException.java"
    }
  ]
}
