07db6afb |
1 | Checklists for PuTTY administrative procedures |
2 | ============================================== |
3 | |
4 | Locations of the licence |
5 | ------------------------ |
6 | |
7 | The PuTTY copyright notice and licence are stored in quite a few |
8 | places. At the start of a new year, the copyright year needs |
9 | updating in all of them; and when someone sends a massive patch, |
10 | their name needs adding in all of them too. |
11 | |
12 | The LICENCE file in the main source distribution: |
13 | |
14 | - putty/LICENCE |
15 | |
16 | The resource files: |
17 | |
a0214f4d |
18 | - putty/windows/pageant.rc |
07db6afb |
19 | + the copyright date appears twice, once in the About box and |
20 | once in the Licence box. Don't forget to change both! |
a0214f4d |
21 | - putty/windows/puttygen.rc |
07db6afb |
22 | + the copyright date appears twice, once in the About box and |
23 | once in the Licence box. Don't forget to change both! |
976374cd |
24 | - putty/windows/win_res.rc2 |
07db6afb |
25 | + the copyright date appears twice, once in the About box and |
26 | once in the Licence box. Don't forget to change both! |
976374cd |
27 | - putty/windows/version.rc2 |
28 | + the copyright date appears once only. |
47e4e735 |
29 | - putty/unix/gtkdlg.c |
30 | + the copyright date appears twice, once in the About box and |
31 | once in the Licence box. Don't forget to change both! |
07db6afb |
32 | |
33 | The documentation (both the preamble blurb and the licence appendix): |
34 | |
35 | - putty/doc/blurb.but |
36 | - putty/doc/licence.but |
37 | |
38 | The website: |
39 | |
40 | - putty-website/licence.html |
47e4e735 |
41 | |
07db6afb |
42 | Before tagging a release |
43 | ------------------------ |
44 | |
840ee0e7 |
45 | - First of all, go through the source (including the documentation), |
46 | and the website, and review anything tagged with a comment |
47 | containing the word XXX-REVIEW-BEFORE-RELEASE. |
48 | (Any such comments should state clearly what needs to be done.) |
a07f5e30 |
49 | |
ed1829a3 |
50 | - Also, do some testing of the Windows version with Minefield, and |
51 | of the Unix version with valgrind or efence or both. In |
52 | particular, any headline features for the release should get a |
53 | workout with memory checking enabled! |
54 | |
07db6afb |
55 | For a long time we got away with never checking the current version |
a0214f4d |
56 | number in at all - all version numbers were passed into the build |
57 | system on the compiler command line, and the _only_ place version |
58 | numbers showed up in the source files was in the tag information. |
07db6afb |
59 | |
60 | Unfortunately, those halcyon days are gone, and we do need the |
a0214f4d |
61 | version number checked in in a couple of places. These must be updated |
07db6afb |
62 | _before_ tagging a new release. |
63 | |
64 | The file used to generate the Unix snapshot version numbers (which |
65 | are <previousrelease>-<date> so that the Debian versioning system |
66 | orders them correctly with respect to releases): |
67 | |
68 | - putty/LATEST.VER |
69 | |
8855e10a |
70 | The Windows installer script (_four_ times, on consecutive lines): |
07db6afb |
71 | |
a0214f4d |
72 | - putty/windows/putty.iss |
07db6afb |
73 | |
976374cd |
74 | The Windows resource file (used to generate the binary bit of the |
75 | VERSIONINFO resources -- the strings are supplied by the usual means): |
76 | |
77 | - putty/windows/version.rc2 (BASE_VERSION; NB, _comma_-separated) |
78 | |
8208b498 |
79 | It might also be worth going through the documentation looking for |
80 | version numbers - we have a couple of transcripts showing the help |
81 | text from the command-line tools, and it would be nice to ensure the |
82 | whole transcripts (certainly including the version numbers) are up |
8df11cad |
83 | to date. Sometimes these are marked in between releases as `0.XX', so |
84 | it's worth grepping for that too. |
8208b498 |
85 | |
86 | - putty/doc/pscp.but |
87 | - putty/doc/plink.but |
88 | - putty/doc/psftp.but (in case it ever acquires a similar thing) |
89 | |
07db6afb |
90 | The actual release procedure |
91 | ---------------------------- |
92 | |
93 | This is the procedure I (SGT) currently follow (or _should_ follow |
94 | :-) when actually making a release, once I'm happy with the position |
95 | of the tag. |
96 | |
a07f5e30 |
97 | - Double-check that we have removed anything tagged with a comment |
0175f63a |
98 | containing the words XXX-REMOVE-BEFORE-RELEASE or |
99 | XXX-REVIEW-BEFORE-RELEASE. |
a07f5e30 |
100 | |
07db6afb |
101 | - Write a release announcement (basically a summary of the changes |
102 | since the last release). Squirrel it away in |
103 | ixion:src/putty/local/announce-<ver> in case it's needed again |
104 | within days of the release going out. |
105 | |
1fd2e8df |
106 | - Build the release: `bob putty-0.XX RELEASE=0.XX'. This should |
edb6ace9 |
107 | generate a basically valid release directory as |
108 | `build.out/putty', and provide link maps and sign.sh alongside |
109 | that in build.out. |
1fd2e8df |
110 | |
111 | - Do a bit of checking that the release binaries basically work, |
112 | report their version numbers accurately, and so on. Test the |
113 | installer and the Unix source tarball. |
114 | |
edb6ace9 |
115 | - Save the link maps. Currently I keep these on ixion, in |
1fd2e8df |
116 | src/putty/local/maps-<version>. |
117 | |
edb6ace9 |
118 | - Sign the release: in the `build.out' directory, type `./sign.sh |
119 | putty Releases', and enter the passphrases a lot of times. |
07db6afb |
120 | |
07db6afb |
121 | - Now the whole release directory should be present and correct. |
edb6ace9 |
122 | Upload it to ixion:www/putty/<ver>. |
d50c1c62 |
123 | |
124 | - Do final checks on the release directory: |
1fd2e8df |
125 | + verify all the signatures: |
126 | for i in `find . -name '*.*SA'`; do case $i in *md5sums*) gpg --verify $i;; *) gpg --verify $i ${i%%.?SA};; esac; done |
f0511c60 |
127 | + check the md5sums: |
d50c1c62 |
128 | md5sum -c md5sums |
129 | |
130 | - Having double-checked the release, copy it from ixion to |
131 | chiark:ftp/putty-<ver> and to the:www/putty/<ver>. |
07db6afb |
132 | |
b0891ba2 |
133 | - Check the permissions! Actually try downloading from the, to make |
134 | sure it really works. |
135 | |
07db6afb |
136 | - Update the HTTP redirects. |
137 | + Update the one at the:www/putty/htaccess which points the |
138 | virtual subdir `latest' at the actual latest release dir. TEST |
139 | THIS ONE - it's quite important. |
140 | + ixion:www/putty/.htaccess has an individual redirect for each |
141 | version number. Add a new one. |
142 | |
143 | - Update the FTP symlink (chiark:ftp/putty-latest -> putty-<ver>). |
144 | |
145 | - Update web site. |
146 | + Adjust front page (`the latest version is <ver>'). |
546d9e8a |
147 | + Adjust Download page similarly. |
6a9370de |
148 | + Adjust filenames of installer and Unix tarball on links in |
149 | Download page. |
07db6afb |
150 | + Adjust header text on Changelog page. (That includes changing |
151 | `are new' in previous version to `were new'!) |
152 | |
a920f5b2 |
153 | - Update the wishlist. This can be done without touching individual |
154 | items by editing the @releases array in control/bugs2html. |
d426d671 |
155 | |
07db6afb |
156 | - Check the Docs page links correctly to the release docs. (It |
157 | should do this automatically, owing to the `latest' HTTP |
158 | redirect.) |
159 | |
160 | - Check that the web server attaches the right content type to .HLP |
161 | and .CNT files. |
162 | |
1e7aebc9 |
163 | - Run webupdate, so that all the changes on ixion propagate to |
164 | chiark. Important to do this _before_ announcing that the release |
165 | is available. |
166 | |
95836600 |
167 | - After running webupdate, run update-rsync on chiark and verify |
168 | that the rsync mirror package correctly identifies the new |
169 | version. |
170 | |
07db6afb |
171 | - Announce the release! |
172 | + Mail the announcement to putty-announce. |
52bd9b26 |
173 | * Set a Reply-To on the mail so that people don't keep |
174 | replying to my personal address. |
07db6afb |
175 | + Post it to comp.security.ssh. |
6a9370de |
176 | + Mention it in <TDHTT> on mono. |
07db6afb |
177 | |
8df11cad |
178 | - Relax (slightly). |
179 | |
180 | After the release |
181 | ----------------- |
182 | |
183 | The following want doing some time soon after a release has been made: |
184 | |
185 | - If the release was made from a branch, make sure the version number |
a0214f4d |
186 | on the _trunk_ is up to date in all the locations listed above, so |
8df11cad |
187 | that (e.g.) Unix snapshots come out right. |