2003-01-14 17:19:35 +03:00
|
|
|
Checklists for PuTTY administrative procedures
|
|
|
|
==============================================
|
|
|
|
|
|
|
|
Locations of the licence
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
The PuTTY copyright notice and licence are stored in quite a few
|
|
|
|
places. At the start of a new year, the copyright year needs
|
|
|
|
updating in all of them; and when someone sends a massive patch,
|
|
|
|
their name needs adding in all of them too.
|
|
|
|
|
|
|
|
The LICENCE file in the main source distribution:
|
|
|
|
|
|
|
|
- putty/LICENCE
|
|
|
|
|
|
|
|
The resource files:
|
|
|
|
|
2004-11-17 02:32:57 +03:00
|
|
|
- putty/windows/pageant.rc
|
2003-01-14 17:19:35 +03:00
|
|
|
+ the copyright date appears twice, once in the About box and
|
|
|
|
once in the Licence box. Don't forget to change both!
|
2004-11-17 02:32:57 +03:00
|
|
|
- putty/windows/puttygen.rc
|
2003-01-14 17:19:35 +03:00
|
|
|
+ the copyright date appears twice, once in the About box and
|
|
|
|
once in the Licence box. Don't forget to change both!
|
2005-10-04 18:13:28 +04:00
|
|
|
- putty/windows/win_res.rc2
|
2003-01-14 17:19:35 +03:00
|
|
|
+ the copyright date appears twice, once in the About box and
|
|
|
|
once in the Licence box. Don't forget to change both!
|
2005-10-04 18:13:28 +04:00
|
|
|
- putty/windows/version.rc2
|
|
|
|
+ the copyright date appears once only.
|
2003-04-05 20:05:00 +04:00
|
|
|
- putty/unix/gtkdlg.c
|
|
|
|
+ the copyright date appears twice, once in the About box and
|
|
|
|
once in the Licence box. Don't forget to change both!
|
2003-01-14 17:19:35 +03:00
|
|
|
|
|
|
|
The documentation (both the preamble blurb and the licence appendix):
|
|
|
|
|
|
|
|
- putty/doc/blurb.but
|
|
|
|
- putty/doc/licence.but
|
|
|
|
|
|
|
|
The website:
|
|
|
|
|
|
|
|
- putty-website/licence.html
|
2003-04-05 20:05:00 +04:00
|
|
|
|
2003-01-14 17:19:35 +03:00
|
|
|
Before tagging a release
|
|
|
|
------------------------
|
|
|
|
|
2006-02-28 01:30:38 +03:00
|
|
|
- First of all, go through the source (including the documentation),
|
|
|
|
and the website, and review anything tagged with a comment
|
|
|
|
containing the word XXX-REVIEW-BEFORE-RELEASE.
|
|
|
|
(Any such comments should state clearly what needs to be done.)
|
2004-10-15 12:16:29 +04:00
|
|
|
|
2007-01-26 17:11:56 +03:00
|
|
|
- Also, do some testing of the Windows version with Minefield, and
|
|
|
|
of the Unix version with valgrind or efence or both. In
|
|
|
|
particular, any headline features for the release should get a
|
|
|
|
workout with memory checking enabled!
|
|
|
|
|
2003-01-14 17:19:35 +03:00
|
|
|
For a long time we got away with never checking the current version
|
2004-11-17 02:32:57 +03:00
|
|
|
number in at all - all version numbers were passed into the build
|
|
|
|
system on the compiler command line, and the _only_ place version
|
|
|
|
numbers showed up in the source files was in the tag information.
|
2003-01-14 17:19:35 +03:00
|
|
|
|
|
|
|
Unfortunately, those halcyon days are gone, and we do need the
|
2004-11-17 02:32:57 +03:00
|
|
|
version number checked in in a couple of places. These must be updated
|
2003-01-14 17:19:35 +03:00
|
|
|
_before_ tagging a new release.
|
|
|
|
|
|
|
|
The file used to generate the Unix snapshot version numbers (which
|
|
|
|
are <previousrelease>-<date> so that the Debian versioning system
|
|
|
|
orders them correctly with respect to releases):
|
|
|
|
|
|
|
|
- putty/LATEST.VER
|
|
|
|
|
Batch of miscellaneous tweaks to the Windows installer:
- Now we've fixed `win-versioninfo', choose some sensible outcomes from
the installer's comparisons of binary version numbers. Also, give the
installer _itself_ a matching binary version.
In particular, without this change, it would not have been possible
to downgrade PuTTY -- it would have silently left the "newer" files in
place. Now it will make some fuss, but permit it.
- Also remove descriptions from shortcuts, on the grounds that the
binaries have embedded descriptions now. (Although I've not checked
whether those are actually visible in the Start Menu.)
- At the request of various people (e.g., PJB), add flags so that if
files are in use at the time the (un)installer is run, replacement is
deferred to the next restart. (The user may be prompted to restart,
which isn't ideal; see comments).
This is supposed to make centrally-pushed silent upgrades more robust.
- Note some limitations of the installer.
[originally from svn r6585]
2006-02-28 01:27:49 +03:00
|
|
|
The Windows installer script (_four_ times, on consecutive lines):
|
2003-01-14 17:19:35 +03:00
|
|
|
|
2004-11-17 02:32:57 +03:00
|
|
|
- putty/windows/putty.iss
|
2003-01-14 17:19:35 +03:00
|
|
|
|
2005-10-04 18:13:28 +04:00
|
|
|
The Windows resource file (used to generate the binary bit of the
|
|
|
|
VERSIONINFO resources -- the strings are supplied by the usual means):
|
|
|
|
|
|
|
|
- putty/windows/version.rc2 (BASE_VERSION; NB, _comma_-separated)
|
|
|
|
|
2003-04-02 13:14:05 +04:00
|
|
|
It might also be worth going through the documentation looking for
|
|
|
|
version numbers - we have a couple of transcripts showing the help
|
|
|
|
text from the command-line tools, and it would be nice to ensure the
|
|
|
|
whole transcripts (certainly including the version numbers) are up
|
2004-10-26 23:32:25 +04:00
|
|
|
to date. Sometimes these are marked in between releases as `0.XX', so
|
|
|
|
it's worth grepping for that too.
|
2003-04-02 13:14:05 +04:00
|
|
|
|
|
|
|
- putty/doc/pscp.but
|
|
|
|
- putty/doc/plink.but
|
|
|
|
- putty/doc/psftp.but (in case it ever acquires a similar thing)
|
|
|
|
|
2003-01-14 17:19:35 +03:00
|
|
|
The actual release procedure
|
|
|
|
----------------------------
|
|
|
|
|
|
|
|
This is the procedure I (SGT) currently follow (or _should_ follow
|
|
|
|
:-) when actually making a release, once I'm happy with the position
|
|
|
|
of the tag.
|
|
|
|
|
2004-10-15 12:16:29 +04:00
|
|
|
- Double-check that we have removed anything tagged with a comment
|
2007-01-23 17:12:42 +03:00
|
|
|
containing the words XXX-REMOVE-BEFORE-RELEASE or
|
|
|
|
XXX-REVIEW-BEFORE-RELEASE.
|
2004-10-15 12:16:29 +04:00
|
|
|
|
2003-01-14 17:19:35 +03:00
|
|
|
- Write a release announcement (basically a summary of the changes
|
|
|
|
since the last release). Squirrel it away in
|
2011-07-12 23:56:00 +04:00
|
|
|
atreus:src/putty/local/announce-<ver> in case it's needed again
|
2003-01-14 17:19:35 +03:00
|
|
|
within days of the release going out.
|
|
|
|
|
2007-02-08 12:24:08 +03:00
|
|
|
- Build the release: `bob putty-0.XX RELEASE=0.XX'. This should
|
2007-02-08 21:53:11 +03:00
|
|
|
generate a basically valid release directory as
|
|
|
|
`build.out/putty', and provide link maps and sign.sh alongside
|
|
|
|
that in build.out.
|
2007-02-08 12:24:08 +03:00
|
|
|
|
|
|
|
- Do a bit of checking that the release binaries basically work,
|
|
|
|
report their version numbers accurately, and so on. Test the
|
|
|
|
installer and the Unix source tarball.
|
|
|
|
|
2011-07-12 23:56:00 +04:00
|
|
|
- Save the link maps. Currently I keep these on atreus, in
|
2007-02-08 12:24:08 +03:00
|
|
|
src/putty/local/maps-<version>.
|
|
|
|
|
2007-02-08 21:53:11 +03:00
|
|
|
- Sign the release: in the `build.out' directory, type `./sign.sh
|
|
|
|
putty Releases', and enter the passphrases a lot of times.
|
2003-01-14 17:19:35 +03:00
|
|
|
|
|
|
|
- Now the whole release directory should be present and correct.
|
2011-07-12 23:56:00 +04:00
|
|
|
Upload it to atreus:www/putty/<ver>.
|
2004-10-26 22:44:42 +04:00
|
|
|
|
|
|
|
- Do final checks on the release directory:
|
2007-02-08 12:24:08 +03:00
|
|
|
+ verify all the signatures:
|
2011-07-12 23:56:00 +04:00
|
|
|
for i in `find . -name '*.*SA'`; do case $i in *sums*) gpg --verify $i;; *) gpg --verify $i ${i%%.?SA};; esac; done
|
|
|
|
+ check the checksum files:
|
2004-10-26 22:44:42 +04:00
|
|
|
md5sum -c md5sums
|
2011-07-12 23:56:00 +04:00
|
|
|
sha1sum -c sha1sums
|
|
|
|
sha256sum -c sha256sums
|
|
|
|
sha512sum -c sha512sums
|
2004-10-26 22:44:42 +04:00
|
|
|
|
2011-07-12 23:56:00 +04:00
|
|
|
- Having double-checked the release, copy it from atreus to
|
2004-10-26 22:44:42 +04:00
|
|
|
chiark:ftp/putty-<ver> and to the:www/putty/<ver>.
|
2003-01-14 17:19:35 +03:00
|
|
|
|
2004-02-13 02:26:37 +03:00
|
|
|
- Check the permissions! Actually try downloading from the, to make
|
|
|
|
sure it really works.
|
|
|
|
|
2003-01-14 17:19:35 +03:00
|
|
|
- Update the HTTP redirects.
|
|
|
|
+ Update the one at the:www/putty/htaccess which points the
|
|
|
|
virtual subdir `latest' at the actual latest release dir. TEST
|
|
|
|
THIS ONE - it's quite important.
|
2011-07-12 23:56:00 +04:00
|
|
|
+ atreus:www/putty/.htaccess has an individual redirect for each
|
2003-01-14 17:19:35 +03:00
|
|
|
version number. Add a new one.
|
|
|
|
|
|
|
|
- Update the FTP symlink (chiark:ftp/putty-latest -> putty-<ver>).
|
|
|
|
|
|
|
|
- Update web site.
|
2011-07-12 23:59:15 +04:00
|
|
|
+ Adjust front page to say 'The latest version is <ver>'.
|
|
|
|
+ Adjust front page to add a news item.
|
|
|
|
+ Adjust Download page to say 'The latest release version (<ver>)'.
|
|
|
|
+ Adjust Download page to update filenames of installer and Unix
|
|
|
|
tarball (both in the hrefs themselves and the link text).
|
2011-11-27 15:10:15 +04:00
|
|
|
+ Check over the Download page and remove any mention of
|
|
|
|
pre-releases, if there were any before this release. Comment out
|
|
|
|
the big pre-release section at the top, and also adjust the
|
|
|
|
sections about source archives at the bottom.
|
2003-01-14 17:19:35 +03:00
|
|
|
+ Adjust header text on Changelog page. (That includes changing
|
|
|
|
`are new' in previous version to `were new'!)
|
|
|
|
|
2004-02-08 02:21:28 +03:00
|
|
|
- Update the wishlist. This can be done without touching individual
|
|
|
|
items by editing the @releases array in control/bugs2html.
|
2003-12-04 01:49:32 +03:00
|
|
|
|
2003-01-14 17:19:35 +03:00
|
|
|
- Check the Docs page links correctly to the release docs. (It
|
|
|
|
should do this automatically, owing to the `latest' HTTP
|
|
|
|
redirect.)
|
|
|
|
|
|
|
|
- Check that the web server attaches the right content type to .HLP
|
|
|
|
and .CNT files.
|
|
|
|
|
2011-07-12 23:56:00 +04:00
|
|
|
- Run webupdate, so that all the changes on atreus propagate to
|
2003-01-14 18:01:18 +03:00
|
|
|
chiark. Important to do this _before_ announcing that the release
|
|
|
|
is available.
|
|
|
|
|
2011-07-12 23:56:00 +04:00
|
|
|
- After running webupdate, run update-rsync on chiark and verify that
|
|
|
|
the rsync mirror package (~/ftp/putty-website-mirror) contains a
|
|
|
|
subdirectory for the new version and mentions it in its .htaccess.
|
2004-08-11 13:04:47 +04:00
|
|
|
|
2003-01-14 17:19:35 +03:00
|
|
|
- Announce the release!
|
2011-12-10 18:03:02 +04:00
|
|
|
+ Construct a release announcement email whose message body is the
|
|
|
|
announcement written above, and which includes the following
|
|
|
|
headers:
|
|
|
|
* Reply-To: <putty@projects.tartarus.org>
|
|
|
|
* Subject: PuTTY X.YZ is released
|
|
|
|
+ Mail that release announcement to
|
|
|
|
<putty-announce@lists.tartarus.org>.
|
2003-01-14 17:19:35 +03:00
|
|
|
+ Post it to comp.security.ssh.
|
2004-02-12 22:45:45 +03:00
|
|
|
+ Mention it in <TDHTT> on mono.
|
2003-01-14 17:19:35 +03:00
|
|
|
|
2004-10-26 23:32:25 +04:00
|
|
|
- Relax (slightly).
|
|
|
|
|
|
|
|
After the release
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
The following want doing some time soon after a release has been made:
|
|
|
|
|
|
|
|
- If the release was made from a branch, make sure the version number
|
2004-11-17 02:32:57 +03:00
|
|
|
on the _trunk_ is up to date in all the locations listed above, so
|
2004-10-26 23:32:25 +04:00
|
|
|
that (e.g.) Unix snapshots come out right.
|