[OpenStack-Infra] enforce bug ids in commit message

Darragh Bailey daragh.bailey at gmail.com
Tue Mar 24 19:27:04 UTC 2015


I believe the its-* plugins for gerrit could handle this for you, recently
someone mentioned on the repo mailing list that you can even exclude
branches from the requirement.

I'd suggest asking there directly if you haven't already.

Darragh
On 23 Mar 2015 22:17, "Jeremy Stanley" <fungi at yuggoth.org> wrote:

> On 2015-03-23 12:00:26 +0530 (+0530), Vinay Mahuli wrote:
> > I need info on where to make this change in a similar way how
> > Change-Id is checked/validated.
>
> "Require Change-Id in commit message" is a project-specific setting
> built into Gerrit by default.
>
> <URL:
> https://gerrit-review.googlesource.com/Documentation/project-configuration.html#_require_change_id
> >
>
> Something similar may be possible by writing a Gerrit plug-in or a
> hook script, but it will almost certainly use a different mechanism
> as it won't be implemented directly in the Gerrit codebase as a
> built-in feature.
> --
> Jeremy Stanley
>
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20150324/394cf9f3/attachment.html>


More information about the OpenStack-Infra mailing list