[ovirt-devel] Stable branch gerrit hook and Related-To: bug

Vered Volansky vered at redhat.com
Tue Sep 16 12:05:01 UTC 2014



----- Original Message -----
> From: "David Caro" <dcaroest at redhat.com>
> To: "Martin Sivak" <msivak at redhat.com>
> Cc: devel at ovirt.org
> Sent: Tuesday, September 16, 2014 2:59:03 PM
> Subject: Re: [ovirt-devel] Stable branch gerrit hook and Related-To: bug
> 
> On Thursday, August 28, 2014 01:37:13 PM David Caro wrote:
> > On 08/27, Martin Sivak wrote:
> > > Hi,
> > > 
> > > I would like to ask if it might be possible for the gerrit hook to stop
> > > giving -1 to patches that do not have bug-url, but have related-to.
> > > 
> > > The reason for this is that I have a rather large patchset that is adding
> > > a new feature. No single patch by itself fixes the referenced bug and
> > > there are also patches that are not related to the feature itself, but
> > > were backported because they did some refactoring that was needed for the
> > > code to apply and/or work properly.
> > I have a couple question, which of these should happen for the
> > Related-To bugs?
> > 
> > * Should it pass the same checks than a Bug-Url?
> >   Most probably yes
> >   Right now that is:
> >     - Public
> >     - Target release
> >     - Product
> > * Should it change the bug statuses too?
> >   Most probably no
> 
> About this, the patches that have the Related-To should be taken into
> account when changing the bug to MODIFIED?
> 
> If so the bug will not be changed to MODIFIED if the last open bug uses
> Related-To tab instead og Bug-Url.
> 
Sounds good to me. Related-to shouldn't change a bug from post to modified.

> If not, you might end up with open patches added t a bug that is on
> MODIFIED state.
> 
> And you will have bugs not on POST state that have external bugs, as
> those bugs will not change the status.
> 
> Is that ok? I can add a message to one of the fields of the bug so
> it's easy to see it's a related bug.

+1
> 
> > * Should it update the external trackers of the bug?
> >   Most probably yes
> > 
> > > --
> > > Martin Sivák
> > > msivak at redhat.com
> > > Red Hat Czech
> > > RHEV-M SLA / Brno, CZ
> > > 
> > > _______________________________________________
> > > Devel mailing list
> > > Devel at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/devel
> 
> --
> David Caro
> 
> Red Hat S.L.
> Continuous Integration Engineer - EMEA ENG Virtualization R&D
> 
> Tel.: +420 532 294 605
> Email: dcaro at redhat.com
> Web: www.redhat.com
> RHT Global #: 82-62605
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel



More information about the Devel mailing list