Gentoo Archives: gentoo-dev

From: Matthew Kennedy <mkennedy@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Mozilla: Firebird-bin & Firebird-cvs
Date: Wed, 28 May 2003 21:06:15
Message-Id: 87vfvuvl3x.fsf@killr.ath.cx
In Reply to: Re: [gentoo-dev] Mozilla: Firebird-bin & Firebird-cvs by Jon Portnoy
1 Jon Portnoy <avenj@g.o> writes:
2
3 > Policy is to avoid naming conflicts. :)
4 >
5 > There are indeed ebuilds that conflict. Those are bugs that there is
6 > currently no clean fix for. Committing _more_ conflicting ebuilds is
7 > definitely not okay.
8 >
9
10 Jon (and others),
11
12 I'm not so sure. I have app-emacs and app-xemacs and there are
13 *many* ebuilds which "conflict" in their naming, and this is
14 intentional.
15
16 For example, the "ilisp" package appears in both app-emacs and
17 app-xemacs. So if I'm to avoid this naming "conflict" because
18 somemone typing "emerge ilisp" might get "app-xemacs/ilisp" instead
19 of "app-emacs/ilisp", then naturally I should prefix the ebuild names
20 with "emacs" and "xemacs", right? So I'd end up with
21
22 emerge emacs-ilisp
23 or
24 emerge xemacs-ilisp
25
26 But wait! Thats what categories are for -- ie. defining some
27 namespace. Thus there's no need, and this more or less backs up my
28 argument that the category name + package name forms a "fully resolved
29 and unique" symbol for emerge to act upon.
30
31 So the user should do:
32
33 emerge app-emacs/ilisp
34 or
35 emerge app-xemacs/ilisp
36
37 What of the case where the user is surprised by the "short form" case:
38
39 emerge ilisp
40
41 ...well this is where emerge should abort and report back to the user
42 something like this: "ERROR: Short form 'ilisp' matches
43 app-emacs/ilisp and app-xemacs/ilisp -- please use a fully qualified
44 name instead". (Currently emerge emerges the first one it sees.)
45
46 I really think ambiguities should be resolved by using the category
47 name -- otherwise I can't see why we sort packages into categories
48 at all.
49
50 Matt
51
52 --
53 Matthew Kennedy
54 Gentoo Linux Developer
55
56 --
57 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Mozilla: Firebird-bin & Firebird-cvs Dave Nellans <dnellans@×××××××.edu>
Re: [gentoo-dev] Mozilla: Firebird-bin & Firebird-cvs Aron Griffis <agriffis@g.o>
Re: [gentoo-dev] Mozilla: Firebird-bin & Firebird-cvs Matthew Kennedy <mkennedy@g.o>