Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [RFC] Auto-select slots based on system configuration
Date: Mon, 04 Feb 2008 09:16:24
Message-Id: 47A6D7FC.5060903@gentoo.org
In Reply to: [gentoo-portage-dev] [RFC] Auto-select slots based on system configuration by Daniel Barkalow
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Daniel Barkalow wrote:
5 > It seems to me like there are a number of things that should be able to
6 > hint that you want some particular slots of particular packages, such that
7 > --depclean doesn't remove them and emerge world updates them.
8 >
9 > For example, it shouldn't remove the version of gentoo-sources that your
10 > /usr/src/linux symlink points to. It shouldn't remove the version of emacs
11 > you've got eselected. It shouldn't remove a version of tomcat that you've
12 > got in your default runlevel. It shouldn't remove the Java VM that
13 > java-config is set to.
14 >
15 > For each of these, I think it should handle this information as if the
16 > particular slot were in your world file, so long as the system is
17 > configured that way (that is, it shouldn't actually record it in the world
18 > file that way, but it should act like it saw it there).
19 >
20 > Would this be a generally good concept, if I came up with a suitable
21 > implementation? (Now that the code is set up to carry out the implications
22 > of such a setting)
23 >
24 > -Daniel
25 > *This .sig left intentionally blank*
26
27
28 It seems like those could could be implemented as package sets. We
29 have support for packages sets in trunk (will be released as
30 portage-2.2) and they have some documentation in docbook format. In
31 case you'd like to try it, there are some instructions for using
32 trunk here:
33
34 http://www.gentoo.org/proj/en/portage/doc/testing.xml
35
36 Zac
37
38 -----BEGIN PGP SIGNATURE-----
39 Version: GnuPG v2.0.7 (GNU/Linux)
40
41 iD8DBQFHptf6/ejvha5XGaMRAoHkAJ4nk9NEfRnmZ8jBoy+EGl2HTFqfqQCgxROp
42 CINbUR/BFGMcUX+VisQXPOE=
43 =Mcbd
44 -----END PGP SIGNATURE-----
45 --
46 gentoo-portage-dev@l.g.o mailing list