[ovirt-devel] Verify Grade (-1) for check_product and check_target_milestone hooks

Francesco Romani fromani at redhat.com
Tue Feb 7 08:18:50 UTC 2017


On 02/05/2017 12:39 PM, Tal Nisan wrote:
> Great, thanks!
> I will let you know if something doesn't work as it should
>
> On Sun, Feb 5, 2017 at 12:09 PM, Shlomo Ben David <sbendavi at redhat.com
> <mailto:sbendavi at redhat.com>> wrote:
>
>     Hi Tal,
>
>     I'm going to apply today the verify grade (-1) for the following
>     hooks:
>
>      1. *check_product* - if the patch project is not the same as the
>         bug product will return a verify grade (-1).
>      2. *check_target_milestone* - if the patch branch major version
>         is not the same as the bug target milestone major version will
>         return a verify grade (-1).
>
>     Best Regards,
>

Let's consider this scenario: we just begin developing the 4.2 version
on the master branch; we just released the 4.1.0 version, so we have the
4.1.z branch, and we are still supporting the 4.0.z branch.
Let's consider a bug which needs to be backported in the 4.0.z branch,
from master, of course passing throgh 4.1.z

0. bug target milestone is 4.0.N+1 (last release is 4.0.N)
1. patch on master -> OK
2. patch backported first time on branch 4.1.z
   -> check_target_milestone fails! branch major 4.1, bug target 4.0

It seems that this flow doesn't cover the case on which we need a double
backport.

Bests,

-- 
Francesco Romani
Red Hat Engineering Virtualization R & D
IRC: fromani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170207/c97bb192/attachment.html>


More information about the Devel mailing list