1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Marius Mauch wrote: |
5 |
> One possible solution that I've thought about would be to remove the |
6 |
> hardcoded "selective" parameter and let the set configuration determine |
7 |
> if a set is selective or not (with missing = "false"), and then enable |
8 |
> it for world and system in our default config, e.g. |
9 |
> |
10 |
> [world] |
11 |
> class = portage.sets.files.WorldSet |
12 |
> selective = True |
13 |
> |
14 |
> and extend the --rebuild option with new arguments "always" and "never". |
15 |
> Don't really like the additional complexity though (and I haven't |
16 |
> checked how much work it would be). |
17 |
|
18 |
That seems like a reasonable solution to me. I've been working on |
19 |
cleaning up the relevant code and things like that should get easier |
20 |
to implement as I make more progress. |
21 |
|
22 |
What about atoms that are greedy wrt installed SLOTs? Maybe there |
23 |
should be a set config option for that too. There are currently some |
24 |
special cases in depgraph.xcreate() and action_depclean() that |
25 |
implement greedy atoms for the world set. I've been pondering the |
26 |
idea of making world non-greedy for slots by default [1], since you |
27 |
can add slot atoms to the world file to pull in any specific slot(s) |
28 |
that you want. |
29 |
|
30 |
Zac |
31 |
|
32 |
[1] http://archives.gentoo.org/gentoo-user/msg_117468.xml |
33 |
-----BEGIN PGP SIGNATURE----- |
34 |
Version: GnuPG v2.0.7 (GNU/Linux) |
35 |
|
36 |
iD8DBQFHG5kV/ejvha5XGaMRAq0XAJ954zlIao56uHvEtEeCJi++hKg6XQCfVAXf |
37 |
VWI4c7aOp9ZQAjQpseXwhcA= |
38 |
=WulO |
39 |
-----END PGP SIGNATURE----- |
40 |
-- |
41 |
gentoo-portage-dev@g.o mailing list |