You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/06/04 11:02:02 UTC

svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Author: sebb
Date: Tue Jun  4 09:02:02 2013
New Revision: 1489347

URL: http://svn.apache.org/r1489347
Log:
Only tags should use non-SNAPSHOT versions please

Modified:
    commons/proper/dbutils/trunk/pom.xml

Modified: commons/proper/dbutils/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
+++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02 2013
@@ -24,7 +24,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-dbutils</groupId>
   <artifactId>commons-dbutils</artifactId>
-  <version>1.6</version>
+  <version>1.6-SNAPSHOT</version>
   <name>Commons DbUtils</name>
 
   <inceptionYear>2002</inceptionYear>



Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 4 June 2013 13:08, Benedikt Ritter <br...@apache.org> wrote:
> Hi Bill,
>
>
> 2013/6/4 William Speirs <ws...@apache.org>
>
>> My confusion, it says in those directions to remove the -SNAPSHOT from the
>> version. That's exactly what I did. So then I shouldn't submit that to
>> trunk? I thought you were supposed to get everything setup in trunk then
>> simply svn copy that to your tag.
>>
>
> This is what we do at my company. Tags should never be changed. OTOH trunk
> should always contain the latest (=SNAPSHOT) code.

+1

> If trunk ever contains a
> non SNAPSHOT version, the nightly build will push that version to the
> snapshot repo. And that is definitively worse than changing a tag.

Luckily nightly builds (e.g. Continuum) don't have authz to upload to
the releases directory.

>
>>
>> If I were to start working on a python script that performed all of these
>> steps, so they can be verified by the community, and then submit that
>> alongside the source, would others find this helpful?
>>
>
> If this is possible it would be more than welcome, I guess... (I've never
> done a RC)
>
>
>>
>> Thanks...
>>
>> Bill-
>> On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
>>
>> > http://commons.apache.org/releases/prepare.html#Manual_Method
>> >
>> > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
>> > > Is there documentation about this somewhere? What should I have done?
>> > >
>> > > Thanks...
>> > >
>> > > Bill-
>> > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
>> > >
>> > >> Author: sebb
>> > >> Date: Tue Jun  4 09:02:02 2013
>> > >> New Revision: 1489347
>> > >>
>> > >> URL: http://svn.apache.org/r1489347
>> > >> Log:
>> > >> Only tags should use non-SNAPSHOT versions please
>> > >>
>> > >> Modified:
>> > >>     commons/proper/dbutils/trunk/pom.xml
>> > >>
>> > >> Modified: commons/proper/dbutils/trunk/pom.xml
>> > >> URL:
>> > >>
>> >
>> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
>> > >>
>> > >>
>> >
>> ==============================================================================
>> > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
>> > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02
>> > 2013
>> > >> @@ -24,7 +24,7 @@
>> > >>    <modelVersion>4.0.0</modelVersion>
>> > >>    <groupId>commons-dbutils</groupId>
>> > >>    <artifactId>commons-dbutils</artifactId>
>> > >> -  <version>1.6</version>
>> > >> +  <version>1.6-SNAPSHOT</version>
>> > >>    <name>Commons DbUtils</name>
>> > >>
>> > >>    <inceptionYear>2002</inceptionYear>
>> > >>
>> > >>
>> > >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> > For additional commands, e-mail: dev-help@commons.apache.org
>> >
>> >
>>
>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by Ricardo Espírito Santo <ri...@gmail.com>.
Wouldn't it be better to use something like http://www.gradle.org/ to write
up the build process?

Ricardo Espírito Santo


On 4 June 2013 16:08, William Speirs <ws...@apache.org> wrote:

