You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ReleaseInstructions 8.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. Instructions for making a Release:
  2. Authors: Conor MacNeill
  3. Stefan Bodewig
  4. Magesh Umasankar
  5. Note: This document was updated in the context of releasing Ant 1.6.
  6. Please interpret the branch names, tags, etc. according to
  7. your context.
  8. 1. Propose a release plan for vote. This should set out the timetable for
  9. the release under ideal circumstances. The level of bugs reported
  10. can delay things. Generally, give a few weeks to "close" the source tree
  11. to further changes so people can finalise contributions, etc. At this time,
  12. the first beta will be cut and there will be then a period of beta testing,
  13. usually 1 month but this should be flexible.
  14. 2. Note that any mention of a deadline causes a flood of bug fixes, new tasks,
  15. etc. This needs to be managed as best it can. Some fixes will be applied,
  16. others held over. Make this clear in the release plan. The committers and
  17. particularly the release manager will need to make judgement calls here.
  18. Anything too "big" is likely to be held over.
  19. 3. Once the freeze date arrives, create a branch for the release builds. You
  20. will need to be comfortable in handling CVS branches with mutliple
  21. merge-backs to the main branch and even selected merges from the the main
  22. branch to the release branch.
  23. For more information on performing branching and merging, please visit
  24. http://www.durak.org/cvswebsites/doc/cvs_54.php#SEC54
  25. Label such branches ANT_16_BRANCH.
  26. 4. Once the branch is setup, the version numbers in CVS are changed. On the
  27. branch, the version property in build.xml becomes 1.6Beta,
  28. while the main branch is updated to 1.7alpha.
  29. [[ TODO: Check if the documentation files also need to be updated to point
  30. to the right areas of Ant's website. ]]
  31. 5. Before a build :
  32. Update the following files for version number, and commit your changes.
  33. * docs/manual/cover.html
  34. * docs/manual/credits.html
  35. * build.xml (version property)
  36. the first beta on the 1.6 branch should be called 1.6Beta1, ...
  37. the version property in build.xml governs the output of ant -version and
  38. the naming of the distribution files.
  39. 6. Ensure you have all the external libraries that Ant uses in your
  40. lib/optional directory. To find out what libraries you need, execute
  41. the build with -verbose option and scan for lines beginning with
  42. "Unable to load...".
  43. 7. Next bootstrap, build and run the tests. Then build the distribution
  44. on the branch. It is important that this be a clean build. Label this with
  45. a tag ANT_16_B1.
  46. 8. Sign the distribution files using the following simple script
  47. #!/bin/sh
  48. for i in distribution/*
  49. do
  50. echo "Signing " $i
  51. gpg -a -b --force-v3-sigs $i
  52. done
  53. The --force-v3-sigs will improve the interoperability with PGP 5.x,
  54. see <http://www.gnupg.org/(en)/documentation/faqs.html#q5.5>.
  55. Before you do that, ensure that the key you use is inside the KEYS
  56. file in Ant's CVS repository - and that you perform a cvs update on
  57. the KEYS file in /www/www.apache.org/dist/ant/
  58. Also make sure you have sent the key that you use to a public
  59. keyserver.
  60. 9. The beta distribution is now ready to go. Bundle it up into a tar.gz file
  61. and scp to your apache account.
  62. 10. Meanwhile, convert the part of the WHATSNEW file covering the changes
  63. since the last release into HTML for the README file on the
  64. website. See the previous release directories for examples of these files.
  65. Add instructions and warnings (GNU tar format issues, etc).
  66. You may choose to use the text2html convertor present at
  67. http://www.aigeek.com/txt2html/
  68. Name the generated file RELEASE-NOTES-x.y.z.html.
  69. [[ TODO: This must perhaps be an Ant task. ]]
  70. 11. Once this is uploaded, unpack things, create the release directory,
  71. something like v1.6Beta1, push the release and RELEASE-NOTES files
  72. into this directory. Create a symbolic link named README.html
  73. that points to the RELEASE-NOTES.
  74. The files should go to /www/cvs.apache.org/dist/ant/ on minotaur.
  75. 12. Address the available release tags in BugZilla. Create a new tag 1.6Beta1
  76. and a 1.7Alpha. Assign all existing 1.6 alpha bugs to one of these release
  77. labels.
  78. 13. Once that is done, do a test download to make sure everything is OK. A
  79. common problem may be:
  80. * the file's mime type is not recognized and is interpreted as
  81. text/plain. Fix it by using some .htaccess magic (AddEncoding stuff)
  82. * Your gz.asc files are not being displayed properly (RemoveEncoing stuff)
  83. If it looks OK, announce it on dev@ant and user@ant. After a few
  84. days pass and there are no major problems, a wider announcement is
  85. made (ant website, main jakarta website, announcements@jakarta.apache.org,
  86. etc).
  87. Also ensure you:
  88. * Update antnews.xml (Announcement)
  89. * Update faq.xml (Ant's history details - not for betas)
  90. * Update index.xml (Announcement, latest release details, link to
  91. manual under "Documentation")
  92. Generate the html files by invoking ant on docs.xml - you need
  93. jakarta-site2 checked out for this. Commit the modified/generated
  94. files and also perform a cvs update on files in minotaur's
  95. /www/ant.apache.org/
  96. Announce beta releases at freshmeat.net (Stefan Bodewig is the
  97. owner of Ant's project entry - bug him ;-).
  98. 14. As problems in the beta are discovered, there may be a need for
  99. one or more subsequent betas. The release manager makes this
  100. call. Each time, the versions are updated and the above process is
  101. repeated. Try not to have too many betas.
  102. 15. Try to advertise the need for testing of the betas as much as possible.
  103. This would eliminate the need to release minor patch versions like
  104. we had to do when releasing Ant 1.4.
  105. To monitor the number of downloads, look at the access_log
  106. file under /usr/local/apache2/logs
  107. 16. When the final beta is considered OK, propose a vote on dev@ant to
  108. officially adopt the latest beta as the Ant 1.6 release. If it is passed,
  109. (it usually does,) this would be labelled ANT_16 and built in a similar
  110. fashion to the above process.
  111. 17. BUT
  112. This time the directory you upload the files to is different and
  113. you'll have to do some house-keeping for the old release:
  114. * upload the new release files to
  115. /www/www.apache.org/dist/ant/[source|binary].
  116. * remove the symbolic links from /www/www.apache.org/dist/ant.
  117. * Create proper -current symlinks in /www/www.apache.org/dist/ant/
  118. * Make sure that the symbolic link README.html points to the new
  119. RELEASE-NOTES.
  120. 18. Change the links in /xdocs/bindownload.xml and /xdocs/srcdownload.xml,
  121. regenerate the HTML files, commit and update the site.
  122. As the mirrors may need some days to pick up the new release, you
  123. may want to add a note to that effect to the pages and remove it a few
  124. days later.
  125. 19. Clean up.
  126. * remove the remaining files of the previous release from
  127. /www/www.apache.org/dist/ant/[source|binary].
  128. * remove all *tar* files of the old release from
  129. /www/archive.apache.org/dist/ant/[source|binary] on minotaur,
  130. leave the *zip* files alone.
  131. 20. Now and perhaps during previous betas any changes on the branch must
  132. be merged back into the tree.
  133. 21. At this point in time, the release is done and announcements are made.
  134. PGP-sign your announcement posts.
  135. [[TODO: Identify the mailing lists where announcements are to be made.
  136. Also identify the webpages to which the announcements must go. ]]
  137. Apache mailing lists that should get the announcements:
  138. announcements@jakarta.apache.org, announcements@xml.apache.org,
  139. announce@apache.org, dev@ant and user@ant.
  140. Announce release at freshmeat.net
  141. (Stefan Bodewig is the owner of Ant's project entry - bug him ;-).
  142. Announce release in the usenet groups comp.lang.java.softwaretools
  143. and comp.lang.java.announce.
  144. 22. You can now reacquaint yourself with your family and friends.