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:46:47
Message-Id: assp.03623aba3e.20170708194639.1526d4e4@o-sinc.com
In Reply to: Re: [gentoo-dev] Re: Sets vs Meta ebuilds by Zac Medico
1 On Sat, 8 Jul 2017 16:35:34 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On Sat, Jul 8, 2017 at 4:09 PM, William L. Thomson Jr.
5 > <wlt-ml@××××××.com> wrote:
6 > > Sets are also used for package rebuilds, like x11-module-rebuild,
7 > > live-rebuild, and others.
8 >
9 > Usually there are better ways to trigger rebuilds.
10
11 Those have nothing to do with me, and I am not using sets for rebuild
12 purposes. Sets in a profile per my interest and topic have nothing to do
13 with rebuilding. Just pointing out others current usage of sets.
14
15 > For example, slot operator dependencies for rebuilds due to subslot
16 > changes, and --newuse for USE changes.
17
18 Problem is portage does not catch all changes all the time. Many times
19 I will update world with binaries, Just to find out if I run without
20 binaries more packages need to be updated.
21
22 However if there are no changes, and the user wants to rebuild. How do
23 they do that? Sets make it very easy.
24
25 > For live-rebuild, it would be
26 > much nicer to have a framework that automatically triggers rebuilds
27 > when upstream changes are detected, like smart-live-rebuild.
28
29 Which would require some sort of check to upstream to detect changes on
30 some interval. If the user wants to do that manually. How do they do
31 that? Sets make it very easy.
32
33 > We can add EAPI/PMS extensions that allow package managers to do what
34 > smart-live-rebuild does.
35
36 Will that allow a user to rebuild on demand for their own reasons with
37 no changes to system that are "detectable"?
38
39 Again rebuilding is not my interest in sets. That is others usage of
40 such. However they seem like they could serve a purpose in such
41 situations. Giving the user really fine grain control without having to
42 list a set of packages or mess with making various meta ebuilds.
43
44 --
45 William L. Thomson Jr.

Replies

Subject Author
Re: [gentoo-dev] Re: Sets vs Meta ebuilds Zac Medico <zmedico@g.o>