Re: Debian part of a version number when epoch is bumped
On Mon, Apr 02, 2018 at 11:01:30PM -0400, The Wanderer wrote:
> On 2018-04-02 at 15:41, Simon McVittie wrote:
>
> > On Mon, 02 Apr 2018 at 20:30:54 +0200, Christian T. Steigies wrote:
> >
> >> I don't understand why everybody is so afraid of an epoch, but ok.
> >
> > It's a source of confusion (and confusing side-effects) that, once
> > added, can never be removed, however many upstream releases might
> > happen.
>
> I thought that in theory, if the upstream version later increases to the
> point where it would sort above the with-an-epoch version (whether
> because it's a date-based version and new versions keep coming out all
> the way into the next millennium, or because the upstream version scheme
> changes again, or whatever else), the epoch could potentially be dropped
> without introducing issues. Is that wrong?
Yes. There's an implicit 0 epoch in any version that doesn't have
an explicit epoch. Therefore, it doesn't matter what contortions the
upstream version does. Returning to an implicit 0 epoch would sort
lower than the previous explicit epoch.
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
Reply to: