Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 66792 invoked from network); 3 Jun 2010 14:18:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 14:18:25 -0000 Received: (qmail 52171 invoked by uid 500); 3 Jun 2010 14:18:25 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 52055 invoked by uid 500); 3 Jun 2010 14:18:25 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 52047 invoked by uid 99); 3 Jun 2010 14:18:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 14:18:25 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcharters@googlemail.com designates 209.85.161.47 as permitted sender) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 14:18:20 +0000 Received: by fxm9 with SMTP id 9so136973fxm.6 for ; Thu, 03 Jun 2010 07:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=sZBjDETK+Bb4eFL7Jcz0vJjDbgsFOYoivpjgIenLEVQ=; b=deJNtKJp6sFEOCG/mIqeMpXxcCWVaC6c5Me9mQ1hUmbvId3stwhNFYTT+e2WrSpeSc GI/NStFFlzmbgXcu0YO8R/PwmHuotZxlsRCO553nlfNRfUgeCjGprYj5AXKNyMbmLuWq XOJFegONp3R2Pn0A0k1quRKM6yGKxEttJIqhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fYFOuOlRKQUG9yXEw22S9hl+GQcaUmSn5nj1243oGp99AnH2641WqRDQ8UqBkhZjHz 4O3kNaaoOWWoL8I7vJ1Bp+WbbNzFbMHY+uBk0Lfhxa0rs5QwqKtiLyr7rQsoLwJ19a4C T9pRsEvtKBHNjmrIoqHhujEDKOsqhnZ8fKQAM= MIME-Version: 1.0 Received: by 10.239.180.201 with SMTP id j9mr688877hbg.164.1275574678782; Thu, 03 Jun 2010 07:17:58 -0700 (PDT) Received: by 10.239.170.130 with HTTP; Thu, 3 Jun 2010 07:17:58 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Jun 2010 15:17:58 +0100 Message-ID: Subject: Re: API/SPI Package versioning policy From: Graham Charters To: aries-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This is an important discussion to have. I think we should adopt the semantic versioning policy outlined in the OSGi Alliance whitepaper: http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf . This includes guidelines on bundle versioning as well as packages. I also prefer trying to keep backward compatibility where practicable. Regards, Graham. On 3 June 2010 10:13, Timothy Ward wrote: > > Hi, > > Based on some updates to the JPA container we are considering making some= changes to some SPI classes. Obviously this would mean that we needed to c= hagne the version of the package, but I wanted to raise a discussion on the= list about our versioning policy. Are we trying to keep version to version= compatability where possible, and if so, how hard? Are we planning to chan= ge package versions every release (which appears to be what the pom files s= ay)? > > Similarly for bundle versions, if there are no changes to a bundle betwee= n releases (for example if the JPA blueprint integration didn't change but = the container added support for weaving) then will the bundle version be ch= anged anyway? If there are only minor bugfix changes to the bundle will it = still change major version on release? > > > I know that my preference would be for a strict package versioning policy= , and trying to keep backward compatability wherever possible. I can't thin= k of anything more annoying than having to re-write or re-build plugins and= extensions for every release. I'm less concerned by bundle versions, but I= would lean toward not changing them more often than necessary. > > What do people think? > > Regards, > > Tim > > _________________________________________________________________ > http://clk.atdmt.com/UKM/go/195013117/direct/01/ > We want to hear all your funny, exciting and crazy Hotmail stories. Tell = us now