> Gary, thanks for the info. That is an unbelievable number of steps required
> to cut a release. I see you're working on Windows, but I'm going to try and
> throw something together (probably in Python as I'm trying learn it)
> focused on Linux. If you could make it work on Windows as well, that'd be
> huge.
>
> All: Are the steps that Gary outlined what most everyone does to cut a
> release? Is there a better way?
>
> Thanks...
>
> Bill-
>
>
> On Tue, Jun 4, 2013 at 8:19 AM, Gary Gregory <ga...@gmail.com>
> wrote:
>
> > On Tue, Jun 4, 2013 at 8:08 AM, Benedikt Ritter <br...@apache.org>
> > wrote:
> >
> > > Hi Bill,
> > >
> > >
> > > 2013/6/4 William Speirs <ws...@apache.org>
> > >
> > > > My confusion, it says in those directions to remove the -SNAPSHOT
> from
> > > the
> > > > version. That's exactly what I did. So then I shouldn't submit that
> to
> > > > trunk? I thought you were supposed to get everything setup in trunk
> > then
> > > > simply svn copy that to your tag.
> > > >
> > >
> > > This is what we do at my company. Tags should never be changed. OTOH
> > trunk
> > > should always contain the latest (=SNAPSHOT) code. If trunk ever
> > contains a
> > > non SNAPSHOT version, the nightly build will push that version to the
> > > snapshot repo. And that is definitively worse than changing a tag.
> > >
> > >
> > > >
> > > > If I were to start working on a python script that performed all of
> > these
> > > > steps, so they can be verified by the community, and then submit that
> > > > alongside the source, would others find this helpful?
> > >
> >
> > What steps exactly? I set the version back and forth with Maven and SVN
> > (revert) for example. Our release process is ridiculously burdensome IMO,
> > anything will help. Here is the stuff I did for Codec 1.8:
> >
> > commons-codec 1.8
> > set the release date in changes.xml
> > mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd clean
> deploy
> > -Prelease
> > Download src.zip file and build.
> > mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> > mvn commons:download-page
> > svn revert pom.xml
> > svn commit -m"Release preparation for 1.8-RC4."
> > svn update
> > mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> > Set version in default.properties
> > svn copy . -m"Create commons-codec-1.8-RC4."
> > https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> > svn revert pom.xml
> > svn revert default.properties
> > rd c:\temp\codec\RC /s/q && md c:\temp\codec\RC && cd c:\temp\codec\RC
> > svn co
> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4c
> > :\temp\codec\RC
> > mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd deploy
> > -Prelease
> > Close repo: https://repository.apache.org/index.html
> > https://repository.apache.org/content/repositories/orgapachecommons-130/
> > mvn site
> >
> > DOES NOT WORK: mvn site:stage-deploy -DstagingDirectory=src/site
> > -DstagingSiteURL=scp://
> > people.apache.org/x1/builds/commons/commons-codec/1.8/RC1
> > [INFO] maven.site.deploy.skip = true: Skipping site deployment
> >
> > Upload local site to my people page
> >
> > Email [VOTE] Release Commons Codec 1.8-RC4 [Take 3]
> >
> > Email [RESULT][VOTE] Release Commons Codec 1.8-RC4 [Take 3]
> >
> > ssh people.apache.org
> > cd release
> > rm *
> > wget -r -l 1 -np -nH -nd -nv -e robots=off --wait 5
> --no-check-certificate
> >
> >
> https://repository.apache.org/content/repositories/orgapachecommons-130/commons-codec/commons-codec/1.8/
> > go to repository.apache.org
> > delete .tar.gz and .zip (and their asc files)
> > chown :commons *
> > chgrp commons *
> > chmod g+w *
> >
> > svn mkdir -m "Creating initial directory structure for Commons Codec"
> > https://dist.apache.org/repos/dist/dev/commons/codec
> > svn mkdir -m "Creating initial directory structure for Commons Codec"
> > https://dist.apache.org/repos/dist/dev/commons/codec/binaries
> > svn mkdir -m "Creating initial directory structure for Commons Codec"
> > https://dist.apache.org/repos/dist/dev/commons/codec/source
> >
> > cd C:\repo\svn\apache\dist\dev\commons\codec
> > svn co https://dist.apache.org/repos/dist/dev/commons/codec .
> >
> > set repo_path=c:\temp\codec\rc\target
> > set release_path=C:\repo\svn\apache\dist\dev\commons\codec
> >
> > In the file explorer, copy all the -bin and -src files to the release
> path
> > in binaries and source.
> >
> > checkout https://dist.apache.org/repos/dist/release/commons/codec
> > copy/add/commit 1.8 files
> > update readme HTML files
> > svn copy
> > https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> > https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8 -m"Create
> > 1.8 GA tag."
> >
> > Gary
> >
> > > >
> > >
> > > If this is possible it would be more than welcome, I guess... (I've
> never
> > > done a RC)
> > >
> > >
> > > >
> > > > Thanks...
> > > >
> > > > Bill-
> > > > On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
> > > >
> > > > > http://commons.apache.org/releases/prepare.html#Manual_Method
> > > > >
> > > > > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
> > > > > > Is there documentation about this somewhere? What should I have
> > done?
> > > > > >
> > > > > > Thanks...
> > > > > >
> > > > > > Bill-
> > > > > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
> > > > > >
> > > > > >> Author: sebb
> > > > > >> Date: Tue Jun  4 09:02:02 2013
> > > > > >> New Revision: 1489347
> > > > > >>
> > > > > >> URL: http://svn.apache.org/r1489347
> > > > > >> Log:
> > > > > >> Only tags should use non-SNAPSHOT versions please
> > > > > >>
> > > > > >> Modified:
> > > > > >>     commons/proper/dbutils/trunk/pom.xml
> > > > > >>
> > > > > >> Modified: commons/proper/dbutils/trunk/pom.xml
> > > > > >> URL:
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> ==============================================================================
> > > > > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
> > > > > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4
> > 09:02:02
> > > > > 2013
> > > > > >> @@ -24,7 +24,7 @@
> > > > > >>    <modelVersion>4.0.0</modelVersion>
> > > > > >>    <groupId>commons-dbutils</groupId>
> > > > > >>    <artifactId>commons-dbutils</artifactId>
> > > > > >> -  <version>1.6</version>
> > > > > >> +  <version>1.6-SNAPSHOT</version>
> > > > > >>    <name>Commons DbUtils</name>
> > > > > >>
> > > > > >>    <inceptionYear>2002</inceptionYear>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > > > For additional commands, e-mail: dev-help@commons.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > http://people.apache.org/~britter/
> > > http://www.systemoutprintln.de/
> > > http://twitter.com/BenediktRitter
> > > http://github.com/britter
> > >
> >
> >
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > Java Persistence with Hibernate, Second Edition<
> > http://www.manning.com/bauer3/>
> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > Spring Batch in Action <http://www.manning.com/templier/>
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>

Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 4 June 2013 16:08, William Speirs <ws...@apache.org> wrote:
> Gary, thanks for the info. That is an unbelievable number of steps required
> to cut a release. I see you're working on Windows, but I'm going to try and
> throw something together (probably in Python as I'm trying learn it)
> focused on Linux. If you could make it work on Windows as well, that'd be
> huge.
>
> All: Are the steps that Gary outlined what most everyone does to cut a
> release? Is there a better way?

It really is not that difficult to do a release, but you do have to
follow the steps under http://commons.apache.org/releases/index.html
carefully.

If there are any stages that are not clear, please let's get them fixed.

> Thanks...
>
> Bill-
>
>
> On Tue, Jun 4, 2013 at 8:19 AM, Gary Gregory <ga...@gmail.com> wrote:
>
>> On Tue, Jun 4, 2013 at 8:08 AM, Benedikt Ritter <br...@apache.org>
>> wrote:
>>
>> > Hi Bill,
>> >
>> >
>> > 2013/6/4 William Speirs <ws...@apache.org>
>> >
>> > > My confusion, it says in those directions to remove the -SNAPSHOT from
>> > the
>> > > version. That's exactly what I did. So then I shouldn't submit that to
>> > > trunk? I thought you were supposed to get everything setup in trunk
>> then
>> > > simply svn copy that to your tag.
>> > >
>> >
>> > This is what we do at my company. Tags should never be changed. OTOH
>> trunk
>> > should always contain the latest (=SNAPSHOT) code. If trunk ever
>> contains a
>> > non SNAPSHOT version, the nightly build will push that version to the
>> > snapshot repo. And that is definitively worse than changing a tag.
>> >
>> >
>> > >
>> > > If I were to start working on a python script that performed all of
>> these
>> > > steps, so they can be verified by the community, and then submit that
>> > > alongside the source, would others find this helpful?
>> >
>>
>> What steps exactly? I set the version back and forth with Maven and SVN
>> (revert) for example. Our release process is ridiculously burdensome IMO,
>> anything will help. Here is the stuff I did for Codec 1.8:
>>
>> commons-codec 1.8
>> set the release date in changes.xml
>> mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd clean deploy
>> -Prelease
>> Download src.zip file and build.
>> mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
>> mvn commons:download-page
>> svn revert pom.xml
>> svn commit -m"Release preparation for 1.8-RC4."
>> svn update
>> mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
>> Set version in default.properties
>> svn copy . -m"Create commons-codec-1.8-RC4."
>> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
>> svn revert pom.xml
>> svn revert default.properties
>> rd c:\temp\codec\RC /s/q && md c:\temp\codec\RC && cd c:\temp\codec\RC
>> svn co https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4c
>> :\temp\codec\RC
>> mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd deploy
>> -Prelease
>> Close repo: https://repository.apache.org/index.html
>> https://repository.apache.org/content/repositories/orgapachecommons-130/
>> mvn site
>>
>> DOES NOT WORK: mvn site:stage-deploy -DstagingDirectory=src/site
>> -DstagingSiteURL=scp://
>> people.apache.org/x1/builds/commons/commons-codec/1.8/RC1
>> [INFO] maven.site.deploy.skip = true: Skipping site deployment
>>
>> Upload local site to my people page
>>
>> Email [VOTE] Release Commons Codec 1.8-RC4 [Take 3]
>>
>> Email [RESULT][VOTE] Release Commons Codec 1.8-RC4 [Take 3]
>>
>> ssh people.apache.org
>> cd release
>> rm *
>> wget -r -l 1 -np -nH -nd -nv -e robots=off --wait 5 --no-check-certificate
>>
>> https://repository.apache.org/content/repositories/orgapachecommons-130/commons-codec/commons-codec/1.8/
>> go to repository.apache.org
>> delete .tar.gz and .zip (and their asc files)
>> chown :commons *
>> chgrp commons *
>> chmod g+w *
>>
>> svn mkdir -m "Creating initial directory structure for Commons Codec"
>> https://dist.apache.org/repos/dist/dev/commons/codec
>> svn mkdir -m "Creating initial directory structure for Commons Codec"
>> https://dist.apache.org/repos/dist/dev/commons/codec/binaries
>> svn mkdir -m "Creating initial directory structure for Commons Codec"
>> https://dist.apache.org/repos/dist/dev/commons/codec/source
>>
>> cd C:\repo\svn\apache\dist\dev\commons\codec
>> svn co https://dist.apache.org/repos/dist/dev/commons/codec .
>>
>> set repo_path=c:\temp\codec\rc\target
>> set release_path=C:\repo\svn\apache\dist\dev\commons\codec
>>
>> In the file explorer, copy all the -bin and -src files to the release path
>> in binaries and source.
>>
>> checkout https://dist.apache.org/repos/dist/release/commons/codec
>> copy/add/commit 1.8 files
>> update readme HTML files
>> svn copy
>> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
>> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8 -m"Create
>> 1.8 GA tag."
>>
>> Gary
>>
>> > >
>> >
>> > If this is possible it would be more than welcome, I guess... (I've never
>> > done a RC)
>> >
>> >
>> > >
>> > > Thanks...
>> > >
>> > > Bill-
>> > > On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
>> > >
>> > > > http://commons.apache.org/releases/prepare.html#Manual_Method
>> > > >
>> > > > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
>> > > > > Is there documentation about this somewhere? What should I have
>> done?
>> > > > >
>> > > > > Thanks...
>> > > > >
>> > > > > Bill-
>> > > > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
>> > > > >
>> > > > >> Author: sebb
>> > > > >> Date: Tue Jun  4 09:02:02 2013
>> > > > >> New Revision: 1489347
>> > > > >>
>> > > > >> URL: http://svn.apache.org/r1489347
>> > > > >> Log:
>> > > > >> Only tags should use non-SNAPSHOT versions please
>> > > > >>
>> > > > >> Modified:
>> > > > >>     commons/proper/dbutils/trunk/pom.xml
>> > > > >>
>> > > > >> Modified: commons/proper/dbutils/trunk/pom.xml
>> > > > >> URL:
>> > > > >>
>> > > >
>> > >
>> >
>> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
>> > > > >>
>> > > > >>
>> > > >
>> > >
>> >
>> ==============================================================================
>> > > > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
>> > > > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4
>> 09:02:02
>> > > > 2013
>> > > > >> @@ -24,7 +24,7 @@
>> > > > >>    <modelVersion>4.0.0</modelVersion>
>> > > > >>    <groupId>commons-dbutils</groupId>
>> > > > >>    <artifactId>commons-dbutils</artifactId>
>> > > > >> -  <version>1.6</version>
>> > > > >> +  <version>1.6-SNAPSHOT</version>
>> > > > >>    <name>Commons DbUtils</name>
>> > > > >>
>> > > > >>    <inceptionYear>2002</inceptionYear>
>> > > > >>
>> > > > >>
>> > > > >>
>> > > >
>> > > > ---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> > > > For additional commands, e-mail: dev-help@commons.apache.org
>> > > >
>> > > >
>> > >
>> >
>> >
>> >
>> > --
>> > http://people.apache.org/~britter/
>> > http://www.systemoutprintln.de/
>> > http://twitter.com/BenediktRitter
>> > http://github.com/britter
>> >
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition<
>> http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Jun 4, 2013 at 11:08 AM, William Speirs <ws...@apache.org> wrote:

> Gary, thanks for the info. That is an unbelievable number of steps required
> to cut a release. I see you're working on Windows, but I'm going to try and
> throw something together (probably in Python as I'm trying learn it)
> focused on Linux. If you could make it work on Windows as well, that'd be
> huge.
>

If you are on Linux, just replace the Windows command line with bash.

Gary

>
> All: Are the steps that Gary outlined what most everyone does to cut a
> release? Is there a better way?
>
> Thanks...
>
> Bill-
>
>
> On Tue, Jun 4, 2013 at 8:19 AM, Gary Gregory <ga...@gmail.com>
> wrote:
>
> > On Tue, Jun 4, 2013 at 8:08 AM, Benedikt Ritter <br...@apache.org>
> > wrote:
> >
> > > Hi Bill,
> > >
> > >
> > > 2013/6/4 William Speirs <ws...@apache.org>
> > >
> > > > My confusion, it says in those directions to remove the -SNAPSHOT
> from
> > > the
> > > > version. That's exactly what I did. So then I shouldn't submit that
> to
> > > > trunk? I thought you were supposed to get everything setup in trunk
> > then
> > > > simply svn copy that to your tag.
> > > >
> > >
> > > This is what we do at my company. Tags should never be changed. OTOH
> > trunk
> > > should always contain the latest (=SNAPSHOT) code. If trunk ever
> > contains a
> > > non SNAPSHOT version, the nightly build will push that version to the
> > > snapshot repo. And that is definitively worse than changing a tag.
> > >
> > >
> > > >
> > > > If I were to start working on a python script that performed all of
> > these
> > > > steps, so they can be verified by the community, and then submit that
> > > > alongside the source, would others find this helpful?
> > >
> >
> > What steps exactly? I set the version back and forth with Maven and SVN
> > (revert) for example. Our release process is ridiculously burdensome IMO,
> > anything will help. Here is the stuff I did for Codec 1.8:
> >
> > commons-codec 1.8
> > set the release date in changes.xml
> > mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd clean
> deploy
> > -Prelease
> > Download src.zip file and build.
> > mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> > mvn commons:download-page
> > svn revert pom.xml
> > svn commit -m"Release preparation for 1.8-RC4."
> > svn update
> > mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> > Set version in default.properties
> > svn copy . -m"Create commons-codec-1.8-RC4."
> > https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> > svn revert pom.xml
> > svn revert default.properties
> > rd c:\temp\codec\RC /s/q && md c:\temp\codec\RC && cd c:\temp\codec\RC
> > svn co
> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4c
> > :\temp\codec\RC
> > mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd deploy
> > -Prelease
> > Close repo: https://repository.apache.org/index.html
> > https://repository.apache.org/content/repositories/orgapachecommons-130/
> > mvn site
> >
> > DOES NOT WORK: mvn site:stage-deploy -DstagingDirectory=src/site
> > -DstagingSiteURL=scp://
> > people.apache.org/x1/builds/commons/commons-codec/1.8/RC1
> > [INFO] maven.site.deploy.skip = true: Skipping site deployment
> >
> > Upload local site to my people page
> >
> > Email [VOTE] Release Commons Codec 1.8-RC4 [Take 3]
> >
> > Email [RESULT][VOTE] Release Commons Codec 1.8-RC4 [Take 3]
> >
> > ssh people.apache.org
> > cd release
> > rm *
> > wget -r -l 1 -np -nH -nd -nv -e robots=off --wait 5
> --no-check-certificate
> >
> >
> https://repository.apache.org/content/repositories/orgapachecommons-130/commons-codec/commons-codec/1.8/
> > go to repository.apache.org
> > delete .tar.gz and .zip (and their asc files)
> > chown :commons *
> > chgrp commons *
> > chmod g+w *
> >
> > svn mkdir -m "Creating initial directory structure for Commons Codec"
> > https://dist.apache.org/repos/dist/dev/commons/codec
> > svn mkdir -m "Creating initial directory structure for Commons Codec"
> > https://dist.apache.org/repos/dist/dev/commons/codec/binaries
> > svn mkdir -m "Creating initial directory structure for Commons Codec"
> > https://dist.apache.org/repos/dist/dev/commons/codec/source
> >
> > cd C:\repo\svn\apache\dist\dev\commons\codec
> > svn co https://dist.apache.org/repos/dist/dev/commons/codec .
> >
> > set repo_path=c:\temp\codec\rc\target
> > set release_path=C:\repo\svn\apache\dist\dev\commons\codec
> >
> > In the file explorer, copy all the -bin and -src files to the release
> path
> > in binaries and source.
> >
> > checkout https://dist.apache.org/repos/dist/release/commons/codec
> > copy/add/commit 1.8 files
> > update readme HTML files
> > svn copy
> > https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> > https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8 -m"Create
> > 1.8 GA tag."
> >
> > Gary
> >
> > > >
> > >
> > > If this is possible it would be more than welcome, I guess... (I've
> never
> > > done a RC)
> > >
> > >
> > > >
> > > > Thanks...
> > > >
> > > > Bill-
> > > > On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
> > > >
> > > > > http://commons.apache.org/releases/prepare.html#Manual_Method
> > > > >
> > > > > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
> > > > > > Is there documentation about this somewhere? What should I have
> > done?
> > > > > >
> > > > > > Thanks...
> > > > > >
> > > > > > Bill-
> > > > > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
> > > > > >
> > > > > >> Author: sebb
> > > > > >> Date: Tue Jun  4 09:02:02 2013
> > > > > >> New Revision: 1489347
> > > > > >>
> > > > > >> URL: http://svn.apache.org/r1489347
> > > > > >> Log:
> > > > > >> Only tags should use non-SNAPSHOT versions please
> > > > > >>
> > > > > >> Modified:
> > > > > >>     commons/proper/dbutils/trunk/pom.xml
> > > > > >>
> > > > > >> Modified: commons/proper/dbutils/trunk/pom.xml
> > > > > >> URL:
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> ==============================================================================
> > > > > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
> > > > > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4
> > 09:02:02
> > > > > 2013
> > > > > >> @@ -24,7 +24,7 @@
> > > > > >>    <modelVersion>4.0.0</modelVersion>
> > > > > >>    <groupId>commons-dbutils</groupId>
> > > > > >>    <artifactId>commons-dbutils</artifactId>
> > > > > >> -  <version>1.6</version>
> > > > > >> +  <version>1.6-SNAPSHOT</version>
> > > > > >>    <name>Commons DbUtils</name>
> > > > > >>
> > > > > >>    <inceptionYear>2002</inceptionYear>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > > > For additional commands, e-mail: dev-help@commons.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > http://people.apache.org/~britter/
> > > http://www.systemoutprintln.de/
> > > http://twitter.com/BenediktRitter
> > > http://github.com/britter
> > >
> >
> >
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > Java Persistence with Hibernate, Second Edition<
> > http://www.manning.com/bauer3/>
> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > Spring Batch in Action <http://www.manning.com/templier/>
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by William Speirs <ws...@apache.org>.
Gary, thanks for the info. That is an unbelievable number of steps required
to cut a release. I see you're working on Windows, but I'm going to try and
throw something together (probably in Python as I'm trying learn it)
focused on Linux. If you could make it work on Windows as well, that'd be
huge.

All: Are the steps that Gary outlined what most everyone does to cut a
release? Is there a better way?

Thanks...

Bill-


On Tue, Jun 4, 2013 at 8:19 AM, Gary Gregory <ga...@gmail.com> wrote:

> On Tue, Jun 4, 2013 at 8:08 AM, Benedikt Ritter <br...@apache.org>
> wrote:
>
> > Hi Bill,
> >
> >
> > 2013/6/4 William Speirs <ws...@apache.org>
> >
> > > My confusion, it says in those directions to remove the -SNAPSHOT from
> > the
> > > version. That's exactly what I did. So then I shouldn't submit that to
> > > trunk? I thought you were supposed to get everything setup in trunk
> then
> > > simply svn copy that to your tag.
> > >
> >
> > This is what we do at my company. Tags should never be changed. OTOH
> trunk
> > should always contain the latest (=SNAPSHOT) code. If trunk ever
> contains a
> > non SNAPSHOT version, the nightly build will push that version to the
> > snapshot repo. And that is definitively worse than changing a tag.
> >
> >
> > >
> > > If I were to start working on a python script that performed all of
> these
> > > steps, so they can be verified by the community, and then submit that
> > > alongside the source, would others find this helpful?
> >
>
> What steps exactly? I set the version back and forth with Maven and SVN
> (revert) for example. Our release process is ridiculously burdensome IMO,
> anything will help. Here is the stuff I did for Codec 1.8:
>
> commons-codec 1.8
> set the release date in changes.xml
> mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd clean deploy
> -Prelease
> Download src.zip file and build.
> mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> mvn commons:download-page
> svn revert pom.xml
> svn commit -m"Release preparation for 1.8-RC4."
> svn update
> mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> Set version in default.properties
> svn copy . -m"Create commons-codec-1.8-RC4."
> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> svn revert pom.xml
> svn revert default.properties
> rd c:\temp\codec\RC /s/q && md c:\temp\codec\RC && cd c:\temp\codec\RC
> svn co https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4c
> :\temp\codec\RC
> mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd deploy
> -Prelease
> Close repo: https://repository.apache.org/index.html
> https://repository.apache.org/content/repositories/orgapachecommons-130/
> mvn site
>
> DOES NOT WORK: mvn site:stage-deploy -DstagingDirectory=src/site
> -DstagingSiteURL=scp://
> people.apache.org/x1/builds/commons/commons-codec/1.8/RC1
> [INFO] maven.site.deploy.skip = true: Skipping site deployment
>
> Upload local site to my people page
>
> Email [VOTE] Release Commons Codec 1.8-RC4 [Take 3]
>
> Email [RESULT][VOTE] Release Commons Codec 1.8-RC4 [Take 3]
>
> ssh people.apache.org
> cd release
> rm *
> wget -r -l 1 -np -nH -nd -nv -e robots=off --wait 5 --no-check-certificate
>
> https://repository.apache.org/content/repositories/orgapachecommons-130/commons-codec/commons-codec/1.8/
> go to repository.apache.org
> delete .tar.gz and .zip (and their asc files)
> chown :commons *
> chgrp commons *
> chmod g+w *
>
> svn mkdir -m "Creating initial directory structure for Commons Codec"
> https://dist.apache.org/repos/dist/dev/commons/codec
> svn mkdir -m "Creating initial directory structure for Commons Codec"
> https://dist.apache.org/repos/dist/dev/commons/codec/binaries
> svn mkdir -m "Creating initial directory structure for Commons Codec"
> https://dist.apache.org/repos/dist/dev/commons/codec/source
>
> cd C:\repo\svn\apache\dist\dev\commons\codec
> svn co https://dist.apache.org/repos/dist/dev/commons/codec .
>
> set repo_path=c:\temp\codec\rc\target
> set release_path=C:\repo\svn\apache\dist\dev\commons\codec
>
> In the file explorer, copy all the -bin and -src files to the release path
> in binaries and source.
>
> checkout https://dist.apache.org/repos/dist/release/commons/codec
> copy/add/commit 1.8 files
> update readme HTML files
> svn copy
> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8 -m"Create
> 1.8 GA tag."
>
> Gary
>
> > >
> >
> > If this is possible it would be more than welcome, I guess... (I've never
> > done a RC)
> >
> >
> > >
> > > Thanks...
> > >
> > > Bill-
> > > On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
> > >
> > > > http://commons.apache.org/releases/prepare.html#Manual_Method
> > > >
> > > > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
> > > > > Is there documentation about this somewhere? What should I have
> done?
> > > > >
> > > > > Thanks...
> > > > >
> > > > > Bill-
> > > > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
> > > > >
> > > > >> Author: sebb
> > > > >> Date: Tue Jun  4 09:02:02 2013
> > > > >> New Revision: 1489347
> > > > >>
> > > > >> URL: http://svn.apache.org/r1489347
> > > > >> Log:
> > > > >> Only tags should use non-SNAPSHOT versions please
> > > > >>
> > > > >> Modified:
> > > > >>     commons/proper/dbutils/trunk/pom.xml
> > > > >>
> > > > >> Modified: commons/proper/dbutils/trunk/pom.xml
> > > > >> URL:
> > > > >>
> > > >
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
> > > > >>
> > > > >>
> > > >
> > >
> >
> ==============================================================================
> > > > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
> > > > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4
> 09:02:02
> > > > 2013
> > > > >> @@ -24,7 +24,7 @@
> > > > >>    <modelVersion>4.0.0</modelVersion>
> > > > >>    <groupId>commons-dbutils</groupId>
> > > > >>    <artifactId>commons-dbutils</artifactId>
> > > > >> -  <version>1.6</version>
> > > > >> +  <version>1.6-SNAPSHOT</version>
> > > > >>    <name>Commons DbUtils</name>
> > > > >>
> > > > >>    <inceptionYear>2002</inceptionYear>
> > > > >>
> > > > >>
> > > > >>
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > > For additional commands, e-mail: dev-help@commons.apache.org
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
> >
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition<
> http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>

Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 4 June 2013 13:19, Gary Gregory <ga...@gmail.com> wrote:
> On Tue, Jun 4, 2013 at 8:08 AM, Benedikt Ritter <br...@apache.org> wrote:
>
>> Hi Bill,
>>
>>
>> 2013/6/4 William Speirs <ws...@apache.org>
>>
>> > My confusion, it says in those directions to remove the -SNAPSHOT from
>> the
>> > version. That's exactly what I did. So then I shouldn't submit that to
>> > trunk? I thought you were supposed to get everything setup in trunk then
>> > simply svn copy that to your tag.
>> >
>>
>> This is what we do at my company. Tags should never be changed. OTOH trunk
>> should always contain the latest (=SNAPSHOT) code. If trunk ever contains a
>> non SNAPSHOT version, the nightly build will push that version to the
>> snapshot repo. And that is definitively worse than changing a tag.
>>
>>
>> >
>> > If I were to start working on a python script that performed all of these
>> > steps, so they can be verified by the community, and then submit that
>> > alongside the source, would others find this helpful?
>>
>
> What steps exactly? I set the version back and forth with Maven and SVN
> (revert) for example. Our release process is ridiculously burdensome IMO,
> anything will help. Here is the stuff I did for Codec 1.8:
>
> commons-codec 1.8
> set the release date in changes.xml
> mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd clean deploy
> -Prelease
> Download src.zip file and build.
> mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> mvn commons:download-page
> svn revert pom.xml
> svn commit -m"Release preparation for 1.8-RC4."
> svn update
> mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
> Set version in default.properties
> svn copy . -m"Create commons-codec-1.8-RC4."
> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> svn revert pom.xml
> svn revert default.properties
> rd c:\temp\codec\RC /s/q && md c:\temp\codec\RC && cd c:\temp\codec\RC
> svn co https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4c:\temp\codec\RC
> mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd deploy
> -Prelease
> Close repo: https://repository.apache.org/index.html
> https://repository.apache.org/content/repositories/orgapachecommons-130/
> mvn site
>
> DOES NOT WORK: mvn site:stage-deploy -DstagingDirectory=src/site
> -DstagingSiteURL=scp://
> people.apache.org/x1/builds/commons/commons-codec/1.8/RC1
> [INFO] maven.site.deploy.skip = true: Skipping site deployment
>
> Upload local site to my people page
>
> Email [VOTE] Release Commons Codec 1.8-RC4 [Take 3]
>
> Email [RESULT][VOTE] Release Commons Codec 1.8-RC4 [Take 3]
>
> ssh people.apache.org
> cd release
> rm *
> wget -r -l 1 -np -nH -nd -nv -e robots=off --wait 5 --no-check-certificate
> https://repository.apache.org/content/repositories/orgapachecommons-130/commons-codec/commons-codec/1.8/
> go to repository.apache.org
> delete .tar.gz and .zip (and their asc files)
> chown :commons *
> chgrp commons *
> chmod g+w *

AFAICT the above are not really needed.

> svn mkdir -m "Creating initial directory structure for Commons Codec"
> https://dist.apache.org/repos/dist/dev/commons/codec
> svn mkdir -m "Creating initial directory structure for Commons Codec"
> https://dist.apache.org/repos/dist/dev/commons/codec/binaries
> svn mkdir -m "Creating initial directory structure for Commons Codec"
> https://dist.apache.org/repos/dist/dev/commons/codec/source

The above lines are one-off, and anyway are only needed if you are not
using the Nexus repo for staging.

> cd C:\repo\svn\apache\dist\dev\commons\codec
> svn co https://dist.apache.org/repos/dist/dev/commons/codec .
>
> set repo_path=c:\temp\codec\rc\target
> set release_path=C:\repo\svn\apache\dist\dev\commons\codec
>
> In the file explorer, copy all the -bin and -src files to the release path
> in binaries and source.
>
> checkout https://dist.apache.org/repos/dist/release/commons/codec
> copy/add/commit 1.8 files
> update readme HTML files
> svn copy https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
> https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8 -m"Create
> 1.8 GA tag."
>
> Gary
>
>> >
>>
>> If this is possible it would be more than welcome, I guess... (I've never
>> done a RC)
>>
>>
>> >
>> > Thanks...
>> >
>> > Bill-
>> > On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
>> >
>> > > http://commons.apache.org/releases/prepare.html#Manual_Method
>> > >
>> > > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
>> > > > Is there documentation about this somewhere? What should I have done?
>> > > >
>> > > > Thanks...
>> > > >
>> > > > Bill-
>> > > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
>> > > >
>> > > >> Author: sebb
>> > > >> Date: Tue Jun  4 09:02:02 2013
>> > > >> New Revision: 1489347
>> > > >>
>> > > >> URL: http://svn.apache.org/r1489347
>> > > >> Log:
>> > > >> Only tags should use non-SNAPSHOT versions please
>> > > >>
>> > > >> Modified:
>> > > >>     commons/proper/dbutils/trunk/pom.xml
>> > > >>
>> > > >> Modified: commons/proper/dbutils/trunk/pom.xml
>> > > >> URL:
>> > > >>
>> > >
>> >
>> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
>> > > >>
>> > > >>
>> > >
>> >
>> ==============================================================================
>> > > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
>> > > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02
>> > > 2013
>> > > >> @@ -24,7 +24,7 @@
>> > > >>    <modelVersion>4.0.0</modelVersion>
>> > > >>    <groupId>commons-dbutils</groupId>
>> > > >>    <artifactId>commons-dbutils</artifactId>
>> > > >> -  <version>1.6</version>
>> > > >> +  <version>1.6-SNAPSHOT</version>
>> > > >>    <name>Commons DbUtils</name>
>> > > >>
>> > > >>    <inceptionYear>2002</inceptionYear>
>> > > >>
>> > > >>
>> > > >>
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> > > For additional commands, e-mail: dev-help@commons.apache.org
>> > >
>> > >
>> >
>>
>>
>>
>> --
>> http://people.apache.org/~britter/
>> http://www.systemoutprintln.de/
>> http://twitter.com/BenediktRitter
>> http://github.com/britter
>>
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Jun 4, 2013 at 8:08 AM, Benedikt Ritter <br...@apache.org> wrote:

> Hi Bill,
>
>
> 2013/6/4 William Speirs <ws...@apache.org>
>
> > My confusion, it says in those directions to remove the -SNAPSHOT from
> the
> > version. That's exactly what I did. So then I shouldn't submit that to
> > trunk? I thought you were supposed to get everything setup in trunk then
> > simply svn copy that to your tag.
> >
>
> This is what we do at my company. Tags should never be changed. OTOH trunk
> should always contain the latest (=SNAPSHOT) code. If trunk ever contains a
> non SNAPSHOT version, the nightly build will push that version to the
> snapshot repo. And that is definitively worse than changing a tag.
>
>
> >
> > If I were to start working on a python script that performed all of these
> > steps, so they can be verified by the community, and then submit that
> > alongside the source, would others find this helpful?
>

What steps exactly? I set the version back and forth with Maven and SVN
(revert) for example. Our release process is ridiculously burdensome IMO,
anything will help. Here is the stuff I did for Codec 1.8:

commons-codec 1.8
set the release date in changes.xml
mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd clean deploy
-Prelease
Download src.zip file and build.
mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
mvn commons:download-page
svn revert pom.xml
svn commit -m"Release preparation for 1.8-RC4."
svn update
mvn versions:set -DnewVersion=1.8 -DgenerateBackupPoms=false
Set version in default.properties
svn copy . -m"Create commons-codec-1.8-RC4."
https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
svn revert pom.xml
svn revert default.properties
rd c:\temp\codec\RC /s/q && md c:\temp\codec\RC && cd c:\temp\codec\RC
svn co https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4c:\temp\codec\RC
mvn -Darguments=-Dgpg.passphrase=MyPwd -Dgpg.passphrase=MyPwd deploy
-Prelease
Close repo: https://repository.apache.org/index.html
https://repository.apache.org/content/repositories/orgapachecommons-130/
mvn site

DOES NOT WORK: mvn site:stage-deploy -DstagingDirectory=src/site
-DstagingSiteURL=scp://
people.apache.org/x1/builds/commons/commons-codec/1.8/RC1
[INFO] maven.site.deploy.skip = true: Skipping site deployment

Upload local site to my people page

Email [VOTE] Release Commons Codec 1.8-RC4 [Take 3]

Email [RESULT][VOTE] Release Commons Codec 1.8-RC4 [Take 3]

ssh people.apache.org
cd release
rm *
wget -r -l 1 -np -nH -nd -nv -e robots=off --wait 5 --no-check-certificate
https://repository.apache.org/content/repositories/orgapachecommons-130/commons-codec/commons-codec/1.8/
go to repository.apache.org
delete .tar.gz and .zip (and their asc files)
chown :commons *
chgrp commons *
chmod g+w *

svn mkdir -m "Creating initial directory structure for Commons Codec"
https://dist.apache.org/repos/dist/dev/commons/codec
svn mkdir -m "Creating initial directory structure for Commons Codec"
https://dist.apache.org/repos/dist/dev/commons/codec/binaries
svn mkdir -m "Creating initial directory structure for Commons Codec"
https://dist.apache.org/repos/dist/dev/commons/codec/source

cd C:\repo\svn\apache\dist\dev\commons\codec
svn co https://dist.apache.org/repos/dist/dev/commons/codec .

set repo_path=c:\temp\codec\rc\target
set release_path=C:\repo\svn\apache\dist\dev\commons\codec

In the file explorer, copy all the -bin and -src files to the release path
in binaries and source.

checkout https://dist.apache.org/repos/dist/release/commons/codec
copy/add/commit 1.8 files
update readme HTML files
svn copy https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8-RC4
https://svn.apache.org/repos/asf/commons/proper/codec/tags/1.8 -m"Create
1.8 GA tag."

Gary

> >
>
> If this is possible it would be more than welcome, I guess... (I've never
> done a RC)
>
>
> >
> > Thanks...
> >
> > Bill-
> > On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
> >
> > > http://commons.apache.org/releases/prepare.html#Manual_Method
> > >
> > > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
> > > > Is there documentation about this somewhere? What should I have done?
> > > >
> > > > Thanks...
> > > >
> > > > Bill-
> > > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
> > > >
> > > >> Author: sebb
> > > >> Date: Tue Jun  4 09:02:02 2013
> > > >> New Revision: 1489347
> > > >>
> > > >> URL: http://svn.apache.org/r1489347
> > > >> Log:
> > > >> Only tags should use non-SNAPSHOT versions please
> > > >>
> > > >> Modified:
> > > >>     commons/proper/dbutils/trunk/pom.xml
> > > >>
> > > >> Modified: commons/proper/dbutils/trunk/pom.xml
> > > >> URL:
> > > >>
> > >
> >
> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
> > > >>
> > > >>
> > >
> >
> ==============================================================================
> > > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
> > > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02
> > > 2013
> > > >> @@ -24,7 +24,7 @@
> > > >>    <modelVersion>4.0.0</modelVersion>
> > > >>    <groupId>commons-dbutils</groupId>
> > > >>    <artifactId>commons-dbutils</artifactId>
> > > >> -  <version>1.6</version>
> > > >> +  <version>1.6-SNAPSHOT</version>
> > > >>    <name>Commons DbUtils</name>
> > > >>
> > > >>    <inceptionYear>2002</inceptionYear>
> > > >>
> > > >>
> > > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > For additional commands, e-mail: dev-help@commons.apache.org
> > >
> > >
> >
>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by Benedikt Ritter <br...@apache.org>.
Hi Bill,


2013/6/4 William Speirs <ws...@apache.org>

> My confusion, it says in those directions to remove the -SNAPSHOT from the
> version. That's exactly what I did. So then I shouldn't submit that to
> trunk? I thought you were supposed to get everything setup in trunk then
> simply svn copy that to your tag.
>

This is what we do at my company. Tags should never be changed. OTOH trunk
should always contain the latest (=SNAPSHOT) code. If trunk ever contains a
non SNAPSHOT version, the nightly build will push that version to the
snapshot repo. And that is definitively worse than changing a tag.


>
> If I were to start working on a python script that performed all of these
> steps, so they can be verified by the community, and then submit that
> alongside the source, would others find this helpful?
>

If this is possible it would be more than welcome, I guess... (I've never
done a RC)


>
> Thanks...
>
> Bill-
> On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
>
> > http://commons.apache.org/releases/prepare.html#Manual_Method
> >
> > On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
> > > Is there documentation about this somewhere? What should I have done?
> > >
> > > Thanks...
> > >
> > > Bill-
> > > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
> > >
> > >> Author: sebb
> > >> Date: Tue Jun  4 09:02:02 2013
> > >> New Revision: 1489347
> > >>
> > >> URL: http://svn.apache.org/r1489347
> > >> Log:
> > >> Only tags should use non-SNAPSHOT versions please
> > >>
> > >> Modified:
> > >>     commons/proper/dbutils/trunk/pom.xml
> > >>
> > >> Modified: commons/proper/dbutils/trunk/pom.xml
> > >> URL:
> > >>
> >
> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
> > >>
> > >>
> >
> ==============================================================================
> > >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
> > >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02
> > 2013
> > >> @@ -24,7 +24,7 @@
> > >>    <modelVersion>4.0.0</modelVersion>
> > >>    <groupId>commons-dbutils</groupId>
> > >>    <artifactId>commons-dbutils</artifactId>
> > >> -  <version>1.6</version>
> > >> +  <version>1.6-SNAPSHOT</version>
> > >>    <name>Commons DbUtils</name>
> > >>
> > >>    <inceptionYear>2002</inceptionYear>
> > >>
> > >>
> > >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>



-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 4 June 2013 12:54, William Speirs <ws...@apache.org> wrote:
> My confusion, it says in those directions to remove the -SNAPSHOT from the
> version. That's exactly what I did. So then I shouldn't submit that to
> trunk? I thought you were supposed to get everything setup in trunk then
> simply svn copy that to your tag.

Not quite; you get everything set up in your clean workspace which is
then copied to the SVN tag.

You don't commit the changes to trunk.
The tag is created from the workspace; as it says in the docs:

>>
Create the RC tag, by copying the tag workspace to SVN:

      svn copy foo-1.2-RC1 -m "Creating foo-1.2-RC1 tag"
https://svn.apache.org/repos/asf/commons/proper/foo/tags/foo-1.2-RC1

<<

Note, this should be a clean workspace (see earlier in the docs).

> If I were to start working on a python script that performed all of these
> steps, so they can be verified by the community, and then submit that
> alongside the source, would others find this helpful?

The problem with using Python or Ruby or Perl etc is that developers
then have to install another application.
Ideally use Java or Maven or Ant that developers will have anyway.

Besides, a better solution would be to get the Maven release plugin
fixed so it uses the same approach.

> Thanks...
>
> Bill-
> On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:
>
>> http://commons.apache.org/releases/prepare.html#Manual_Method
>>
>> On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
>> > Is there documentation about this somewhere? What should I have done?
>> >
>> > Thanks...
>> >
>> > Bill-
>> > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
>> >
>> >> Author: sebb
>> >> Date: Tue Jun  4 09:02:02 2013
>> >> New Revision: 1489347
>> >>
>> >> URL: http://svn.apache.org/r1489347
>> >> Log:
>> >> Only tags should use non-SNAPSHOT versions please
>> >>
>> >> Modified:
>> >>     commons/proper/dbutils/trunk/pom.xml
>> >>
>> >> Modified: commons/proper/dbutils/trunk/pom.xml
>> >> URL:
>> >>
>> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
>> >>
>> >>
>> ==============================================================================
>> >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
>> >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02
>> 2013
>> >> @@ -24,7 +24,7 @@
>> >>    <modelVersion>4.0.0</modelVersion>
>> >>    <groupId>commons-dbutils</groupId>
>> >>    <artifactId>commons-dbutils</artifactId>
>> >> -  <version>1.6</version>
>> >> +  <version>1.6-SNAPSHOT</version>
>> >>    <name>Commons DbUtils</name>
>> >>
>> >>    <inceptionYear>2002</inceptionYear>
>> >>
>> >>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by William Speirs <ws...@apache.org>.
My confusion, it says in those directions to remove the -SNAPSHOT from the
version. That's exactly what I did. So then I shouldn't submit that to
trunk? I thought you were supposed to get everything setup in trunk then
simply svn copy that to your tag.

If I were to start working on a python script that performed all of these
steps, so they can be verified by the community, and then submit that
alongside the source, would others find this helpful?

Thanks...

Bill-
On Jun 4, 2013 7:01 AM, "sebb" <se...@gmail.com> wrote:

> http://commons.apache.org/releases/prepare.html#Manual_Method
>
> On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
> > Is there documentation about this somewhere? What should I have done?
> >
> > Thanks...
> >
> > Bill-
> > On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
> >
> >> Author: sebb
> >> Date: Tue Jun  4 09:02:02 2013
> >> New Revision: 1489347
> >>
> >> URL: http://svn.apache.org/r1489347
> >> Log:
> >> Only tags should use non-SNAPSHOT versions please
> >>
> >> Modified:
> >>     commons/proper/dbutils/trunk/pom.xml
> >>
> >> Modified: commons/proper/dbutils/trunk/pom.xml
> >> URL:
> >>
> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
> >>
> >>
> ==============================================================================
> >> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
> >> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02
> 2013
> >> @@ -24,7 +24,7 @@
> >>    <modelVersion>4.0.0</modelVersion>
> >>    <groupId>commons-dbutils</groupId>
> >>    <artifactId>commons-dbutils</artifactId>
> >> -  <version>1.6</version>
> >> +  <version>1.6-SNAPSHOT</version>
> >>    <name>Commons DbUtils</name>
> >>
> >>    <inceptionYear>2002</inceptionYear>
> >>
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
http://commons.apache.org/releases/prepare.html#Manual_Method

On 4 June 2013 11:56, William Speirs <ws...@apache.org> wrote:
> Is there documentation about this somewhere? What should I have done?
>
> Thanks...
>
> Bill-
> On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:
>
>> Author: sebb
>> Date: Tue Jun  4 09:02:02 2013
>> New Revision: 1489347
>>
>> URL: http://svn.apache.org/r1489347
>> Log:
>> Only tags should use non-SNAPSHOT versions please
>>
>> Modified:
>>     commons/proper/dbutils/trunk/pom.xml
>>
>> Modified: commons/proper/dbutils/trunk/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
>>
>> ==============================================================================
>> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
>> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02 2013
>> @@ -24,7 +24,7 @@
>>    <modelVersion>4.0.0</modelVersion>
>>    <groupId>commons-dbutils</groupId>
>>    <artifactId>commons-dbutils</artifactId>
>> -  <version>1.6</version>
>> +  <version>1.6-SNAPSHOT</version>
>>    <name>Commons DbUtils</name>
>>
>>    <inceptionYear>2002</inceptionYear>
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r1489347 - /commons/proper/dbutils/trunk/pom.xml

Posted by William Speirs <ws...@apache.org>.
Is there documentation about this somewhere? What should I have done?

Thanks...

Bill-
On Jun 4, 2013 5:02 AM, <se...@apache.org> wrote:

> Author: sebb
> Date: Tue Jun  4 09:02:02 2013
> New Revision: 1489347
>
> URL: http://svn.apache.org/r1489347
> Log:
> Only tags should use non-SNAPSHOT versions please
>
> Modified:
>     commons/proper/dbutils/trunk/pom.xml
>
> Modified: commons/proper/dbutils/trunk/pom.xml
> URL:
> http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/pom.xml?rev=1489347&r1=1489346&r2=1489347&view=diff
>
> ==============================================================================
> --- commons/proper/dbutils/trunk/pom.xml [utf-8] (original)
> +++ commons/proper/dbutils/trunk/pom.xml [utf-8] Tue Jun  4 09:02:02 2013
> @@ -24,7 +24,7 @@
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>commons-dbutils</groupId>
>    <artifactId>commons-dbutils</artifactId>
> -  <version>1.6</version>
> +  <version>1.6-SNAPSHOT</version>
>    <name>Commons DbUtils</name>
>
>    <inceptionYear>2002</inceptionYear>
>
>
>