Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-httpclient 
Wiki" for change notification.

The following page has been changed by MichaelBecke:
http://wiki.apache.org/jakarta-httpclient/HttpClientReleaseProcess

------------------------------------------------------------------------------
+ '''This document is still in progress'''
+ 
  The following steps are required to create and deploy a release version of a 
Commons library package. The example text consistently assumes that we are 
releasing version 3.0.1 of the httpclient  package.
  
  == Pre Release ==
@@ -54, +56 @@

     * Make sure you running a 1.3 JVM.  This is necessary to ensure that the 
generated binaries are 1.3 compatable.
     * Generate the binary packages.
      `maven httpclient:dist`
-                 
+    * Verify the contents of the generated packages.
+    * Sign and checksum the generated packages (*.zip, *.tar.gz, and *.jar).  
Details for this are covered in the 
[http://jakarta.apache.org/commons/releases/release.html Commons release 
documentation].  Below is a quick Perl script to accomplish this. {{{
+ #!/usr/bin/perl -w
+ # signs and checksums all files given as command line args
  
- '''The following section is in progress'''
+ foreach my $file (@ARGV) {
+     print $file."\n";
  
-    1. Regenerate the binary distribution of the code by running maven dist. 
Ensure that you use the lowest reasonable jdk to do the build, 1.2.2. Review 
the generated documentation to ensure that it correctly reflects the 
functionality (and the version number) of this code.
+     my $md5 = `md5sum $file`;
+     `echo "$md5" > $file.md5`;    
+     $md5 =~ /(\w+)\s+/;
+     $md5 = $1;
+     # verify md5
+     my $testMd5 = `openssl md5 < $file`;
+     chomp($testMd5); 
+     if ($testMd5 ne $md5) { die 'md5 does not equal'; }
+ 
+     `gpg --armor --output $file.asc --detach-sig $file`;
+     # verify signature
+     `gpg --verify $file.asc $file`
+ }
+ }}}
+    * Copy the release materials to your personal Apache web directory and 
invite the other HttpClient committers to test out the release packages before 
you continue.
+ 
+ == Publishing the Release ==
+ 
+    * Copy binary and source distributions into the HttpClient dist 
directory.{{{
+    set DIST_DIR=/www/www.apache.org/dist/jakarta/commons/httpclient
+    cp commons-httpclient-3.0.1-src* $DIST_DIR/source
+    cp commons-httpclient-3.0.1.tar* commons-httpclient-3.0.1.zip* 
$DIST_DIR/binary
+    cp release-notes.txt $DIST_DIR/RELEASE_NOTES.txt}}}
+    * Copy the jar and POM to the ibiblio dist directory. {{{
+    set IBIBLIO_DIR=/www/www.apache.org/dist/java-repository/commons-httpclient
+    cp commons-httpclient-3.0.1.jar* $IBIBLIO_DIR/jars
+    cp project.xml $IBIBLIO_DIR/poms/commons-httpclient-3.0.1.pom}}}
+    * Be sure that all files belong to the ''jakarta'' group and that they are 
group writable.
+ 
+ === Updating the Jakarta website ===
+ 
  
     1. Create a news item. This should be added to httpclient/xdocs/news.xml 
and the jakarta-site2/xdocs/site/news.xml as well as a one liner in 
jakarta-site2/xdocs/index.html
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to