Gentoo Archives: gentoo-dev

From: Ryan Hill <rhill@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Referencing bug reports in git (WAS: Re: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/)
Date: Mon, 10 Aug 2015 00:05:20
Message-Id: 20150809180808.38cee4f5@caribou.gateway.pace.com
In Reply to: Re: [gentoo-dev] Referencing bug reports in git (WAS: Re: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/) by Andrew Savchenko
1 On Mon, 10 Aug 2015 00:44:09 +0300
2 Andrew Savchenko <bircoph@g.o> wrote:
3
4 > On Sun, 9 Aug 2015 21:56:05 +0200 Michał Górny wrote:
5 > > Dnia 2015-08-09, o godz. 16:09:29
6 > > hasufell <hasufell@g.o> napisał(a):
7 > >
8 > > > On 08/09/2015 03:58 PM, Michael Weber wrote:
9 > > > > commit: 40b3fd64ec9c5d6d94f0f0897740bc77622c24a1
10 > > > > Author: Michael Weber <xmw <AT> gentoo <DOT> org>
11 > > > > AuthorDate: Sun Aug 9 13:58:26 2015 +0000
12 > > > > Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
13 > > > > CommitDate: Sun Aug 9 13:58:26 2015 +0000
14 > > > > URL:
15 > > > > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b3fd64
16 > > > >
17 > > > > sci-libs/opencascade: add USE=vtk (bug 557022, thanks Helmut Jarausch).
18 > > > >
19 > > >
20 > > > I was wondering if we should set a standard for referencing bug reports.
21 > > > The portage team already does something like that:
22 > > > https://github.com/gentoo/portage/commit/b7149002bf23889f280c502afe6ceda0b1345ca3
23 > > >
24 > > > Following that, the commit could have been:
25 > > > =====
26 > > > sci-libs/opencascade: add USE=vtk
27 > > >
28 > > > thanks to Helmut Jarausch
29 > > >
30 > > > X-Gentoo-Bug: 557022
31 > > > X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=557022
32 > > > =====
33 > >
34 > > Which is terribly redundant. Just put the whole bug URL. Advantages:
35 > >
36 > > - keeps the bug namespaced to bugs.gentoo.org,
37 > > - has the bug no inside,
38 > > - is convenient -- you can click it instead of copy-pasting the no.
39 >
40 > 1. URL may change in future, bug number — unlikely.
41 > 2. Bug number can be easily typed, URL has to be copied or
42 > generated by some tool.
43 > 3. Too many text, hard to read. Some bugs may refer to a dozen of
44 > URLs.
45 > 4. It is easier to copy a number, than selecting and copying whole
46 > string. Not all terminals support running browser on URL click.
47 > 5. Clicking is less convenient than typing "bugs search $number" —
48 > user have to move hands from a keyboard to a mouse — a terrible
49 > waste of time, at least in my case with my typing speed.
50 >
51 > Best regards,
52 > Andrew Savchenko
53 >
54
55 Also the URL should be https://bugs.gentoo.org/557022 so already that's wrong.
56
57
58 --
59 Ryan Hill psn: dirtyepic_sk
60 gcc-porting/toolchain/wxwidgets @ gentoo.org
61
62 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463