From: Zac Medico <zmedico@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] PROPERTIES=set for meta-packages that should behave like package sets
Date: Sun, 28 Sep 2008 10:42:39 -0700 [thread overview]
Message-ID: <48DFC20F.4040107@gentoo.org> (raw)
In-Reply-To: <20080928172423.5544cc51@sheridan>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marius Mauch wrote:
> On Sat, 27 Sep 2008 17:21:18 -0700
> Zac Medico <zmedico@gentoo.org> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi everyone,
>>
>> Please consider a PROPERTIES=set value that allows an ebuild to
>> indicate that it should behave like a package set when selected on
>> the command line. This is behavior is somewhat difficult to describe
>> in words but the following example should be sufficient to convey
>> the general idea. Consider a case where all of the kde-base/*-meta
>> packages exhibit the "set" property, and these packages and their
>> dependencies are currently installed. In such a case, the default
>> behavior for a command such as `emerge kde-base/kde-meta` should be
>> to reinstall the the selected kde-base/kde-meta ebuild and the set
>> of packages which includes it's direct dependencies and it's
>> recursive "set" dependencies. So, assuming that all USE flags are
>> enabled for the selected kde-base/kde-meta ebuild, it would
>> reinstall the direct dependencies of kdeartwork-meta, kdebase-meta,
>> kdeedu-meta, kdegames-meta, kdegraphics-meta, kdemultimedia-meta,
>> kdenetwork-meta, kdetoys-meta, kdeutils-meta, and
>> kdeaccessibility-meta ebuilds. Similarly, the default behavior for a
>> command such as `emerge --unmerge kde-base/kde-meta` would be to
>> uninstall the same set of packages.
>
> I'm not convinced that this is a good idea if some packages suddenly
> behave _vastly_ different than others (from a users POV) without any
> clear indication (a -meta somewhere in the name IMO doesn't count).
>
> Maybe we can just create a PackageSet class that wraps a package though
> to get the same behavior while keeping the two behaviors separated by
> syntax.
Some some sort of mapping of packages into sets space does seem
better than changing the behavior of these packages other cases.
However, PROPERTIES=set will still be useful for governing
recursion, since recursion into dependencies is probably not desired
for non-meta packages in the same sense that it might be desired for
meta-packages.
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkjfwg4ACgkQ/ejvha5XGaMkYACdF/uvOatcWaw1DsQkY/nBZ6RW
N4YAn2VFsZztPLzHO6V6T9eQER4b2tO9
=z2qG
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2008-09-28 17:42 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-28 0:21 [gentoo-dev] [RFC] PROPERTIES=set for meta-packages that should behave like package sets Zac Medico
2008-09-28 15:24 ` Marius Mauch
2008-09-28 17:42 ` Zac Medico [this message]
2008-09-28 20:26 ` Ciaran McCreesh
2008-09-28 20:44 ` Zac Medico
2008-09-28 20:32 ` Ciaran McCreesh
2008-09-28 20:53 ` Zac Medico
2008-09-28 21:01 ` Ciaran McCreesh
2008-09-28 22:11 ` Zac Medico
2008-09-28 22:28 ` Ciaran McCreesh
2008-09-28 22:56 ` Zac Medico
2008-09-28 23:02 ` Ciaran McCreesh
2008-09-28 23:37 ` Zac Medico
2008-09-29 15:13 ` Bo Ørsted Andresen
2008-09-29 19:52 ` Zac Medico
2008-09-30 4:47 ` Jorge Manuel B. S. Vicetto
2008-09-30 5:31 ` Zac Medico
2008-10-01 4:35 ` [gentoo-dev] " Ryan Hill
2008-10-01 16:37 ` Zac Medico
2008-10-02 2:51 ` Jorge Manuel B. S. Vicetto
2008-10-04 6:05 ` Ryan Hill
2008-10-04 6:42 ` Ryan Hill
2008-10-04 17:17 ` Zac Medico
2008-10-05 17:55 ` Ryan Hill
2008-10-13 2:11 ` Steve Long
2008-10-02 12:19 ` Robert Bridge
2008-09-29 2:52 ` Duncan
2008-09-29 6:40 ` Zac Medico
2008-09-29 11:52 ` Duncan
2008-09-29 6:04 ` [gentoo-dev] " Rémi Cardona
2008-09-29 6:33 ` Zac Medico
2008-09-29 19:52 ` [gentoo-dev] " Steve Long
2008-09-29 20:28 ` Zac Medico
2008-09-29 20:42 ` [gentoo-dev] " Steve Long
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48DFC20F.4040107@gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox