Gentoo Archives: gentoo-dev

From: "William L. Thomson Jr." <wlt-ml@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Sets vs Meta ebuilds
Date: Sat, 08 Jul 2017 23:39:43
Message-Id: assp.0362b9eab1.20170708193933.0f44a3bf@o-sinc.com
In Reply to: Re: [gentoo-dev] Re: Sets vs Meta ebuilds by Rich Freeman
1 On Sat, 8 Jul 2017 19:24:46 -0400
2 Rich Freeman <rich0@g.o> wrote:
3 >
4 > I don't see why a package manager couldn't offer the same
5 > functionality for a meta package. As was pointed out the set behavior
6 > for unmerging isn't always desirable.
7
8 Your missing that sets maybe made by the user, Making a meta ebuild is
9 a bit more complex then dropping package names into a file for a set,
10 no digest, etc. Sets seem to serve a different purpose.
11
12 With regard to unmerging not being desirable. That is if someone does
13 something stupid like putting a system package into a set. But as I
14 mentioned that the package is part of another set, system or world. It
15 would be pulled back into the system.
16
17 There are warnings and other stuff that take place when a critical
18 package is removed. A user can remove those now just as they could if
19 they added it to a set. Which really makes that argument moot.
20
21 Do dumb stuff, you will get undesired results. Like removing a system
22 package, via any means, set, directly, meta dep, etc.
23
24 > >
25 > > world and system are sets we all have. Not sure about PMS. It is
26 > > something portage has supported for some time. You likely have many
27 > > sets already on your system
28 >
29 > Certainly. You just can't depend on them and so on without having
30 > them in PMS, because portage isn't the only package manager we
31 > "support."
32
33 Not sure about other package managers, but I would think they have
34 similar function. If not then anything listed under emerge --list-sets,
35 would be portage specific. That would likely break other things.
36
37 > It just strikes me that we're probably better off picking one way of
38 > doing this and putting lots of support behind it, versus having two
39 > ways of doing this and some features work with one but not the other.
40 > Of the two meta packages seem like they're the most generic.
41
42 The two ways are not the same, and there is a reason sets exist in the
43 first place. People seem to be over looking that fact. I did not add
44 sets. They are not new. I am simply trying to expand their use.
45
46 If someone wants to "try" out some packages a set is an ideal way of
47 doing such. If someone wants a subset of what is in a meta ebuild.
48 Again a set is an ideal way to do that. If for no other reason, then
49 if the user wants to remove them. They just emerge -C @my_set.
50
51 I find sets very useful! Only limitation is the profile aspect.
52
53 --
54 William L. Thomson Jr.

Replies

Subject Author
Re: [gentoo-dev] Re: Sets vs Meta ebuilds Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>