CHECKLST.txt 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. Checklists for PuTTY administrative procedures
  2. ==============================================
  3. Preparing to make a release
  4. ---------------------------
  5. Now that PuTTY is in git, a lot of the release preparation can be done
  6. in advance, in local checkouts, and not pushed until the actual
  7. process of _releasing_ it.
  8. To begin with, before dropping the tag, make sure everything is ready
  9. for it:
  10. - First of all, go through the source (including the documentation),
  11. and the website, and review anything tagged with a comment
  12. containing the word XXX-REVIEW-BEFORE-RELEASE.
  13. (Any such comments should state clearly what needs to be done.)
  14. - Also, do some testing of the Windows version with Minefield, and
  15. of the Unix version with valgrind or efence or both. In
  16. particular, any headline features for the release should get a
  17. workout with memory checking enabled!
  18. - Double-check that we have removed anything tagged with a comment
  19. containing the words XXX-REMOVE-BEFORE-RELEASE or
  20. XXX-REVIEW-BEFORE-RELEASE. ('git grep XXX-RE' should only show up
  21. hits in this file itself.)
  22. - Now update the version numbers and the transcripts in the docs, by
  23. checking out the release branch and running
  24. make distclean
  25. ./release.pl --version=X.YZ --setver
  26. Then check that the resulting automated git commit has updated the
  27. version number in the following places:
  28. * putty/LATEST.VER
  29. * putty/doc/plink.but
  30. * putty/doc/pscp.but
  31. * putty/windows/putty.iss (four times, on consecutive lines)
  32. and also check that it has reset the definition of 'Epoch' in
  33. Buildscr.
  34. - Make the release tag, pointing at the version-update commit we just
  35. generated.
  36. - If the release is on a branch (which I expect it generally will
  37. be), merge that branch to master.
  38. - Write a release announcement (basically a summary of the changes
  39. since the last release). Squirrel it away in
  40. atreus:src/putty-local/announce-<ver> in case it's needed again
  41. within days of the release going out.
  42. - Update the website, in a local checkout:
  43. * Write a release file in components/releases which identifies the
  44. new version, its release date, a section for the Changes page,
  45. and a news announcement for the front page.
  46. * Disable the pre-release sections of the website (if previously
  47. enabled), by editing prerel_version() in components/Base.mc to
  48. return undef.
  49. - Update the wishlist, in a local checkout:
  50. * If there are any last-minute wishlist entries (e.g. security
  51. vulnerabilities fixed in the new release), write entries for
  52. them.
  53. * If any other bug fixes have been cherry-picked to the release
  54. branch (so that the wishlist mechanism can't automatically mark
  55. them as fixed in the new release), add appropriate Fixed-in
  56. headers for those.
  57. * Add an entry to the @releases array in control/bugs2html.
  58. - Build the release, by checking out the release tag:
  59. git checkout 0.XX
  60. bob . RELEASE=0.XX
  61. This should generate a basically valid release directory as
  62. `build.out/putty', and provide link maps and sign.sh alongside that
  63. in build.out.
  64. - Double-check in build.log that the release was built from the right
  65. git commit.
  66. - Do a bit of checking of the release binaries:
  67. * make sure they basically work
  68. * check they report the right version number
  69. * if there's any easily observable behaviour difference between
  70. the release branch and master, arrange to observe it
  71. * test the Windows installer
  72. * test the Unix source tarball.
  73. - Sign the release: in the `build.out' directory, type
  74. sh sign.sh -r putty
  75. and enter the passphrases a lot of times.
  76. The actual release procedure
  77. ----------------------------
  78. Once all the above preparation is done and the release has been built
  79. locally, this is the procedure for putting it up on the web.
  80. - Upload the release itself and its link maps to everywhere it needs
  81. to be, by running this in the build.out directory:
  82. ../release.pl --version=X.YZ --upload
  83. - Check that downloads via version-numbered URLs all work:
  84. ../release.pl --version=X.YZ --precheck
  85. - Switch the 'latest' links over to the new release:
  86. * Update the HTTP redirect at the:www/putty/htaccess .
  87. * Update the FTP symlink at chiark:ftp/putty-latest .
  88. - Now verify that downloads via the 'latest' URLs are all redirected
  89. correctly and work:
  90. ../release.pl --version=X.YZ --postcheck
  91. - Push all the git repositories:
  92. * run 'git push' in the website checkout
  93. * run 'git push' in the wishlist checkout
  94. * push from the main PuTTY checkout. Typically this one will be
  95. pushing both the release tag and an update to the master branch,
  96. plus removing the pre-release branch, so you'll want some
  97. commands along these lines:
  98. git push origin master # update the master branch
  99. git push origin --tags # should push the new release tag
  100. git push origin :pre-0.XX # delete the pre-release branch
  101. - Run ~/adm/puttyweb.sh on atreus to update the website after all
  102. those git pushes.
  103. - Check that the unpublished website on atreus looks sensible.
  104. - Run webupdate, so that all the changes on atreus propagate to
  105. chiark. Important to do this _before_ announcing that the release
  106. is available.
  107. - After running webupdate, run update-rsync on chiark and verify that
  108. the rsync mirror package (~/ftp/putty-website-mirror) contains a
  109. subdirectory for the new version and mentions it in its .htaccess.
  110. - Announce the release!
  111. + Construct a release announcement email whose message body is the
  112. announcement written above, and which includes the following
  113. headers:
  114. * Reply-To: <putty@projects.tartarus.org>
  115. * Subject: PuTTY X.YZ is released
  116. + Mail that release announcement to
  117. <putty-announce@lists.tartarus.org>.
  118. + Post it to comp.security.ssh.
  119. + Mention it in <TDHTT> on mono.
  120. - Edit ~/adm/puttysnap.sh to disable pre-release builds, if they were
  121. previously enabled.
  122. - Relax (slightly).