linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A patch referencing this bug report has been merged...
@ 2013-01-30  9:14 Jani Nikula
  2013-03-02 18:35 ` Florian Mickler
  0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2013-01-30  9:14 UTC (permalink / raw)
  To: Florian Mickler; +Cc: linux-kernel, dri-devel, Daniel Vetter


Hi Florian, all -

First, thanks for your work on adding the bugzilla comments when patches
referencing bugs get merged. I find it useful.

Recently however there was a comment about a commit referencing a commit
referencing the bug report. Turns out the comment was missing one level
of indirection, it was really about a commit referencing a commit
referencing a commit referencing the bug [1].

Do we really need go that far, or is that a bug in your scripts? I think
three levels of indirection is more noise than signal; two might be
still be okay. What do others think?

BR,
Jani.


[1] https://bugs.freedesktop.org/show_bug.cgi?id=52424#c56

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A patch referencing this bug report has been merged...
  2013-01-30  9:14 A patch referencing this bug report has been merged Jani Nikula
@ 2013-03-02 18:35 ` Florian Mickler
  2013-03-03 17:05   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Mickler @ 2013-03-02 18:35 UTC (permalink / raw)
  To: Jani Nikula; +Cc: linux-kernel, dri-devel, Daniel Vetter

On Wed, 30 Jan 2013 11:14:01 +0200
Jani Nikula <jani.nikula@intel.com> wrote:

> 
> Hi Florian, all -
> 
> First, thanks for your work on adding the bugzilla comments when patches
> referencing bugs get merged. I find it useful.
> 
> Recently however there was a comment about a commit referencing a commit
> referencing the bug report. Turns out the comment was missing one level
> of indirection, it was really about a commit referencing a commit
> referencing a commit referencing the bug [1].
> 
> Do we really need go that far, or is that a bug in your scripts? I think
> three levels of indirection is more noise than signal; two might be
> still be okay. What do others think?
> 
> BR,
> Jani.
> 
> 
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=52424#c56

Is it really a problem? I can change it of course, but I doubt it is
worth the hassle. At the moment I just record sha1 -> bug associations
and if in a commit message, the mentioned (full!) sha1 is associated to
a bug, I associate that commit with that bug. 

If someone goes to the trouble to actually mention the sha1 in a
commit message, that probably means it really is an important
connection.
And if that commit is associated with a bug, then that should mean
something too. 

Think about multiple attempts to fix a bug which get always reverted
because the hardware is really acting up in different ways with every
attempt... 

As it is, I don't think it is worth the trouble. If you feel strongly
about the message, I can reword it to be somewhat unspecific about the
level of indirection... what do you think?


Regards,
Flo

p.s.: sorry for the late response, I'm having a bit of trouble with my
mail setup at the moment and too much to do...

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A patch referencing this bug report has been merged...
  2013-03-02 18:35 ` Florian Mickler
@ 2013-03-03 17:05   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2013-03-03 17:05 UTC (permalink / raw)
  To: Florian Mickler; +Cc: Jani Nikula, linux-kernel, dri-devel, Daniel Vetter

On Sat, Mar 02, 2013 at 07:35:45PM +0100, Florian Mickler wrote:
> On Wed, 30 Jan 2013 11:14:01 +0200
> Jani Nikula <jani.nikula@intel.com> wrote:
> 
> > 
> > Hi Florian, all -
> > 
> > First, thanks for your work on adding the bugzilla comments when patches
> > referencing bugs get merged. I find it useful.
> > 
> > Recently however there was a comment about a commit referencing a commit
> > referencing the bug report. Turns out the comment was missing one level
> > of indirection, it was really about a commit referencing a commit
> > referencing a commit referencing the bug [1].
> > 
> > Do we really need go that far, or is that a bug in your scripts? I think
> > three levels of indirection is more noise than signal; two might be
> > still be okay. What do others think?
> > 
> > BR,
> > Jani.
> > 
> > 
> > [1] https://bugs.freedesktop.org/show_bug.cgi?id=52424#c56
> 
> Is it really a problem? I can change it of course, but I doubt it is
> worth the hassle. At the moment I just record sha1 -> bug associations
> and if in a commit message, the mentioned (full!) sha1 is associated to
> a bug, I associate that commit with that bug. 
> 
> If someone goes to the trouble to actually mention the sha1 in a
> commit message, that probably means it really is an important
> connection.
> And if that commit is associated with a bug, then that should mean
> something too. 
> 
> Think about multiple attempts to fix a bug which get always reverted
> because the hardware is really acting up in different ways with every
> attempt... 
> 
> As it is, I don't think it is worth the trouble. If you feel strongly
> about the message, I can reword it to be somewhat unspecific about the
> level of indirection... what do you think?

I think the multiple-indirection bug entries are ok, and could indeed be
useful to stitch together the story of a bug (or help us remember to
reopen a bug if we need to revert a patch). I guess drm/i915 hit a few
more of those than other people since we're always citing commits in full
(we paste --pretty=short into  commit messages). And we also tend to cite
a lot of commits, sometimes mentioning all relevant changes to the code in
the past few years ;-) Together with our tendecy to track all bug reports
in bugzilla that leads to the oddball useless commit entry in a bug.

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-03 17:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-30  9:14 A patch referencing this bug report has been merged Jani Nikula
2013-03-02 18:35 ` Florian Mickler
2013-03-03 17:05   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).