1 |
On Sat, 27 Sep 2008 17:21:18 -0700 |
2 |
Zac Medico <zmedico@g.o> wrote: |
3 |
|
4 |
> -----BEGIN PGP SIGNED MESSAGE----- |
5 |
> Hash: SHA1 |
6 |
> |
7 |
> Hi everyone, |
8 |
> |
9 |
> Please consider a PROPERTIES=set value that allows an ebuild to |
10 |
> indicate that it should behave like a package set when selected on |
11 |
> the command line. This is behavior is somewhat difficult to describe |
12 |
> in words but the following example should be sufficient to convey |
13 |
> the general idea. Consider a case where all of the kde-base/*-meta |
14 |
> packages exhibit the "set" property, and these packages and their |
15 |
> dependencies are currently installed. In such a case, the default |
16 |
> behavior for a command such as `emerge kde-base/kde-meta` should be |
17 |
> to reinstall the the selected kde-base/kde-meta ebuild and the set |
18 |
> of packages which includes it's direct dependencies and it's |
19 |
> recursive "set" dependencies. So, assuming that all USE flags are |
20 |
> enabled for the selected kde-base/kde-meta ebuild, it would |
21 |
> reinstall the direct dependencies of kdeartwork-meta, kdebase-meta, |
22 |
> kdeedu-meta, kdegames-meta, kdegraphics-meta, kdemultimedia-meta, |
23 |
> kdenetwork-meta, kdetoys-meta, kdeutils-meta, and |
24 |
> kdeaccessibility-meta ebuilds. Similarly, the default behavior for a |
25 |
> command such as `emerge --unmerge kde-base/kde-meta` would be to |
26 |
> uninstall the same set of packages. |
27 |
|
28 |
I'm not convinced that this is a good idea if some packages suddenly |
29 |
behave _vastly_ different than others (from a users POV) without any |
30 |
clear indication (a -meta somewhere in the name IMO doesn't count). |
31 |
|
32 |
Maybe we can just create a PackageSet class that wraps a package though |
33 |
to get the same behavior while keeping the two behaviors separated by |
34 |
syntax. |
35 |
|
36 |
Marius |
37 |
|
38 |
-- |
39 |
Public Key at http://www.genone.de/info/gpg-key.pub |
40 |
|
41 |
In the beginning, there was nothing. And God said, 'Let there be |
42 |
Light.' And there was still nothing, but you could see a bit better. |