Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: hasufell <hasufell@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Referencing bug reports in git (WAS: Re: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/)
Date: Sun, 09 Aug 2015 19:56:24
Message-Id: 20150809215605.27ae6427@pomiot
In Reply to: [gentoo-dev] Referencing bug reports in git (WAS: Re: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/) by hasufell
1 Dnia 2015-08-09, o godz. 16:09:29
2 hasufell <hasufell@g.o> napisał(a):
3
4 > On 08/09/2015 03:58 PM, Michael Weber wrote:
5 > > commit: 40b3fd64ec9c5d6d94f0f0897740bc77622c24a1
6 > > Author: Michael Weber <xmw <AT> gentoo <DOT> org>
7 > > AuthorDate: Sun Aug 9 13:58:26 2015 +0000
8 > > Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
9 > > CommitDate: Sun Aug 9 13:58:26 2015 +0000
10 > > URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b3fd64
11 > >
12 > > sci-libs/opencascade: add USE=vtk (bug 557022, thanks Helmut Jarausch).
13 > >
14 >
15 > I was wondering if we should set a standard for referencing bug reports.
16 > The portage team already does something like that:
17 > https://github.com/gentoo/portage/commit/b7149002bf23889f280c502afe6ceda0b1345ca3
18 >
19 > Following that, the commit could have been:
20 > =====
21 > sci-libs/opencascade: add USE=vtk
22 >
23 > thanks to Helmut Jarausch
24 >
25 > X-Gentoo-Bug: 557022
26 > X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=557022
27 > =====
28
29 Which is terribly redundant. Just put the whole bug URL. Advantages:
30
31 - keeps the bug namespaced to bugs.gentoo.org,
32 - has the bug no inside,
33 - is convenient -- you can click it instead of copy-pasting the no.
34
35 Also there are some standard keywords that are sometimes used to
36 reference bugs, like 'Fixes:' used by x.org.
37
38 --
39 Best regards,
40 Michał Górny
41 <http://dev.gentoo.org/~mgorny/>

Replies