1 |
On 10 February 2016 at 09:35, Róbert Čerňanský <openhs@×××××××××.com> wrote: |
2 |
> |
3 |
> The question is whether you really need to specify the lazy use flag |
4 |
> explicitly. I would say that any flag which user did not set |
5 |
> explicitly to -baz or baz could be considered as lazy use flag. |
6 |
> |
7 |
> So if I'd have 'baz' set in /etc/portage/make.conf, |
8 |
> /etc/portage/package.use, USE environment variable or other user |
9 |
> configuration then I'd clearly want to turn on baz (globally or for |
10 |
> specific packages). Portage would not change the use flag in this |
11 |
> case (again globally or for particular packages only). |
12 |
> |
13 |
> On the other side, if I would not specify 'baz' in any of those user |
14 |
> configurations (so it would be specified only in profile, ebuild or |
15 |
> nowhere at all) then I most likely would not care about it therefore |
16 |
> portage can enable or disable it as needed. |
17 |
> |
18 |
> BTW, what you are describing is essentially the same as in this bug: |
19 |
> https://bugs.gentoo.org/show_bug.cgi?id=258371. It was also discussed |
20 |
> on this list couple of times. I too would very much like to see it in |
21 |
> portage. |
22 |
|
23 |
I'd personally rather the list of "automatically turn this on if |
24 |
required" be something I had the power to restrict than have a blanket |
25 |
"autodostuff", because in the event some USE can't be satisfied, the |
26 |
first time that USE flag was deemed "Needed" I'd want to be told that |
27 |
it was needed, and be prompted to chose a solution. |
28 |
|
29 |
Because I may choose to: |
30 |
- Deem the use flag necessary long term and put it hard on |
31 |
- Deem the use flag and its dependencies unwanted and find an |
32 |
alternative dependency graph somehow ( which may even include not |
33 |
installing the package that triggered the bad dependency graph ) |
34 |
|
35 |
An "autodostuff" as opposed to an "autoenable in these conditions" to |
36 |
me runs against the gentoo "user decides" mentality, because "just |
37 |
turn on useflags I didn't even tell you to enable" strikes me more as |
38 |
Portage telling me what I can and can't do, and it might even make me |
39 |
avoid that feature. |
40 |
|
41 |
( I don't actually use --autounmask-write for this reason, I peruse |
42 |
the suggested USE requirements and change my configuration the way I |
43 |
want it done instead ) |
44 |
|
45 |
|
46 |
-- |
47 |
Kent |
48 |
|
49 |
KENTNL - https://metacpan.org/author/KENTNL |