Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: Andrew Savchenko <bircoph@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: Mon, 10 Aug 2015 21:06:52
Message-Id: 20150810230630.73f03cd8@pomiot
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 Dnia 2015-08-10, o godz. 23:43:29
2 Andrew Savchenko <bircoph@g.o> napisał(a):
3
4 > On Mon, 10 Aug 2015 15:11:02 +0200 Michał Górny wrote:
5 > > > > > 2. Bug number can be easily typed, URL has to be copied or
6 > > > > > generated by some tool.
7 > > > >
8 > > > > So, please remind me, how many times the 'easy typing' got the bug
9 > > > > number wrong? This is not a real argument, just another of Gentoo's
10 > > > > 'I'm too lazy to do things right'.
11 > > >
12 > > > URLs are longer, so probability of error during typing increases
13 > > > compared to raw numbers.
14 > >
15 > > Not really. You are closer to the threshold when you are too lazy to
16 > > type it and you just copy-paste it.
17 >
18 > Copy and pasting requires more time than typing 6 digits.
19
20 Excuse me but could you stop shifting from one argument to another?
21 Because this is not going anywhere if we're going to switch from X to
22 Y, and back, depending on which goal fits you at the moment.
23
24 > > > > > 3. Too many text, hard to read. Some bugs may refer to a dozen of
25 > > > > > URLs.
26 > > > >
27 > > > > And how is a dozen numbers better?
28 > > >
29 > > > Less text, more readable.
30 > >
31 > > How is:
32 > >
33 > > Bug: 123451, 453445, 344334, 343444
34 > >
35 > > more readable than:
36 > >
37 > > Bug: https://bugs.gentoo.org/123451
38 > > Bug: https://bugs.gentoo.org/453445
39 > > Bug: https://bugs.gentoo.org/344334
40 > > Bug: https://bugs.gentoo.org/343444
41 > >
42 > > Readability is a matter of formatting, not contents.
43 >
44 > 1. One line and 35 chars are certainly more readable than four lines
45 > and 140 chars.
46
47 Character counts are completely irrelevant to readability. Visual space
48 is. And in this case, exhibit A (also known as wall of digits) is more
49 likely to get people confused.
50
51 > 2. Strings are read from left to right (at least in English), thus
52 > having most important information last on the line is not
53 > convenient.
54
55 This is not literature. Keys usually precede values, and namespaces
56 precede namespaced identifiers.
57
58 > 3. A lot of duplicated and useless information consumes time and
59 > space, irritating people.
60
61 Well, maybe I'm very special then because I can *instantly* notice that
62 the four quoted lines are almost identical and differ only by bug
63 numbers.
64
65 > 4. Think about people using special accessibility devices like
66 > speech-to-text engine or Braille terminal. It will be pain for them
67 > to read all this notorious URLs. And we have at least one developer
68 > relying upon such devices.
69
70 And that's the first valid argument. Though I would doubt that
71 accessibility software handles random numbers better than URLs. Unless
72 you consider retyping one of the six numbers you just heard easier than
73 triggering some kind of URL activation feature.
74
75 > > > What is a corner case? Why not defining "clicking on the link in
76 > > > the git log" as a corner case?
77 > >
78 > > As far as I'm aware, URLs are supported much more widely than
79 > > Gentoo-specific bug numbers. They are uniform and unique by definition.
80 > > The tools using bug numbers can be easily expanded to extract them from
81 > > URLs. I don't really see forking cgit to support Gentoo bug numbers, or
82 > > asking github to provide special rules for our commits.
83 >
84 > We should not adjust our ecosystem for closed and proprietary
85 > solutions like github.
86
87 URLs are not github invention. Localized bug numbers are local Gentoo
88 non-sense. So should we adjust it to ignore the rest of the world and
89 expect everyone to create custom hackery just to be able to see a bug
90 report?
91
92 --
93 Best regards,
94 Michał Górny
95 <http://dev.gentoo.org/~mgorny/>

Replies