Gentoo Archives: gentoo-dev

From: Danny van Dyk <kugelfang@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Multiple Repo Support
Date: Fri, 16 Dec 2005 08:56:10
Message-Id: 43A28212.8040302@gentoo.org
In Reply to: Re: [gentoo-dev] Multiple Repo Support by Alec Warner
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Alec Warner schrieb:
5 |>>The big controversy seems to be over whether repositories carry a
6 |>>unique identifier string (for example, in metadata/repository_id) or
7 |>>whether it's user-assigned. The former is clearly the more sensible
8 |>>option, since it lets you do things like (syntax made up):
9 |>>
10 |>>DEPEND=">=foo-bar/baz-2.1::ciaranmssekritrepo"
11 |>>
12 |
13 | Well lets return to normal syntax for a moment.
14 | DEPEND=">=foo-bar/baz-2.1"
15 | And lets assume this package is named "blar" because I enjoy that name.
16 |
17 | emerge blar --repo=ciaranmssekritrepo
18 |
19 | This accomplishes the same thing, except I get to name the repo whatever
20 | I wish, and you lose the ability to specify repositories in DEPEND.
21 No, it doesn't. How would you add repository-specific items to
22 /etc/portage/package.* ?
23
24 Futher, imagine this: The gentoo-x86 repo is split into, say, 4
25 repositories: gentoo-{system,base,desktop,games}. How would you
26 reference DEPENDs from one repo to the other in this case?
27
28 An optional namespace modifier for *DEPENDS is Good Thing(tm) in my
29 eyes, and I'd really appreciate it being added to portage rather sooner
30 than later.
31
32 Just one remark: What about making the syntax a bit more familiar to C++
33 users:
34
35 ~ DEPENDS="gentoo-foo::foo-bar/baz-2.1"
36
37 Comments?
38
39 Danny
40 - --
41 Danny van Dyk <kugelfang@g.o>
42 Gentoo/AMD64 Project, Gentoo Scientific Project
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v1.4.1 (GNU/Linux)
45
46 iD8DBQFDooISaVNL8NrtU6IRAshlAKCKAolTb0XsgiO8c3dlw23e0fvdgACgkELL
47 S5i83H5SZvsDXL55JJLCzqw=
48 =gnt7
49 -----END PGP SIGNATURE-----
50 --
51 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Multiple Repo Support Ciaran McCreesh <ciaranm@g.o>
Re: [gentoo-dev] Multiple Repo Support Luca Barbato <lu_zero@g.o>