Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [RFC] PROPERTIES=set for meta-packages that should behave like package sets
Date: Mon, 29 Sep 2008 06:40:28
Message-Id: 48E0784A.2040505@gentoo.org
In Reply to: [gentoo-dev] Re: [RFC] PROPERTIES=set for meta-packages that should behave like package sets by Duncan <1i5t5.duncan@cox.net>
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Duncan wrote:
5 > Zac Medico <zmedico@g.o> posted 48E00B9B.3060600@g.o,
6 > excerpted below, on Sun, 28 Sep 2008 15:56:27 -0700:
7 >
8 >> For example, `emerge kde-meta` would behave as as normal meta-package
9 >> currently does, and `emerge @kde-meta` would reference the same package
10 >> as a set and could thereby trigger different behavior which is
11 >> appropriate for a set.
12 >
13 > Ahh... that's rather clearer now. Somehow I missed that bit before.
14 >
15 > However, it seems to me we'd have some of the same types of issues we've
16 > previously discussed over the distinction between world and @world. It's
17 > going to be virtually impossible to get some users to see the difference,
18 > with the consequence being that they use the wrong reference (probably
19 > skipping the @ as unnecessary typing) and end up with (to them)
20 > completely unexpected behaviour. How long have we been drilling into
21 > users' heads that they need to use --pretend (or --ask) --verbose to
22 > check that what they intend is really what's going to happen? Yet I just
23 > dealt with a case the other day where someone ended up with something
24 > entirely (to them) unexpected, because they failed to preview what was
25 > going to happen, first.
26
27 I'm not suggesting that the ebuild and the package set necessarily
28 need to have the same name. What I'm suggesting is that we use a
29 configuration file, distributed with the ebuild repository, to map
30 set names to ebuilds. This mapping would make the set name
31 independent from the ebuild name.
32
33 > Going out of our way to (effectively) make things even /more/ confusing
34 > by deliberately creating set-packages that can be referred to as either,
35 > with different behavior in each case, would seem to be the equivalent of
36 > deliberately setting traps for those poor users. (Yes, they /should/
37 > know the difference and it's a PEBCAK if they don't/won't, but
38 > unfortunately that PEBCAK is/can-safely-be-predicted-to-be rather
39 > common...)
40 >
41 > So sure, we can institute it as suggested, damn the torpedos, but I
42 > believe it's safely predictable that come a few months hence, after we've
43 > dealt with our tenth person to end up screwing their system as a result,
44 > we're going to rue the day... Never-the-less, it's not my decision.
45 >
46
47 I don't expect users to have much trouble with this concept, and
48 they don't even have to use sets unless they want to make use of the
49 additional features that sets provide.
50 - --
51 Thanks,
52 Zac
53 -----BEGIN PGP SIGNATURE-----
54 Version: GnuPG v2.0.9 (GNU/Linux)
55
56 iEYEARECAAYFAkjgeEkACgkQ/ejvha5XGaOObQCghFkrhJiTVXAerwJXRbKJxk7R
57 yKsAmgIWp1VAA2glNuQ+pa6U8OjnYszq
58 =HzsM
59 -----END PGP SIGNATURE-----

Replies