On Sat, 5 Nov 2016 12:43:31 +0100
Ulrich Mueller <u...@gentoo.org> wrote:

> I still don't see why you must (ab)use the revision for that. With
> virtuals, the whole PV is at your disposal, so you could append .5.22
> to it, or even use a suffix like _p522.

Incidentally, I did use _p522 for the one case we had pressing need to do this
immediately.

And shortly after I fell afoul of the whole "used ~ when I should have
used =ATOM*" thing, and then was told we shouldn't use "_p" because it
was supposed to reflect "upstream patching" not "gentoo patching",
because "gentoo stuff" is supposed to be "-r"

The only reason I'm terrified of using "The whole space" is because its
too hard to anticipate what upstream will do tomorrow.

_p<x> was the only place I was safe without the concern that upstream could 
somehow
make life hard for everyone.

Because If we put

  =virtual/perl-Foo-0.13.0.522

In tree, luck would have it upstream would decide to ship "Foo
0.13.0.10" a week later, and we'd be in a fun "downgrade to upgrade" hell.

> The purpose of the revision is really for incremental changes of the
> ebuild within one upstream version.

Well, this is sort of what I'm mentally trying to do really.

Because all versions upstream could make next are "legal", I'm trying to stand
between this version, and smallest possible increment upstream could 
conceivably make.

It does seem paranoid overall, but I've seen my share of horrors with
upstream special-snowflaking versions that the overall desire is to
treat $PV as a black box (with normalisation) which Gentoo doesn't have
any interference with.

> About the only situation where using large steps (like 100) in
> revision numbers is justified is when ebuilds in different slots
> would otherwise collide.

Maybe we need another token legal in PV,

  _gentoo[0-9]+

?

Then GTK and friends could use

    1.23.4_gentoo2-r1 
    1.23.4_gentoo3-r1 

And Perl virtuals would be 

    perl-Foo, perl-Foo-r1, perl-Foo_gentoo522, perl-Foo_gentoo522-r1


Where

    1.0.0 < 1.0.0_gentoo1 < 1.0.0_p1 < 1.0.0_p1_gentoo1 

_gentoo is of course just a placeholder for which many bike sheds can
be painted for naming.


Attachment: pgpA9j9Mjs0KO.pgp
Description: OpenPGP digital signature

Reply via email to