[Openstack-docs] Proposal: commit log annotation-driven auto-backports

Lorin Hochstein lorin at nimbisservices.com
Sun Jun 2 01:40:10 UTC 2013


All:

I've noticed that there have been several bugs in the grizzly branch that
were fixed in the master but hadn't been backported to stable/grizzly. I'd
like to propose the following automated approach to ensure backports happen
more regularly:

Any patch to the master branch must specify in the commit message whether
the patch should be backported. For example:

backport: stable/grizzly

or

backport: none

or

backport: stable/grizzly stable/folsom


If this line is missing from the commit log, then a gating job will fail,
and jenkins will link to the error message (e.g., "Missing 'backport: '
line. Please specify "backport: stable/grizzly" if this should be
backported to grizzly or "backport: none" if this shouldn't be backported).

When the patch is merged into trunk, then jenkins automatically does a
cherry-pick and merge proposal against the branches specified in the
backport line.


What do you folks think?


Lorin

-- 
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20130601/8dea7ba1/attachment.html>


More information about the Openstack-docs mailing list