Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 69735 invoked from network); 2 Dec 2006 01:41:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2006 01:41:03 -0000 Received: (qmail 6078 invoked by uid 500); 2 Dec 2006 01:41:12 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 6046 invoked by uid 500); 2 Dec 2006 01:41:11 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 6036 invoked by uid 99); 2 Dec 2006 01:41:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 17:41:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (herse.apache.org: local policy) Received: from [169.229.70.167] (HELO rescomp.berkeley.edu) (169.229.70.167) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 17:40:56 -0800 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id 6A2175B791; Fri, 1 Dec 2006 17:39:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by rescomp.berkeley.edu (Postfix) with ESMTP id 6653F7F403 for ; Fri, 1 Dec 2006 17:39:33 -0800 (PST) Date: Fri, 1 Dec 2006 17:39:33 -0800 (PST) From: Chris Hostetter To: Solr Dev Subject: Re: release format In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Holy crap, I hate manifest files. the good news is, I completely missunderstood the purpose of "Mafivest-Version" (aparently so have most of the people out there creating manifest files) .. it identifies the manifest file format version ... of which the only legal value ever defined is "1.0" .. great! the bad news is that while the manifest file documentation says nothing about "Specification-Version" other then "The value is a string that defines the version of the extension specification." ... the various javadocs make it very clear that it must be a dotted numeric value ... so we're back to the same problem i started with. i took a stab at the approach i outlined before, didnt' like it, so i took a more direct route -- left ${version} alone to mean what it use to mean (and what it means for other Lucene projects) and added a new ${specversion} which by default is build out of a hardcoded number and the current date. a full patch is below, but the key thing to notice is... (note that i didn't acctually change the versions to reflect what they theoretically should be, just left them "1.0" and documented them) the idea being that it's time to make our irst official release, assuming we call it "1.1.0" we use... ant -Dversion=1.1.0 -Dspecversion=1.1.0 ...our artifacts have names like... apache-solr-1.1.0-incubating.* ...and our manifest has versions that look like... Specification-Version: 1.1.0 Implementation-Version: 1.1.0-incubating - yonik - 2006-12-13 12:34:56 Durring our release, he version values baked into build.xml will be... version=1.1.1dev specversion=1.1.0.${dateversion} ...and anyone who runs "ant package" on the commandline after that will get files named... apache-solr-1.1.1dev-incubating.* ...and the manifest file will have version entries like this... Specification-Version: 1.1.0.2006.12.31.23.59.59 Implementation-Version: 1.1.1dev-incubating - joeblo - 2006-12-31 23:59:59 (the key there being that the specification version denotes that it's something "after" spec version 1.1.0, and the impl version unique identifies the artifact) So ... what do you guys think? Index: build.xml =================================================================== --- build.xml (revision 481446) +++ build.xml (working copy) @@ -27,14 +27,37 @@ + + - + + + + + + + + + + @@ -51,7 +74,7 @@ - + @@ -148,8 +171,8 @@ use="true" encoding="utf8" access="${javadoc.access}" - windowtitle="${Name} ${version} API" - doctitle="${Name} ${version} API" + windowtitle="${Name} ${version}${incubation-suffix} API" + doctitle="${Name} ${version}${incubation-suffix} API (${specversion})" bottom="Copyright © ${javadoc.years} The Apache Software Foundation" > @@ -255,38 +278,44 @@ - -
- - - - - - - - - - - -
+ + + + + + + + + + +