[OpenStack-Infra] enforce bug ids in commit message

Jeremy Stanley fungi at yuggoth.org
Mon Mar 23 22:15:27 UTC 2015


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



More information about the OpenStack-Infra mailing list