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: Re: [Caml-list] Debian's version-numbering convention
Date: Fri, 12 Aug 2016 12:06:39 -0400	[thread overview]
Message-ID: <20160812160639.GA13669@topoi.pooq.com> (raw)
In-Reply-To: <E51C5B015DBD1348A1D85763337FB6D9013508210C@Remus.metastack.local>

On Fri, Aug 12, 2016 at 03:57:13PM +0000, David Allsopp wrote:
> Hendrik Boom wrote:
> > 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:
> 
> That's the OPAM spec, not the OCaml spec!

I see.  You are right.  There appears to be a distinction I was not aware of.

-- hendrik

> 
> > 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.
> 
> That's true if you're handling OPAM package versions, but the OCaml version number is defined differently in http://caml.inria.fr/pub/docs/manual-ocaml/libref/Sys.html#VALocaml_version.
> 
> 
> David
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

  reply	other threads:[~2016-08-12 16:07 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     ` [Caml-list] Debian's version-numbering convention Hendrik Boom
2016-08-12 15:57       ` David Allsopp
2016-08-12 16:06         ` Hendrik Boom [this message]
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=20160812160639.GA13669@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).