Gentoo Archives: gentoo-dev

From: "Daniel Campbell (zlg)" <zlg@g.o>
To: 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: Mon, 10 Aug 2015 00:02:36
Message-Id: 55C7EA13.6050507@gentoo.org
In Reply to: Re: [gentoo-dev] Referencing bug reports in git (WAS: Re: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/) by "Michał Górny"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 08/09/2015 02:11 PM, Michał Górny wrote:
5 > Dnia 2015-08-09, o godz. 23:01:32 hasufell <hasufell@g.o>
6 > napisał(a):
7 >
8 >> On 08/09/2015 09:56 PM, Michał Górny wrote:
9 >>> Dnia 2015-08-09, o godz. 16:09:29 hasufell
10 >>> <hasufell@g.o> napisał(a):
11 >>>
12 >>>> On 08/09/2015 03:58 PM, Michael Weber wrote:
13 >>>>> commit: 40b3fd64ec9c5d6d94f0f0897740bc77622c24a1
14 >>>>> Author: Michael Weber <xmw <AT> gentoo <DOT> org>
15 >>>>> AuthorDate: Sun Aug 9 13:58:26 2015 +0000 Commit:
16 >>>>> Michael Weber <xmw <AT> gentoo <DOT> org> CommitDate: Sun
17 >>>>> Aug 9 13:58:26 2015 +0000 URL:
18 >>>>> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b3fd64
19 >>>>>
20 >>>>>
21 >>>>>
22 sci-libs/opencascade: add USE=vtk (bug 557022, thanks Helmut Jarausch).
23 >>>>>
24 >>>>
25 >>>> I was wondering if we should set a standard for referencing
26 >>>> bug reports. The portage team already does something like
27 >>>> that:
28 >>>> https://github.com/gentoo/portage/commit/b7149002bf23889f280c502afe
29 6ceda0b1345ca3
30 >>>>
31 >>>>
32 >>>>
33 Following that, the commit could have been:
34 >>>> ===== sci-libs/opencascade: add USE=vtk
35 >>>>
36 >>>> thanks to Helmut Jarausch
37 >>>>
38 >>>> X-Gentoo-Bug: 557022 X-Gentoo-Bug-url:
39 >>>> https://bugs.gentoo.org/show_bug.cgi?id=557022 =====
40 >>>
41 >>> Which is terribly redundant. Just put the whole bug URL.
42 >>> Advantages:
43 >>>
44 >>> - keeps the bug namespaced to bugs.gentoo.org, - has the bug no
45 >>> inside, - is convenient -- you can click it instead of
46 >>> copy-pasting the no.
47 >>>
48 >>> Also there are some standard keywords that are sometimes used
49 >>> to reference bugs, like 'Fixes:' used by x.org.
50 >>>
51 >>
52 >> I am not sure what exactly you do propose.
53 >
54 > Fixes: https://bugs.gentoo.org/show_bug.cgi?id=557022 References:
55 > https://bugs.gentoo.org/show_bug.cgi?id=557022 X-Bug-URL:
56 > https://bugs.gentoo.org/show_bug.cgi?id=557022 Whatever:
57 > https://bugs.gentoo.org/show_bug.cgi?id=557022
58 >
59 > Just no magical numbers which are meaningless without the context.
60 >
61 The issue with linking is that we may not be using show_bug.cgi (or
62 'id' in GET) forever. Bug numbers would be feasible to migrate outside
63 of Bugzilla, and technically a webserver can be used to translate
64 those URLs, but the important bit of information is the bug number.
65
66 I don't know about you guys, but I have a "smart bookmark" in Firefox
67 where I type "bgo xxxxxx" and it'll take me to the relevant bug. It'd
68 be trivial to set that up as a bash alias, too. There are tons of ways
69 to get to a bug; the important part is the bug number. I think putting
70 the URL in there adds extra work for us later down the road should we
71 migrate away from Bugzilla.
72
73 - --
74 Daniel Campbell - Gentoo Developer
75 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
76 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
77 -----BEGIN PGP SIGNATURE-----
78 Version: GnuPG v2
79
80 iQIcBAEBCAAGBQJVx+oQAAoJEAEkDpRQOeFwoYwQAKSYfi2sXsYfghAsA/ym+sV9
81 aP6+1iTlOqxibYwfMrF5S6PeCIZDgfX/FMV41L344b2nchcOQz6JrgZ/iAWeOOHR
82 fvlzP1jz879P3xW2vktdOpEBK8j2Pz8M12qJuYLCM98u2mTqGKl6MieuTD5l5LDq
83 PASSyI1BckNcBDgiiI9IDkXzINLEYDIoTKCLvndyCBabeF+0ydRK9iX+iHHPhnG7
84 qz7AndjuSl6JbT0W6IPvkpssSFC67bfq2vEUows+Ek3CvhE/K+qcopcbnJjJyfsf
85 0ELaKUzNgioW6blX/uQK6pfs5QIsZpfM/mhrMa5y03a7b+JZUt+HEsyh8hmSf7lP
86 LhfOnV+h4EAAREFdYa9MI1Hn+rZ/lfTOY1Gp0pHFKAX9cu7Xhxn6uu9he6M8EOPG
87 es03hoB5cyzvsBJ/r7OggySidXeovtFVdPuPDkom82KqqrB/qG9qM458u4d8uWh/
88 y3nMLKCPuOiKL981RNijXwjZ5MKxSFrgrutgEQ+tJfiLfncz8ySmqNjrP2DJQBwi
89 +vK7/trpooh//6yEFVq+MYH8COqFzQrImkHe4OprrxQFBTLeCfVwMp15Usw73Wbh
90 D8+7rW2uz9TYqBom/dAdEzLNO00DKpJpp724k4RXsE6FCeT2N+6vIJZfyNTiB8f1
91 ohES4L5gJI3GZnr556G3
92 =pxsK
93 -----END PGP SIGNATURE-----

Replies