Comment 7 for bug 1337735

Revision history for this message
Jeremy Stanley (fungi) wrote :

I'm weighing possible solutions now... unfortunately any replacement of the broken commit will require database updates and a Gerrit shutdown to regenerate its lucene search index. I could just delete it from the on-disk repository, though that would likely cause issues in the UI.

It's worrisome that jgit will permit upload of commits which cgit considers to be malformed. Perhaps this could be prevented in the future with a hook script? Otherwise it's an easy-to-exploit denial of service against replication to GitHub. At least replication to other cgit servers seems to be unaffected... http://git.openstack.org/cgit/openstack/neutron-specs/commit/?id=5909192