)]}'
{
  "commit": "4a3d32baed3741a9a6cb909c7166f98d7faead81",
  "tree": "9d497edad29ed8cdf9bd29b9596c910dc2e7065d",
  "parents": [
    "8bfa73d7cb513c8853637660865384bc5b59bc21"
  ],
  "author": {
    "name": "Jan Kundrát",
    "email": "jan.kundrat@cesnet.cz",
    "time": "Wed Feb 06 15:35:59 2019 +0100"
  },
  "committer": {
    "name": "Jan Kundrát",
    "email": "jan.kundrat@cesnet.cz",
    "time": "Wed Feb 06 18:01:10 2019 +0100"
  },
  "message": "Use per-project settings for Zuul v3 support\n\nIn Zuul v3, the whole API is split by the tenant name; there is no\npossibility to request status of a change without knowing the tenant\nname.\n\nThis patch adapts Tricium\u0027s code for per-project setting retrieval. The\ntop-level global variable in site-path/etc/gerrit.config is no longer\nused. Given that this is a fresh plugin, I think it\u0027s safe to make that\nchange now without any extra compatibility code. The value can be set\njust as easily in All-Project\u0027s refs/meta/config.\n\nIt was also necessary to remove that extra JSON Content-Type header.\nWithout that, Firefox would complain about Access-Control-Allow-Headers\nnot allowing the `content-type`. It seems that there\u0027s no need to send\nthese headers in the first place.\n\nThe curret version is able to show the status dashboard for the ucurrent\njob in both Zuul v2 and Zuul v3. In v2, links point to individual job\u0027s\nlogs. For v3, they go to a not-that-useful page with job description.\nThat will be fixed later.\n\nI also plan to expand this a bit for Zuul v3 because it supports\nquerying build results even after all jobs have concluded. I hope to\noffer a nice and simple but persistent indication of job results so that\none could configure PolyGerrit to hide bot\u0027s comments by default, only\nrelying on the zuul-status\u0027 output as a result matrix. That\u0027s future\nwork, though.\n\nChange-Id: I93b4d6fcd7c312ddc543bff42522c82be77d7a76\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dae676dfc5173843456e04c5cf249b65e86fd72d",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/zuulstatus/GetConfig.java",
      "new_id": "162275526ecb00e33e967a9080acbc38450df01d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/zuulstatus/GetConfig.java"
    },
    {
      "type": "modify",
      "old_id": "e2e3d9184e3e63f0f98ff28fa371f8f1d7c34197",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/zuulstatus/Module.java",
      "new_id": "59dcff606451c00efda5443b22833bcbae6e328c",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/zuulstatus/Module.java"
    },
    {
      "type": "modify",
      "old_id": "3dacbe1a5b39c5b08483efc641f04f9aa4696822",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "2babffed903a53c39b87d25da92e3a7d7218ebc6",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "de873ae0cd0c2be49dfc257593d39fe4af9ab30d",
      "old_mode": 33188,
      "old_path": "src/main/resources/static/zuul-status-view.js",
      "new_id": "b10dec7dd886a3a42e953da263898420c4e9448a",
      "new_mode": 33188,
      "new_path": "src/main/resources/static/zuul-status-view.js"
    }
  ]
}
