)]}'
{
  "commit": "db01ca6d163f01ad9622da9ab0a60203fee51acc",
  "tree": "d90f608c3b0c0247e83ea1fdfcab311bfa22a360",
  "parents": [
    "251b870e859e1a03b57c8fe24c7692a5e2a10fde"
  ],
  "author": {
    "name": "Ian Wienand",
    "email": "iwienand@redhat.com",
    "time": "Mon May 09 13:19:09 2016 +1000"
  },
  "committer": {
    "name": "Ian Wienand",
    "email": "iwienand@redhat.com",
    "time": "Mon May 09 13:19:09 2016 +1000"
  },
  "message": "Fix return code detection in plugin list generation\n\nAs can be seen in logs of the periodic generation job, our cgit does a\nweird thing where sometimes it returns a 404 page with content, and\nsometimes a zero response (see [1] for example, the last number is\nresponse size).  This appears to be an openstack CI issue; possibly\ndue to cgit caching or similar (see [2] for manual test).  It will\nhave to be investigated with the host apache logs.\n\nThis is resulting in a lot of projects incorrectly being picked up as\nhaving plugins (I7116571d2a2b1fc3a61e5f1ed46ac2cbc244775a).  I\u0027m not\nsure if this problem is also releated to the original status-code\nissues mentioned in the code, but testing shows that cgit is correctly\nreturning 404\u0027s for missing files (you can see in the logs [1]).  Thus\nswitch the logic to examine the return code which avoids this issue.\n\n[1] http://logs.openstack.org/periodic/propose-devstack-plugins-list/e55790c/console.html.gz#_2016-05-04_06_46_51_660\n[2] http://paste.openstack.org/show/496434/\n\nChange-Id: I6a06347d91d091441f6f7b70f99aba6d8e9add4b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "089a6ef93ec29d61984d93904f4d2f197e12e5b3",
      "old_mode": 33188,
      "old_path": "tools/generate-devstack-plugins-list.py",
      "new_id": "bbad1bf50298ab6a44d94c380e533da3c3e57ebe",
      "new_mode": 33188,
      "new_path": "tools/generate-devstack-plugins-list.py"
    }
  ]
}
