On 08/09/2015 04:26 PM, Dirkjan Ochtman wrote: > On Sun, Aug 9, 2015 at 4:09 PM, hasufell <hasuf...@gentoo.org> wrote: >> I was wondering if we should set a standard for referencing bug reports. >> The portage team already does something like that: >> https://github.com/gentoo/portage/commit/b7149002bf23889f280c502afe6ceda0b1345ca3 >> >> Following that, the commit could have been: >> ===== >> sci-libs/opencascade: add USE=vtk >> >> thanks to Helmut Jarausch >> >> X-Gentoo-Bug: 557022 >> X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=557022 >> ===== > > I don't really see why it has to be so verbose. Can we just make it > "bug 557022", or even #557022? That would also make it fit better if > you have a single-line commit message only. >
I think "X-Gentoo-Bug: 557022" also makes the job easier for tools that parse commit messages.