#41: reject gerrit posts with invalid Bug-Url
----------------------+-----------------------
Reporter: danken | Owner: infra@…
Type: task | Status: new
Priority: major | Milestone: oVirt 3.3
Component: General | Version:
Severity: Normal | Keywords:
Blocked By: | Blocking:
----------------------+-----------------------
It is all to common for people to post patches with a comment that
includes a broken or private Bug-Url: label.
gerrit should block such posts on entry. There should be a hook that
verifies that the URL is of a valid form, and that the referred bug is
public. Since accessing bugzilla may be a bit slow, we may need to do this
asynchronously, and give a -1 to such a post.
In my opinion, the only valid form should be
Bug-Url:
https://bugzilla.redhat.com/926954
But others prefer to also allow
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=926954
Bug-Id or buG-url should be rejected, too.
--
Ticket URL: <
https://fedorahosted.org/ovirt/ticket/41>
ovirt <
http://www.ovirt.org/>
oVirt - virtualization made easy.