caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hendrik Boom <hendrik@topoi.pooq.com>
To: caml-list@inria.fr
Subject: [Caml-list] Debian's version-numbering convention
Date: Fri, 12 Aug 2016 10:56:15 -0400	[thread overview]
Message-ID: <20160812145615.GA12840@topoi.pooq.com> (raw)
In-Reply-To: <1038B4FD-B561-413E-885A-8EAE00AC31FD@inria.fr>

On Thu, Aug 11, 2016 at 05:10:15PM +0200, Damien Doligez wrote:
> 
> > In Debian "~" is used to denote versions smaller than, e.g.
> > 4.04.0~beta1, 4.04.0~rc4 while "+" is for versions larger than, e.g.
> > 4.03.0+bugfix7. Would it be possible to adapt the same for ocaml
> > versions?
> 
> No. We have a well-defined syntax for version numbers and we can't
> change it without breaking an unknown number of tools.
> 
> -- Damien

Yet on Fri, Aug 12, 2016 at 02:25:17PM +0200, Grégoire Henry wrote:
> > Two questions:
> >
> > 1. Does OPAM really implement the Debian spec for comparing version numbers$
>
> Yes.
>

This accords with the ocaml spec:

http://opam.ocaml.org/doc/Manual.html#version-ordering

This suggests that any package-handling packages that don't handle "~" 
in the Debian way need to be fixed, possibly even old versions.  It's 
not a matter of compatibility; it's a matter of error.

-- hendrik

  parent reply	other threads:[~2016-08-12 14:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09 13:15 [Caml-list] OCaml 4.04.0+beta1 Damien Doligez
2016-08-09 14:24 ` Goswin von Brederlow
2016-08-11 15:10   ` Damien Doligez
2016-08-11 16:28     ` David Allsopp
2016-08-12 10:47       ` Damien Doligez
2016-08-12 10:58         ` Fabrice Le Fessant
2016-08-12 12:09           ` Damien Doligez
2016-08-12 12:23             ` Daniel Bünzli
2016-08-12 12:25             ` Grégoire Henry
2016-08-12 12:50               ` David Allsopp
2016-08-16 12:37                 ` Damien Doligez
2016-08-16 12:44                   ` Gabriel Scherer
2016-08-16 12:54                   ` David Allsopp
2016-08-26 14:00                     ` Louis Gesbert
2016-09-05  9:24                       ` Goswin von Brederlow
2016-08-12 12:46         ` David Allsopp
2016-08-12 14:56     ` Hendrik Boom [this message]
2016-08-12 15:57       ` [Caml-list] Debian's version-numbering convention David Allsopp
2016-08-12 16:06         ` Hendrik Boom
2016-08-09 16:06 ` [Caml-list] OCaml 4.04.0+beta1 Mohamed Iguernlala
2016-08-10 16:42   ` Mohamed Iguernlala
2016-08-10 16:46   ` Anil Madhavapeddy
2016-08-12 10:09 ` Fabrice Le Fessant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160812145615.GA12840@topoi.pooq.com \
    --to=hendrik@topoi.pooq.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).