Fix Windows installer script: the paths were wrong after the
[u/mdw/putty] / CHECKLST.txt
CommitLineData
07db6afb 1Checklists for PuTTY administrative procedures
2==============================================
3
4Locations of the licence
5------------------------
6
7The PuTTY copyright notice and licence are stored in quite a few
8places. At the start of a new year, the copyright year needs
9updating in all of them; and when someone sends a massive patch,
10their name needs adding in all of them too.
11
12The LICENCE file in the main source distribution:
13
14 - putty/LICENCE
15
16The resource files:
17
18 - putty/pageant.rc
19 + the copyright date appears twice, once in the About box and
20 once in the Licence box. Don't forget to change both!
21 - putty/puttygen.rc
22 + the copyright date appears twice, once in the About box and
23 once in the Licence box. Don't forget to change both!
24 - putty/win_res.rc
25 + the copyright date appears twice, once in the About box and
26 once in the Licence box. Don't forget to change both!
27 - putty/mac/mac_res.r
47e4e735 28 - putty/unix/gtkdlg.c
29 + the copyright date appears twice, once in the About box and
30 once in the Licence box. Don't forget to change both!
07db6afb 31
32The documentation (both the preamble blurb and the licence appendix):
33
34 - putty/doc/blurb.but
35 - putty/doc/licence.but
36
37The website:
38
39 - putty-website/licence.html
47e4e735 40
07db6afb 41Before tagging a release
42------------------------
43
a07f5e30 44 - First of all, go through the source and remove anything tagged
45 with a comment containing the word XXX-REMOVE-BEFORE-RELEASE.
46
07db6afb 47For a long time we got away with never checking the current version
48number into CVS at all - all version numbers were passed into the
49build system on the compiler command line, and the _only_ place
50version numbers showed up in CVS was in the tag information.
51
52Unfortunately, those halcyon days are gone, and we do need the
53version number in CVS in a couple of places. These must be updated
54_before_ tagging a new release.
55
56The file used to generate the Unix snapshot version numbers (which
57are <previousrelease>-<date> so that the Debian versioning system
58orders them correctly with respect to releases):
59
60 - putty/LATEST.VER
61
dd953a88 62The Windows installer script:
07db6afb 63
64 - putty/putty.iss
65
dd953a88 66The Mac resource file (used to generate the binary bit of the 'vers'
67resources -- the strings are supplied by the usual means):
68
1bf96508 69 - putty/mac/version.r
dd953a88 70
8208b498 71It might also be worth going through the documentation looking for
72version numbers - we have a couple of transcripts showing the help
73text from the command-line tools, and it would be nice to ensure the
74whole transcripts (certainly including the version numbers) are up
8df11cad 75to date. Sometimes these are marked in between releases as `0.XX', so
76it's worth grepping for that too.
8208b498 77
78 - putty/doc/pscp.but
79 - putty/doc/plink.but
80 - putty/doc/psftp.but (in case it ever acquires a similar thing)
81
07db6afb 82The actual release procedure
83----------------------------
84
85This is the procedure I (SGT) currently follow (or _should_ follow
86:-) when actually making a release, once I'm happy with the position
87of the tag.
88
a07f5e30 89 - Double-check that we have removed anything tagged with a comment
90 containing the word XXX-REMOVE-BEFORE-RELEASE.
91
07db6afb 92 - Write a release announcement (basically a summary of the changes
93 since the last release). Squirrel it away in
94 ixion:src/putty/local/announce-<ver> in case it's needed again
95 within days of the release going out.
96
97 - On my local machines, check out the release-tagged version of the
6a9370de 98 sources. Do this in a _clean_ directory; don't depend on my usual
99 source dir.
1e7aebc9 100 + Make sure to run mkfiles.pl _after_ this checkout, just in
101 case.
07db6afb 102
6a9370de 103 - Build the source archives now, while the directory is still
104 pristine.
105 + run ./mksrcarc.sh to build the Windows source zip.
106 + run `./mkunxarc.sh X.YZ' to build the Unix tarball.
107
07db6afb 108 - Build the Windows/x86 release binaries. Don't forget to supply
109 VER=/DRELEASE=<ver>. Run them, or at least one or two of them, to
110 ensure that they really do report their version number correctly.
fe4184a6 111 + Save the release link maps. Currently I keep these on ixion,
112 in src/putty/local/maps-<version>.
07db6afb 113
114 - Acquire the Windows/alpha release binaries from Owen.
6a9370de 115 + Verify the signatures on these, to ensure they're really the
116 ones he built. If I'm going to sign a zip file I make out of
117 these, I'm damn well going to make sure the binaries that go
118 _into_ it are signed themselves.
fe4184a6 119 + Make sure Owen has kept the Alpha release link maps somewhere
120 useful.
07db6afb 121
122 - Run Halibut to build the docs.
123
6a9370de 124 - Build the binary archives putty.zip (one for each architecture):
125 each one just contains all the .exe files except PuTTYtel, and
126 the .hlp and .cnt files.
127 + zip -k putty.zip `ls *.exe | grep -v puttytel` putty.hlp putty.cnt
128 + same again for Alpha.
129
130 - Build the docs archive puttydoc.zip: it contains all the HTML
131 files output from Halibut.
132 + zip puttydoc.zip *.html
07db6afb 133
134 - Build the installer.
135
136 - Sign the release (gpg --detach-sign).
137 + Sign the locally built x86 binaries, the locally built x86
138 binary zipfile, and the locally built x86 installer, with the
139 release keys.
140 + The Alpha binaries should already have been signed with the
6a9370de 141 release keys. Having checked that, sign the Alpha binary
142 zipfile with the release keys too.
07db6afb 143 + The source archive should be signed with the release keys.
07db6afb 144 + Don't forget to sign with both DSA and RSA keys for absolutely
145 everything.
d50c1c62 146 for i in <filenames>; do for t in DSA RSA; do gpg --load-extension=idea --detach-sign -u "Releases ($t)" -o $i.$t $i; done; done
07db6afb 147
148 - Begin to pull together the release directory structure.
149 + subdir `x86' containing the x86 binaries, x86 binary zip, x86
150 installer, and all signatures on the above.
151 + subdir `alpha' containing the Alpha binaries, Alpha binary
152 zip, and all signatures on the above.
6a9370de 153 + top-level dir contains the Windows source zip (plus
154 signatures), the Unix source tarball (plus signatures),
07db6afb 155 puttydoc.txt, the .hlp and .cnt files, and puttydoc.zip.
156
f578d6f3 157 - Create subdir `htmldoc' in the release directory, which should
158 contain exactly the same set of HTML files that went into
159 puttydoc.zip.
160 + It also needs a copy of sitestyle.css, because the online
161 versions of the HTML docs will link to this (although the
162 zipped form should be self-contained).
163
07db6afb 164 - Create and sign md5sums files: one in the x86 subdir, one in the
165 alpha subdir, and one in the parent dir of both of those.
166 + The md5sums files need not list the .DSA and .RSA signatures,
d50c1c62 167 and the top-level md5sums need not list the other two. Easiest
168 thing is to run, in each directory, this command:
169 md5sum `\find * -name '*SA' -o -type f -print` > md5sums
6a9370de 170 + Sign the md5sums files (gpg --clearsign).
d50c1c62 171 for i in md5sums */md5sums; do for t in DSA RSA; do gpg --load-extension=idea --clearsign -u "Releases ($t)" -o $i.$t $i; done; done
07db6afb 172
173 - Now double-check by verifying all the signatures on all the
6a9370de 174 files, and running md5sum -c on all the md5sums files.
07db6afb 175
07db6afb 176 - Now the whole release directory should be present and correct.
d50c1c62 177 Upload to ixion:www/putty/<ver>.
178
179 - Do final checks on the release directory:
180 + verify all the signatures. In each directory:
181 for i in *.*SA; do case $i in md5sums*) gpg --verify $i;; *) gpg --verify $i `echo $i | sed 's/\..SA$//'`;; esac; done
182 + check the md5sums. In each directory:
183 md5sum -c md5sums
184
185 - Having double-checked the release, copy it from ixion to
186 chiark:ftp/putty-<ver> and to the:www/putty/<ver>.
07db6afb 187
b0891ba2 188 - Check the permissions! Actually try downloading from the, to make
189 sure it really works.
190
07db6afb 191 - Update the HTTP redirects.
192 + Update the one at the:www/putty/htaccess which points the
193 virtual subdir `latest' at the actual latest release dir. TEST
194 THIS ONE - it's quite important.
195 + ixion:www/putty/.htaccess has an individual redirect for each
196 version number. Add a new one.
197
198 - Update the FTP symlink (chiark:ftp/putty-latest -> putty-<ver>).
199
200 - Update web site.
201 + Adjust front page (`the latest version is <ver>').
546d9e8a 202 + Adjust Download page similarly.
6a9370de 203 + Adjust filenames of installer and Unix tarball on links in
204 Download page.
07db6afb 205 + Adjust header text on Changelog page. (That includes changing
206 `are new' in previous version to `were new'!)
207
a920f5b2 208 - Update the wishlist. This can be done without touching individual
209 items by editing the @releases array in control/bugs2html.
d426d671 210
07db6afb 211 - Check the Docs page links correctly to the release docs. (It
212 should do this automatically, owing to the `latest' HTTP
213 redirect.)
214
215 - Check that the web server attaches the right content type to .HLP
216 and .CNT files.
217
1e7aebc9 218 - Run webupdate, so that all the changes on ixion propagate to
219 chiark. Important to do this _before_ announcing that the release
220 is available.
d50c1c62 221 * Don't forget to create the new directories on chiark -
222 ~/www/putty/<ver>{,/x86,/alpha,/htmldoc} - before running
223 webupdate.
1e7aebc9 224
95836600 225 - After running webupdate, run update-rsync on chiark and verify
226 that the rsync mirror package correctly identifies the new
227 version.
228
07db6afb 229 - Announce the release!
230 + Mail the announcement to putty-announce.
231 + Post it to comp.security.ssh.
6a9370de 232 + Mention it in <TDHTT> on mono.
07db6afb 233
8df11cad 234 - Relax (slightly).
235
236After the release
237-----------------
238
239The following want doing some time soon after a release has been made:
240
241 - If the release was made from a branch, make sure the version number
242 in _trunk_ CVS is up to date in all the locations listed above, so
243 that (e.g.) Unix snapshots come out right.