1 |
On Fri, 7 Jul 2017 12:48:04 -0400 |
2 |
NP-Hardass <NP-Hardass@g.o> wrote: |
3 |
> |
4 |
> There is actually a huge functional difference between the two that |
5 |
> you are missing here. A meta package defines its dependencies in full |
6 |
> dependency syntax. This means you can specify versions, USE flag |
7 |
> dependencies, make packages dependent on USE flags, etc. A package |
8 |
> set is just a list of packages (potentially constrained by version. |
9 |
> TTBOMK, there is no inclusion of any USE flag functionality in sets. |
10 |
> Additionally, let's say you have a more complicated dependency like |
11 |
> || ( A B ), I don't think there is a way to describe that in a |
12 |
> package set at all. |
13 |
|
14 |
All valid points, but there maybe times when such is not needed. |
15 |
|
16 |
You cannot really do any of that easily via a profile either. You just |
17 |
have packages file in a profile. You can use the other stuff, but I am |
18 |
talking about sets. Just as packages are listed in a packages file in a |
19 |
profile. Being able to list a package set, vs those same packages. |
20 |
There is no difference there. |
21 |
|
22 |
> I'm not sure I see the merit in pushing for package sets in the bulk |
23 |
> of cases for this reason. Maybe there is some scenario where package |
24 |
> sets are a better option, but you haven't enumerated what that might |
25 |
> be (and I'm not really interested in brainstorming until I come up |
26 |
> with one, so I'll wait for one frmo someone else) |
27 |
|
28 |
Not sure I need to show a case example of where sets are better than |
29 |
meta packages. Its more I want to use sets and I would like to be able |
30 |
to include those package sets in a profile. |
31 |
|
32 |
> Of course, my sets knowledge is a little limited compared to some |
33 |
> people, so if something I've said about package sets is incorrect, |
34 |
> please feel free to correct it. |
35 |
|
36 |
You cannot remove all packages ( short of dep clean ) or re-emerge all |
37 |
packages from a meta ebuild easily. You can from a set. |
38 |
|
39 |
Sets do have their uses. I think they are not used much for a variety |
40 |
of reasons, but likely could be used more. |
41 |
|
42 |
-- |
43 |
William L. Thomson Jr. |