1 |
Dnia 2015-08-10, o godz. 00:44:09 |
2 |
Andrew Savchenko <bircoph@g.o> napisał(a): |
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: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b3fd64 |
15 |
> > > > |
16 |
> > > > sci-libs/opencascade: add USE=vtk (bug 557022, thanks Helmut Jarausch). |
17 |
> > > > |
18 |
> > > |
19 |
> > > I was wondering if we should set a standard for referencing bug reports. |
20 |
> > > The portage team already does something like that: |
21 |
> > > https://github.com/gentoo/portage/commit/b7149002bf23889f280c502afe6ceda0b1345ca3 |
22 |
> > > |
23 |
> > > Following that, the commit could have been: |
24 |
> > > ===== |
25 |
> > > sci-libs/opencascade: add USE=vtk |
26 |
> > > |
27 |
> > > thanks to Helmut Jarausch |
28 |
> > > |
29 |
> > > X-Gentoo-Bug: 557022 |
30 |
> > > X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=557022 |
31 |
> > > ===== |
32 |
> > |
33 |
> > Which is terribly redundant. Just put the whole bug URL. Advantages: |
34 |
> > |
35 |
> > - keeps the bug namespaced to bugs.gentoo.org, |
36 |
> > - has the bug no inside, |
37 |
> > - is convenient -- you can click it instead of copy-pasting the no. |
38 |
> |
39 |
> 1. URL may change in future, bug number — unlikely. |
40 |
|
41 |
If the URL changes, we need to provide backwards compatibility. Too |
42 |
many resources already depend on that. |
43 |
|
44 |
> 2. Bug number can be easily typed, URL has to be copied or |
45 |
> generated by some tool. |
46 |
|
47 |
So, please remind me, how many times the 'easy typing' got the bug |
48 |
number wrong? This is not a real argument, just another of Gentoo's |
49 |
'I'm too lazy to do things right'. |
50 |
|
51 |
> 3. Too many text, hard to read. Some bugs may refer to a dozen of |
52 |
> URLs. |
53 |
|
54 |
And how is a dozen numbers better? |
55 |
|
56 |
> 4. It is easier to copy a number, than selecting and copying whole |
57 |
> string. Not all terminals support running browser on URL click. |
58 |
|
59 |
So we should optimize for a corner case? |
60 |
|
61 |
> 5. Clicking is less convenient than typing "bugs search $number" — |
62 |
> user have to move hands from a keyboard to a mouse — a terrible |
63 |
> waste of time, at least in my case with my typing speed. |
64 |
|
65 |
You can type the number you see at the end of the URL. If you really |
66 |
want to go l33t, that shouldn't a problem for you. |
67 |
|
68 |
-- |
69 |
Best regards, |
70 |
Michał Górny |
71 |
<http://dev.gentoo.org/~mgorny/> |