@ -8,7 +8,7 @@
@@ -8,7 +8,7 @@
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# https ://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@ -475,7 +475,7 @@ release_version_parts = get_release_version_parts(release_version)
@@ -475,7 +475,7 @@ release_version_parts = get_release_version_parts(release_version)
rc = raw_input ( " Release candidate number: " )
dev_branch = ' . ' . join ( release_version_parts [ : 2 ] )
docs_release_version = docs_version ( release_version [ : 2 ] )
docs_release_version = docs_version ( release_version )
# Validate that the release doesn't already exist and that the
cmd ( " Fetching tags from upstream " , ' git fetch --tags %s ' % PUSH_REMOTE_NAME )
@ -655,23 +655,23 @@ Now you should sanity check it before proceeding. All subsequent steps start mak
@@ -655,23 +655,23 @@ Now you should sanity check it before proceeding. All subsequent steps start mak
Some suggested steps :
* Grab the source archive and make sure it compiles : http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz
* Grab one of the binary distros and run the quickstarts against them : http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka_2 .12 - % ( release_version ) s . tgz
* Extract and verify one of the site docs jars : http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka_2 .12 - % ( release_version ) s - site - docs . tgz
* Grab the source archive and make sure it compiles : https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz
* Grab one of the binary distros and run the quickstarts against them : https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka_2 .12 - % ( release_version ) s . tgz
* Extract and verify one of the site docs jars : https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka_2 .12 - % ( release_version ) s - site - docs . tgz
* Build a sample against jars in the staging repo : ( TODO : Can we get a temporary URL before " closing " the staged artifacts ? )
* Validate GPG signatures on at least one file :
wget http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz & &
wget http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . asc & &
wget http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . md5 & &
wget http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . sha1 & &
wget http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . sha512 & &
wget https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz & &
wget https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . asc & &
wget https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . md5 & &
wget https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . sha1 & &
wget https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / kafka - % ( release_version ) s - src . tgz . sha512 & &
gpg - - verify kafka - % ( release_version ) s - src . tgz . asc kafka - % ( release_version ) s - src . tgz & &
gpg - - print - md md5 kafka - % ( release_version ) s - src . tgz | diff - kafka - % ( release_version ) s - src . tgz . md5 & &
gpg - - print - md sha1 kafka - % ( release_version ) s - src . tgz | diff - kafka - % ( release_version ) s - src . tgz . sha1 & &
gpg - - print - md sha512 kafka - % ( release_version ) s - src . tgz | diff - kafka - % ( release_version ) s - src . tgz . sha512 & &
rm kafka - % ( release_version ) s - src . tgz * & &
echo " OK " | | echo " Failed "
* Validate the javadocs look ok . They are at http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / javadoc /
* Validate the javadocs look ok . They are at https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / javadoc /
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
""" % r elease_notification_props)
@ -703,30 +703,30 @@ This is the first candidate for release of Apache Kafka %(release_version)s.
@@ -703,30 +703,30 @@ This is the first candidate for release of Apache Kafka %(release_version)s.
< DESCRIPTION OF MAJOR CHANGES , INCLUDE INDICATION OF MAJOR / MINOR RELEASE >
Release notes for the % ( release_version ) s release :
http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / RELEASE_NOTES . html
https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / RELEASE_NOTES . html
* * * Please download , test and vote by < VOTING DEADLINE , e . g . Monday , March 28 , 9 am PT >
Kafka ' s KEYS file containing PGP keys we use to sign the release:
http : / / kafka . apache . org / KEYS
https : / / kafka . apache . org / KEYS
* Release artifacts to be voted upon ( source and binary ) :
http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s /
https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s /
* Maven artifacts to be voted upon :
https : / / repository . apache . org / content / groups / staging / org / apache / kafka /
* Javadoc :
http : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / javadoc /
https : / / home . apache . org / ~ % ( apache_id ) s / kafka - % ( rc_tag ) s / javadoc /
* Tag to be voted upon ( off % ( dev_branch ) s branch ) is the % ( release_version ) s tag :
https : / / github . com / apache / kafka / releases / tag / % ( rc_tag ) s
* Documentation :
http : / / kafka . apache . org / % ( docs_version ) s / documentation . html
https : / / kafka . apache . org / % ( docs_version ) s / documentation . html
* Protocol :
http : / / kafka . apache . org / % ( docs_version ) s / protocol . html
https : / / kafka . apache . org / % ( docs_version ) s / protocol . html
* Successful Jenkins builds for the % ( dev_branch ) s branch :
Unit / integration tests : https : / / builds . apache . org / job / kafka - % ( dev_branch ) s - jdk8 / < BUILD NUMBER > /