>>>>> On Mon, 18 May 2009, Ciaran McCreesh wrote:

> On Mon, 18 May 2009 06:59:36 +0200
> Ulrich Mueller <u...@gentoo.org> wrote:
>> AFAICS, there _is_ an ambiguity. You can have the following two
>> ebuilds in the tree, simultaneously:

>>    ${PORTDIR}/app-misc/foo/foo-1a-scm.ebuild
>>    ${PORTDIR}/app-misc/foo-1a/foo-1a-scm.ebuild

[Added some context back to your quotation of my posting.]

> There's no ambiguity. It means what we define it to mean.

Maybe it's possible to do that for dependencies, but VDB entries and
binary packages for above two examples would still collide.

So the conclusion still stands:

>> The conclusion is that GLEP 54 in its current form is not
>> implementable.

Hyphens within PV are a Bad Thing, and we should really think about
replacing the separator for "scm" by something else, like a period or
an underscore. For example, the following two would be unique:

    ${PORTDIR}/app-misc/foo/foo-1a_live.ebuild
    ${PORTDIR}/app-misc/foo-1a/foo-1a-live.ebuild

With our current versioning scheme the rule is very simple: ${P} is
split into ${PN} and ${PV} at the last hyphen. This can be done in a
straight forward way by regexp matching, and I would really hate to
lose this nice property.

Ulrich

Reply via email to