From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id DC36A7F72A for ; Fri, 12 Aug 2016 16:56:19 +0200 (CEST) IronPort-PHdr: 9a23:6kzY2RGwwAMVdnTy1uJNkp1GYnF86YWxBRYc798ds5kLTJ75osuwAkXT6L1XgUPTWs2DsrQf2rOQ6virBj1Ioc7Y9itTKNoUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdazLE4Lfx/66y/q1s8WKJV4Z3XzkOfgtfV329VyX7ZhOx9M6a+4Y8VjgmjNwYeNYxGdldxq4vi3XwYOOxqNl6DlaoPk79sRNAu3QdqU8SqFEXnx9azhmrJ6jiR6WRgKK4j4YU34KuhtOGQnMqh/gDbnrtS6vlud71DObPoXcSrcxEWCi4qFnUh7roDsALzk4tnnQjdU2h6Ve9kHy7ydjypLZNdnGfMF1ebnQKIsX Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=hendrik@topoi.pooq.com; spf=None smtp.mailfrom=hendrik@topoi.pooq.com; spf=None smtp.helo=postmaster@april.topoi.pooq.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of hendrik@topoi.pooq.com) identity=pra; client-ip=69.165.131.134; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="hendrik@topoi.pooq.com"; x-sender="hendrik@topoi.pooq.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of hendrik@topoi.pooq.com) identity=mailfrom; client-ip=69.165.131.134; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="hendrik@topoi.pooq.com"; x-sender="hendrik@topoi.pooq.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@april.topoi.pooq.com) identity=helo; client-ip=69.165.131.134; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="hendrik@topoi.pooq.com"; x-sender="postmaster@april.topoi.pooq.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BsDgAb461X/4aDpUVehBtKATEBuSyBfSSFeQKBfRQBAQEBAQEBAVwngjIWghcBBTIBViMJJQ8FGIh1Dr8zATCQA4Jggi8FmTyGHohtCmeBUo0KjDWDeB42hBYgMgGHKgEBAQ X-IPAS-Result: A0BsDgAb461X/4aDpUVehBtKATEBuSyBfSSFeQKBfRQBAQEBAQEBAVwngjIWghcBBTIBViMJJQ8FGIh1Dr8zATCQA4Jggi8FmTyGHohtCmeBUo0KjDWDeB42hBYgMgGHKgEBAQ X-IronPort-AV: E=Sophos;i="5.28,511,1464645600"; d="scan'208";a="229730859" Received: from topoi.pooq.com (HELO april.topoi.pooq.com) ([69.165.131.134]) by mail2-smtp-roc.national.inria.fr with ESMTP; 12 Aug 2016 16:56:17 +0200 Received: by april.topoi.pooq.com (Postfix, from userid 1001) id E9DC1C208D; Fri, 12 Aug 2016 10:56:15 -0400 (EDT) Date: Fri, 12 Aug 2016 10:56:15 -0400 From: Hendrik Boom To: caml-list@inria.fr Message-ID: <20160812145615.GA12840@topoi.pooq.com> References: <3F86857B-79DC-4FCE-8727-691C23120C3F@inria.fr> <20160809142412.GA12056@frosties> <1038B4FD-B561-413E-885A-8EAE00AC31FD@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1038B4FD-B561-413E-885A-8EAE00AC31FD@inria.fr> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [Caml-list] Debian's version-numbering convention 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