Danny van Dyk wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alec Warner schrieb:
|>>The big controversy seems to be over whether repositories carry a
|>>unique identifier string (for example, in metadata/repository_id) or
|>>whether it's user-assigned. The former is clearly the more sensible
|>>option, since it lets you do things like (syntax made up):
|>>
|>>DEPEND=">=foo-bar/baz-2.1::ciaranmssekritrepo"
|>>
|
| Well lets return to normal syntax for a moment.
| DEPEND=">=foo-bar/baz-2.1"
| And lets assume this package is named "blar" because I enjoy that name.
|
| emerge blar --repo=ciaranmssekritrepo
|
| This accomplishes the same thing, except I get to name the repo whatever
| I wish, and you lose the ability to specify repositories in DEPEND.
No, it doesn't. How would you add repository-specific items to
/etc/portage/package.* ?
Futher, imagine this: The gentoo-x86 repo is split into, say, 4
repositories: gentoo-{system,base,desktop,games}. How would you
reference DEPENDs from one repo to the other in this case?
An optional namespace modifier for *DEPENDS is Good Thing(tm) in my
eyes, and I'd really appreciate it being added to portage rather sooner
than later.
Just one remark: What about making the syntax a bit more familiar to C++
users:
~ DEPENDS="gentoo-foo::foo-bar/baz-2.1"
Comments?
what about
DEPENDS="gentoo-foo/foo-bar/baz-2.1"
lu
--
Luca Barbato
Gentoo/linux Developer Gentoo/PPC Operational Leader
http://dev.gentoo.org/~lu_zero
--
gentoo-dev@gentoo.org mailing list