OpenEJB Release Process has been edited by David Blevins (Sep 26, 2007).

(View changes)

Content:

The page is about OpenEJB release process. Most information comes from OpenJPA's Making an OpenJPA Release.

1. Create a copy of the trunk the branch will be based on.

svn copy -m "OpenEJB 3.0-beta-1 branch" \
  https://svn.apache.org/repos/asf/openejb/trunk/openejb3 \
  https://svn.apache.org/repos/asf/openejb/branches/3.0-beta-1

While fixing issues in the branch and trunk in parallel it may happen that some changes in trunk have not been applied to the branch. Provided you're in the branch's directory the following command applies a change from the trunk to the branch ({-c 575845} is the commit number with the fix and the url points to a repo the change is in).

svn merge -c 575845 https://svn.apache.org/repos/asf/openejb/trunk/openejb3

Aggregation into a 3.0-beta-1 directory

#!/bin/bash                                                                                                                                                                                                                                             

VER=3.0-beta-1

function package () {
    SOURCE=$1; DEST=${2:-$SOURCE}
    tar czf $DEST.tar.gz $SOURCE
    zip -9rq $DEST.zip $SOURCE
}
function shash {
    openssl $1 < $2 > $2.$1 ;
}
function sign {
    archive=$1
    gpg --armor --output $archive.asc --detach-sig $archive
    gpg --verify $archive.asc $archive
}

function fail () { echo $1 >&2; exit 1;}


mkdir $VER
(cd $VER

svn export http://svn.apache.org/repos/asf/openejb/tags/openejb-$VER/examples examples-$VER
package examples-$VER && rm -r examples-$VER

svn export http://svn.apache.org/repos/asf/openejb/tags/openejb-$VER openejb-$VER-src
package openejb-$VER-src && rm -r openejb-$VER-src

for archive in *.{zip,tar.gz}; do
    echo $archive
    shash md5 $archive
    sign $archive
done || fail "Unable to sign or hash release archives"
)

scp -r $VER  people.apache.org:public_html/stage/

# Copy standalone assembly in                                                                                                                                                                                                                           
ssh people.apache.org "cp ~/public_html/stage/repo/org/apache/openejb/openejb-standalone/$VER/openejb-standalone-$VER-bin.{zip,tar.gz}{,.asc,.md5} ~/public_html/stage/$VER/"
echo $VER | ssh people.apache.org 'read VER && for n in ~/public_html/stage/repo/org/apache/openejb/openejb-standalone/$VER/openejb-standalone-$VER-bin.{zip,tar.gz}{,.asc,.md5}; do cp $n ~/public_html/stage/$VER/$(basename ${n/openejb-standalone-$\
VER-bin/openejb-$VER}); done'

# Copy tomcat webapp assembly in                                                                                                                                                                                                                        
echo $VER | ssh people.apache.org 'read VER && for n in ~/public_html/stage/repo/org/apache/openejb/openejb-tomcat/$VER/openejb-tomcat-$VER.war{,.asc,.md5}; do cp $n ~/public_html/stage/$VER/$(basename ${n/-tomcat-$VER/}); done'

Release notes

#set ( $jira = $rss.fetch("http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&&pid=12310530&status=5&status=6&fixfor=12312075&tempMax=1000&reset=true&decorator=none") )
#set( $issues = $jira.issues )

$issues.size()

New Features:

#foreach ( $issue in $issues.equals("type", "New Feature").descending("id") )
  * [$issue.key] $issue.summary
#end

Improvements:

#foreach ( $issue in $issues.equals("type", "Improvement") )
  * [$issue.key] $issue.summary
#end

Bugs:

#foreach ( $issue in $issues.equals("type", "Bug").sort("priority") )
  * [$issue.key] $issue.summary
#end

Tasks & Sub-Tasks:

#foreach ( $issue in $issues.equals("type", "Task").sort("summary") )
  * [$issue.key] $issue.summary
#end
#foreach ( $issue in $issues.equals("type", "Sub-task").sort("summary") )
  * [$issue.key] $issue.summary
#end



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Unimplemented Features, bugs, limitations

#set ( $jira = $rss.fetch("http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&&pid=12310530&status=1&status=3&status=4&version=12312075&tempMax=1000&reset=true&decorator=none") )
#set( $issues = $jira.issues )

#foreach ( $issue in $issues.sort("priority") )
  * [$issue.key] $issue.summary
#end

README.html file

some way to dynamically update this would be great.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Apache OpenEJB 3.0-beta-1</TITLE>
<META http-equiv=Content-Type content="text/html">
</HEAD>
<BODY>
<P>
<H3>Apache OpenEJB 3.0-beta-1</H3>
<P></P>
<p><font color="red">OpenEJB 3.0-beta-1 requires JRE 5.0 (not compatible with JRE 6.0).  Read the <a href="" class="code-quote">"RELEASE-NOTES.txt">RELEASE-NOTES</a> for more details.</font></p>

<p>Packaging Details (or "What Should I Download?")
  <ul>
      <li>
          OpenEJB Standlone Server:
          <ul>
              <li><a href="" class="code-quote">"openejb-3.0-beta-1.zip">openejb-3.0-beta-1.zip</a></li>
              <li><a href="" class="code-quote">"openejb-3.0-beta-1.tar.gz">openejb-3.0-beta-1.tar.gz</a></li>
          </ul>
      </li>
      <li>
          OpenEJB for Tomcat (deploy into a Tomcat 6.x server):
          <ul>
              <li><a href="" class="code-quote">"openejb.war">openejb.war</a></li>
          </ul>
      </li>
      <li>
          EJB 3.0 and other examples:
          <ul>
              <li><a href="" class="code-quote">"examples-3.0-beta-1.zip">examples-3.0-beta-1.zip</a></li>
              <li><a href="" class="code-quote">"examples-3.0-beta-1.tar.gz">examples-3.0-beta-1.tar.gz</a></li>
          </ul>
      </li>
      <li>
          Source:
          <ul>
              <li><a href="" class="code-quote">"openejb-3.0-beta-1-src.zip">openejb-3.0-beta-1-src.zip</a></li>
              <li><a href="" class="code-quote">"openejb-3.0-beta-1-src.tar.gz">openejb-3.0-beta-1-src.tar.gz</a></li>
          </ul>
      </li>
  </ul>
</p>

<P>Thank you for using <A href="" class="code-quote">"http://openejb.apache.org/">OpenEJB</A>!.
</P>
<P><B>The Apache OpenEJB Project</B> <BR><A
href="" class="code-quote">"http://openejb.apache.org/">http://openejb.apache.org/</A> </P>
<P>
<P></P></BODY></HTML>

Reply via email to