Author: sebb
Date: Mon Jan 25 03:21:49 2010
New Revision: 902689
URL: http://svn.apache.org/viewvc?rev=902689&view=rev
Log:
Add alternative method of creating branches and tags
which does not require full SVN checkout.
Modified:
commons/proper/dbcp/trunk/release-process.txt
Modified: commons/proper/dbcp/trunk/release-process.txt
URL:
http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/release-process.txt?rev=902689&r1=902688&r2=902689&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/release-process.txt (original)
+++ commons/proper/dbcp/trunk/release-process.txt Mon Jan 25 03:21:49 2010
@@ -30,15 +30,34 @@
Inspect the 1.4.x tarballs in /target and the maven artifacts in
your local maven repo. Fix any problems.
-6. Check in all changes to trunk.
+6. Check in all changes to trunk; re-run tests.
-7. Check out DBCP fully - i.e., trunk, branches, tags.
+ Now we create a branch which will be used to set up the JDBC3
+ version of the code. This can be done in two different ways:
+
+7a. Create the branch directly in SVN:
+
+ [If necessary, delete any existing such branch first]
+
+ svn copy -m"Create 1.3.x compatibility release branch." \
+ https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk \
+
https://svn.apache.org/repos/asf/commons/proper/dbcp/branches/DBCP_1_3_x_BRANCH
+
+8a. Check out the branch into a local workspace:
+
+ svn co
https://svn.apache.org/repos/asf/commons/proper/dbcp/branches/DBCP_1_3_x_BRANCH
+
+ Alternatively:
+
+7b. Check out DBCP fully - i.e., trunk, branches, tags.
-8. From the top level of the checkout, execute
+8b. From the top level of the checkout, execute
svn cp trunk branches/DBCP_1_3_x_BRANCH
svn commit -m "Created 1.3.x compatibility release branch."
(where x is the final digit of the new release number)
+ Whichever method was chosen above, continue as follows:
+
9. From the DBCP_1_3_x_BRANCH
svn rm pom.xml
svn rm build.xml
@@ -53,7 +72,17 @@
mvn clean site
svn commit -m "Filtered sources to remove JDBC 4 methods."
-11. Create release tags. From the top-level dbcp directory
+11a. Create release tags directly in SVN.
+
+ svn cp -m "Tagging 1.3.x RCy" \
+
https://svn.apache.org/repos/asf/commons/proper/dbcp/branches/DBCP_1_3_x_BRANCH
\
+
https://svn.apache.org/repos/asf/commons/proper/dbcp/tags/DBCP_1_3_x_RCy
+ (where x is dot level, y is RC number)
+ svn cp -m "Tagging 1.4.x RCy" \
+ https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk \
+
https://svn.apache.org/repos/asf/commons/proper/dbcp/tags/DBCP_1_4_x_RCy
+
+11b. Create release tags from workspace. From the top-level dbcp directory
svn cp branches/DBCP_1_3_x_BRANCH tags/DBCP_1_3_x_RCy (where x is dot
level, y is RC number)
svn cp trunk tags/DBCP_1_4_x_RCy
svn commit -m "Tagging 1.3.x RCy" tags/DBCP_1_3_x_RCy