1 |
On 31 Oct 2015 09:08, Michał Górny wrote: |
2 |
> On Sat, 31 Oct 2015 03:06:21 -0400 Mike Frysinger wrote: |
3 |
> > On 30 Oct 2015 18:20, Michał Górny wrote: |
4 |
> > > On Fri, 30 Oct 2015 12:03:59 +0000 (UTC) "Justin Lecher" wrote: |
5 |
> > > > --- a/eclass/distutils-r1.eclass |
6 |
> > > > +++ b/eclass/distutils-r1.eclass |
7 |
> > > > @@ -322,8 +322,7 @@ distutils-r1_python_prepare_all() { |
8 |
> > > > |
9 |
> > > > _distutils-r1_disable_ez_setup |
10 |
> > > > |
11 |
> > > > - if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL} ]] |
12 |
> > > > - then |
13 |
> > > > + if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL} ]]; then |
14 |
> > > |
15 |
> > > This was intentionally wrapped to stay within 72-column line width. Not |
16 |
> > > saying the eclass is perfect in keeping text width, especially with |
17 |
> > > others committing random changes to it, but that's no reason to |
18 |
> > > introduce further offenders. |
19 |
> > |
20 |
> > Gentoo has never had a hard 80-col rule let alone 72-cols. forcing a wrap |
21 |
> > here makes no sense and the new version is an improvement. |
22 |
> |
23 |
> For years, Gentoo was unable to make *any* *sane* *global* rules. Which |
24 |
> doesn't mean everything needs to be as crappy as the overall Gentoo |
25 |
> 'quality'. |
26 |
|
27 |
you forgot "imo". we've had commonly accepted standards that people generally |
28 |
kept to, some of which were more fuzzy than others. but we've never had a hard |
29 |
80 col rule and claiming that 72 col is an improvement is pretty hard to |
30 |
swallow. there's no reasonable argument for such minimal restrictions in |
31 |
todays's world, and "it's always been that way" doesn't fly. |
32 |
|
33 |
> So what's this improvement exactly? 'I like this style better, so it's |
34 |
> an improvement'? As I see it, it's a pointless, changing-nothing-really |
35 |
> commit that causes huge cache regen for no good reason except someone's |
36 |
> fancy. |
37 |
|
38 |
one thing that has been consistent is cuddling of the initial command. we do |
39 |
not write: |
40 |
if foo |
41 |
then |
42 |
for x in 1 2 3 |
43 |
do |
44 |
while true |
45 |
do |
46 |
we have always written: |
47 |
if foo ; then |
48 |
for x in 1 2 3 ; do |
49 |
while true ; do |
50 |
|
51 |
as for "why consistency", i think your e-mail is a bit confused here. one on |
52 |
hand you beoman lack of official hard style rules while on the other claiming |
53 |
that none exist and being inconsistent is fine. |
54 |
|
55 |
as for cache regen due to changed eclasses, meh, that happens every day, and for |
56 |
eclasses more widely used than this. it's a non-issue considering the caches |
57 |
are generated on servers and distributed to users. |
58 |
-mike |