1 |
On 30-09-2021 08:44:33 +0200, Michał Górny wrote: |
2 |
> On Thu, 2021-09-30 at 08:40 +0200, Fabian Groffen wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > Would it be possible to have some switch (e.g. --style=legacy) that |
6 |
> > controls this new vs. the old behaviour? Would perhaps allow |
7 |
> > applications that parse the output to work via setting this in the |
8 |
> > global opts. |
9 |
> |
10 |
> Patches welcome. It shouldn't be hard, my commit shows which files need |
11 |
> to be edited to alter the prefixes and how to pass them into ebd. |
12 |
|
13 |
I see. |
14 |
|
15 |
> > In addition, much like the colour map, how do you see this change in |
16 |
> > light of eclasses, init-scripts, etc. that also use the same scheme as |
17 |
> > Portage at the moment? Would you expect to change those too at some |
18 |
> > point? |
19 |
> |
20 |
> Eclasses are supposed to use standard einfo, elog... functions, so they |
21 |
> should just work™. If someone's reinventing the wheel, it's not my |
22 |
> problem. |
23 |
> |
24 |
> Init scripts aren't supposed to be used inside the PM, so that's out of |
25 |
> scope. |
26 |
|
27 |
I was just referring to the overall "feel" of Gentoo, which your work |
28 |
changes. It is ok that you don't plan on doing anything there. |
29 |
|
30 |
> > Final question, am I understanding correctly that normal lines are not |
31 |
> > prefixed with something? Would it be, for consistency, alignment, and |
32 |
> > certainty of selecting rows something to use a prefix for those lines |
33 |
> > too (assuming they aren't at this point)? |
34 |
> |
35 |
> I don't know, we've never done that. I suppose it would be possible but |
36 |
> it is even more controversial and unlike the proposed changes, it would |
37 |
> actually require mangling the process output. |
38 |
|
39 |
If I remember correctly, Portage already does. In which case, doing |
40 |
this (even if it were adding leading spaces) would not be that much |
41 |
work? |
42 |
|
43 |
Thanks, |
44 |
Fabian |
45 |
|
46 |
-- |
47 |
Fabian Groffen |
48 |
Gentoo on a different level |