Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 643C5200CE3 for ; Sun, 13 Aug 2017 12:47:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60FA3164561; Sun, 13 Aug 2017 10:47:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A607216455F for ; Sun, 13 Aug 2017 12:47:05 +0200 (CEST) Received: (qmail 61176 invoked by uid 500); 13 Aug 2017 10:47:03 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 61156 invoked by uid 99); 13 Aug 2017 10:47:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2017 10:47:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C95F0C29AC for ; Sun, 13 Aug 2017 10:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id EbDn7mKT_n5v for ; Sun, 13 Aug 2017 10:47:01 +0000 (UTC) Received: from amber.s12n.de (amber.s12n.de [144.76.55.147]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 71EB560D44 for ; Sun, 13 Aug 2017 10:47:00 +0000 (UTC) Received: from [192.168.179.36] (p5495E07C.dip0.t-ipconnect.de [84.149.224.124]) by amber.s12n.de (Postfix) with ESMTPSA id EA9B929FCBA for ; Sun, 13 Aug 2017 12:46:53 +0200 (CEST) Subject: Re: Project versioning and OSGi To: dev@directory.apache.org References: From: Stefan Seelmann Message-ID: Date: Sun, 13 Aug 2017 12:46:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.99.2 at amber X-Virus-Status: Clean archived-at: Sun, 13 Aug 2017 10:47:06 -0000 On 08/13/2017 10:04 AM, Emmanuel Lécharny wrote: > Hi guys, > > > when dealing with OSGi, we are likely to face some issue with teh > version scheme we use : > > - maven makes it so 1.0.0 > 1.0.0-Mn and 1.0.0 > 1.0.0-RCn (we use M for > milestone and RC for release candidates) > > - OSGI is purely incremental, and use a X.Y.Z.qualifier scheme, where > the qualifier is compared using a String comparison. > > - OSGi does not accept '-' in between the version numbers (like > 2.0.0-M1, it should be 2.0.0.M1) > > > The issue with our scheme is that if we cut a release and call it 2.0.0, > it will always be seen as inferior to any milstone of RC we created > beforhand. My pragmatic answer: just use 2.0.1 for the first non-M and non-RC release. > I suggest we modify teh wy we name our versions in a way that is not > intrusive : > > - release will not be plain numbers, like 2.0.0, but 2.0.0.GA > > - Milestone will be named AM (A does not stand for anything, it's just > used to make sure it's lower than CR and GA) > > - Release Candidate CR (instead of RC). The rational is that AMn < CRn < > GA, so 2.0.0.AM3 < 2.0.0.CR1 < 2.0.0.GA. It's a convention, and I know > it's a hack... > > - Get rid of '-' and use a '.' instead. Fine for me if it helps. Howerver for ApacheDS 2.0.0 this is already too late, because we alrady released 2.0.0.M24, right? Stefan