|
|
-
Re: remaining jars in svn (was Fwd: Re: [VOTE] Release Kafka 0.7.1-incubating (Candidate 2))Joe Stein 2012-06-20, 13:02
Thanks, I will add the cleanup steps you have to what I was doing, good call. I should be able to roll RC3 later today/tonight.
On Jun 19, 2012, at 6:35 PM, Neha Narkhede <[EMAIL PROTECTED]> wrote: > Joe, > > Here is the Kafka release process notes that I had written from the > last release. Sorry that I couldn't formalize it into a wiki. Will do > that soon - > > # checkout kafka trunk > svn co https://svn.apache.org/repos/asf/incubator/kafka/trunk kafka > cd kafka > ./sbt update package test doc > > mkdir ~/kafka-0.7.0-incubating > cp -r * ~/kafka-0.7.0-incubating > cd ~/kafka-0.7.0-incubating > > # remove the .svn files > find . -name ".svn" | xargs rm -rf > > # make sure the *.sh scripts have execute permissions > find . -name "*sh" | xargs chmod ugoa+x > > # remove the .class files, except those in the project directory, > since it is useful to run unit tests out of the box > find . -name "*.class" | grep -v project | xargs rm > > # try rebuilding code > ./sbt package > > # test it > ./sbt test > > # copy the kafka jar to root > cp core/target/scala_2.8.0/kafka-0.7.0.jar . > > # remove the .class files, except those in the project directory, > since it is useful to run unit tests out of the box > find . -name "*.class" | grep -v project | xargs rm > > # add the CHANGES.txt file > Go to Apache JIRA and click on the version 0.7. > (https://issues.apache.org/jira/browse/KAFKA/fixforversion/12317243) > Click Release Notes > Configure it to output text > copy paste that to CHANGES.txt > > 2. quickstart > > # tar it > tar cvf kafka-0.7.0-incubating-src.tar kafka-0.7.0-incubating-src/ > gzip kafka-0.7.0-incubating-src.tar > > # create a gpg key if you don't have one already > http://www.webupd8.org/2010/01/how-to-create-your-own-gpg-key.html > > # if you are signing the release for the first time, add your key to > the kafka/KEYS file > gpg --list-sigs Neha Narkhede && gpg --armor --export Neha Narkhede >> > ~/Projects/kafka-top-level/KEYS > cd ~/Projects/kafka-top-level > svn commit -m "Updating KEYS file with pgp key for Neha Narkhede" > > # sign the tarball > gpg --armor --output kafka-0.7.0-incubating-src.tar.gz.asc > --detach-sig kafka-0.7.0-incubating-src.tar.gz > md5sum kafka-0.7.0-incubating-src.tar.gz > kafka-0.7.0-incubating-src.tar.gz.md5 > > # add the html version of release notes > vi RELEASE-NOTES.html > Go to Apache JIRA and click on the version 0.7. > (https://issues.apache.org/jira/browse/KAFKA/fixforversion/12317243) > Click Release Notes > Configure it to output html > copy paste that to RELEASE-NOTES.html > If the release includes new Features, include the following in the > Release Notes - > > Let me know if you have questions. > > Thanks > Neha > > On Tue, Jun 19, 2012 at 11:24 AM, Joe Stein <[EMAIL PROTECTED]> wrote: >> ok, I uploaded a patch https://issues.apache.org/jira/browse/KAFKA-368 (not >> receiving JIRA emails not sure if there is issue or not) >> >> anything else we want/need to-do (after this patch is reviewed >> and committed) before rolling RC3 ? >> >> On Tue, Jun 19, 2012 at 12:08 PM, Jun Rao <[EMAIL PROTECTED]> wrote: >> >>> Joe, >>> >>> Perhaps we can just remove the pig-0.8.0.jar in the 0.7.1 release. We can >>> sort out the remaining jars in 0.8. >>> >>> Thanks, >>> >>> Jun >>> >>> On Mon, Jun 18, 2012 at 10:22 PM, Joe Stein <[EMAIL PROTECTED]> wrote: >>> >>>> if the jars that are left are still an issue >>>> >>>> find ./branches/0.7.1/ -name *jar >>>> ./branches/0.7.1//contrib/hadoop-consumer/lib/pig-0.8.0-core.jar >>>> ./branches/0.7.1//contrib/hadoop-consumer/lib/piggybank.jar >>>> ./branches/0.7.1//contrib/hadoop-producer/lib/pig-0.8.0-core.jar >>>> ./branches/0.7.1//contrib/hadoop-producer/lib/piggybank.jar >>>> ./branches/0.7.1//lib/sbt-launch.jar >>>> >>>> pig-0.8.0-core.jar is in maven >>>> >>>> piggybank is not maven >>>> >>>> sbt-launch.jar we either have to leave in (since we have such an older >>>> version) or proceed with >>> https://issues.apache.org/jira/browse/KAFKA-134so |