Improvements to .cvsignore, to attempt to reduce the huge number of
[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
28
29The documentation (both the preamble blurb and the licence appendix):
30
31 - putty/doc/blurb.but
32 - putty/doc/licence.but
33
34The website:
35
36 - putty-website/licence.html
37
38Before tagging a release
39------------------------
40
41For a long time we got away with never checking the current version
42number into CVS at all - all version numbers were passed into the
43build system on the compiler command line, and the _only_ place
44version numbers showed up in CVS was in the tag information.
45
46Unfortunately, those halcyon days are gone, and we do need the
47version number in CVS in a couple of places. These must be updated
48_before_ tagging a new release.
49
50The file used to generate the Unix snapshot version numbers (which
51are <previousrelease>-<date> so that the Debian versioning system
52orders them correctly with respect to releases):
53
54 - putty/LATEST.VER
55
dd953a88 56The Windows installer script:
07db6afb 57
58 - putty/putty.iss
59
dd953a88 60The Mac resource file (used to generate the binary bit of the 'vers'
61resources -- the strings are supplied by the usual means):
62
1bf96508 63 - putty/mac/version.r
dd953a88 64
07db6afb 65The actual release procedure
66----------------------------
67
68This is the procedure I (SGT) currently follow (or _should_ follow
69:-) when actually making a release, once I'm happy with the position
70of the tag.
71
72 - Write a release announcement (basically a summary of the changes
73 since the last release). Squirrel it away in
74 ixion:src/putty/local/announce-<ver> in case it's needed again
75 within days of the release going out.
76
77 - On my local machines, check out the release-tagged version of the
78 sources.
1e7aebc9 79 + Make sure to run mkfiles.pl _after_ this checkout, just in
80 case.
07db6afb 81
82 - Build the Windows/x86 release binaries. Don't forget to supply
83 VER=/DRELEASE=<ver>. Run them, or at least one or two of them, to
84 ensure that they really do report their version number correctly.
85
86 - Acquire the Windows/alpha release binaries from Owen.
87 + Verify the snapshot-key signatures on these, to ensure they're
88 really the ones he built. If I'm going to snapshot-sign a zip
89 file I make out of these, I'm damn well going to make sure the
90 binaries that go _into_ it were snapshot-signed themselves.
91
92 - Run Halibut to build the docs.
93
94 - Build the .zip files.
95 + The binary archive putty.zip just contains all the .exe files
96 except PuTTYtel, and the .hlp and .cnt files.
97 + The source archive putty-src.zip is built by puttysnap.sh (my
98 cron script that also builds the nightly snapshot source
99 archive).
100 + The docs archive puttydoc.zip contains all the HTML files
101 output from Halibut.
102
103 - Build the installer.
104
105 - Sign the release (gpg --detach-sign).
106 + Sign the locally built x86 binaries, the locally built x86
107 binary zipfile, and the locally built x86 installer, with the
108 release keys.
109 + The Alpha binaries should already have been signed with the
110 snapshot keys. Having checked that, sign the Alpha binary
111 zipfile with the snapshot keys too.
112 + The source archive should be signed with the release keys.
113 This was the most fiddly bit of the last release I did: the
114 script that built the source archive was on ixion, so I had to
115 bring the archive back to my local machine, check everything
116 in it was untampered-with, and _then_ sign it. Perhaps next
117 time I should arrange that puttysnap.sh can run on my local
118 box; it'd be a lot easier.
119 + Don't forget to sign with both DSA and RSA keys for absolutely
120 everything.
121
122 - Begin to pull together the release directory structure.
123 + subdir `x86' containing the x86 binaries, x86 binary zip, x86
124 installer, and all signatures on the above.
125 + subdir `alpha' containing the Alpha binaries, Alpha binary
126 zip, and all signatures on the above.
127 + top-level dir contains the source zip (plus signatures),
128 puttydoc.txt, the .hlp and .cnt files, and puttydoc.zip.
129
130 - Create and sign md5sums files: one in the x86 subdir, one in the
131 alpha subdir, and one in the parent dir of both of those.
132 + The md5sums files need not list the .DSA and .RSA signatures,
133 and the top-level md5sums need not list the other two.
134 + Sign the md5sums files (gpg --clearsign). The Alpha md5sums
135 should be signed with the snapshot keys, but the other two
136 with the release keys (yes, the top-level one includes some
137 Alpha files, but I think people will understand).
138
139 - Now double-check by verifying all the signatures on all the
140 files.
141
142 - Create subdir `htmldoc' in the release directory, which should
143 contain exactly the same set of HTML files that went into
144 puttydoc.zip.
145
146 - Now the whole release directory should be present and correct.
147 Upload to ixion:www/putty/<ver>, upload to
148 chiark:ftp/putty-<ver>, and upload to the:www/putty/<ver>.
149
150 - Update the HTTP redirects.
151 + Update the one at the:www/putty/htaccess which points the
152 virtual subdir `latest' at the actual latest release dir. TEST
153 THIS ONE - it's quite important.
154 + ixion:www/putty/.htaccess has an individual redirect for each
155 version number. Add a new one.
156
157 - Update the FTP symlink (chiark:ftp/putty-latest -> putty-<ver>).
158
159 - Update web site.
160 + Adjust front page (`the latest version is <ver>').
161 + Adjust filename of installer on links in Download page.
162 + Adjust header text on Changelog page. (That includes changing
163 `are new' in previous version to `were new'!)
164
165 - Check the Docs page links correctly to the release docs. (It
166 should do this automatically, owing to the `latest' HTTP
167 redirect.)
168
169 - Check that the web server attaches the right content type to .HLP
170 and .CNT files.
171
1e7aebc9 172 - Run webupdate, so that all the changes on ixion propagate to
173 chiark. Important to do this _before_ announcing that the release
174 is available.
175
07db6afb 176 - Announce the release!
177 + Mail the announcement to putty-announce.
178 + Post it to comp.security.ssh.
179 + Mention it in <TDHIS> on mono.
180
181 - All done. Probably best to run `cvs up -A' now, or I'll only
182 forget in a few days' time and get confused...