Re: Debian part of a version number when epoch is bumped
- To: Russ Allbery <rra@debian.org>, debian-devel@lists.debian.org
- Subject: Re: Debian part of a version number when epoch is bumped
- From: Dimitri John Ledkov <xnox@debian.org>
- Date: Mon, 12 Mar 2018 11:32:17 +0000
- Message-id: <[🔎] CANBHLUhwZfJ6+UvrZ=6ZVX47XNzwdeHws9jsi+Z7ws8W+Z7=tg@mail.gmail.com>
- In-reply-to: <20180216020015.GA21858@gaara.hadrons.org>
- References: <87eflnybir.fsf@luffy.cx> <20180214135407.on325smdsbofe4qm@khazad-dum.debian.net> <1518617345.25962.6.camel@liw.fi> <m3a7wbo3vy.fsf@luffy.cx> <1518635464.22059.1.camel@liw.fi> <m3vaezl4lq.fsf@luffy.cx> <8aea61ec-11c3-11e8-9b6a-00163eeb5320@msgid.mathom.us> <m3r2pnl3q3.fsf@luffy.cx> <6d2296dc-11c5-11e8-9b6a-00163eeb5320@msgid.mathom.us> <87k1vfthqq.fsf@hope.eyrie.org> <20180216020015.GA21858@gaara.hadrons.org>
On 16 February 2018 at 02:00, Guillem Jover <guillem@debian.org> wrote:
> Hi!
>
> Given that other parts of the original thread have started to repeat
> the same that has been discussed in previous referenced discussions,
> or even within this thread iteration, I've sat down and written a
> dpkg FAQ entry:
>
> <https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_What_are_version_epochs_and_why_and_when_are_they_needed.3F>
>
> This subthread though, prompted me to come up with something new
> though. :)
>
BTW, the othere day, Dan Watkins and I discovered twiddle-wakka
version comparison operator in ruby, also known as pessimistic version
comparison.
For example ~> 4.0.1 in ruby means >> 4.0.1 && << 5.0.0, as in, it
limits comparison within a single series. Perhaps, we also need
something like that, to limit comparisons within a given epoch only.
I guess we could adopt twiddle-wakka like syntax [1], to negate things
as you suggest.
--
Regards,
Dimitri.
[1] making twiddle-wakka work in dpkg, differently from ruby, should
be an explicit design goal. </troll>
Reply to: