source: installer/resources/checklist.md @ f200d5c

Last change on this file since f200d5c was f200d5c, checked in by zzz <zzz@…>, 5 years ago

checklist fix

  • Property mode set to 100644
File size: 6.3 KB
Line 
1# Release checklist
2
3## One week before
4
5- Make announcement on Transifex with checkin deadline
6
7
8## A day or two before
9
101. Write the release announcement and push to Transifex:
11
12  - Checkout i2p.newsxml branch
13    - See README for setup
14  - `./create_new_entry.sh`
15    - Entry href should be the in-net link to the release blog post
16  - `tx push -s`
17  - `mtn ci`
18
192. Write the draft blog post and push to Transifex:
20
21  - Checkout i2p.www branch
22  - Write draft release announcement - see i2p2www/blog/README for instructions
23    - Top content should be the same as the news entry
24  - `tx push -s`
25  - `mtn ci`
26
273. Make announcement on Transifex asking for news translation
28
29
30## On release day
31
32### Preparation
33
341. Ensure all translation updates are imported from Transifex
35
362. Sync with mtn.i2p2.i2p
37
383. Start with a clean checkout:
39
40    ```
41    mtn -d i2p.mtn co --branch=i2p.i2p /path/to/releasedir
42    ```
43
44  - You may build with Java 7 or higher, but ensure you have the Java 6 JRE installed for the bootclasspath
45
464. Create override.properties with (adjust as necessary):
47
48    ```
49    release.privkey.su3=/path/to/su3keystore.ks
50    release.gpg.keyid=0xnnnnnnnn
51    release.signer.su3=xxx@mail.i2p
52    build.built-by=xxx
53    javac.compilerargs=-bootclasspath /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jce.jar
54    javac.compilerargs7=-bootclasspath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar
55    ```
56
575. Copy latest trust list _MTN/monotonerc from website or some other workspace
58
596. Change revision in:
60  - `history.txt`
61  - `installer/install.xml`
62  - `core/java/src/net/i2p/CoreVersion.java`
63  - `router/java/src/net/i2p/router/RouterVersion.java`
64    - (change to BUILD = 0 and EXTRA = "")
65
667. `mtn ci`
67
688. Review the complete diff from the last release:
69
70    ```
71    mtn diff -r t:i2p-0.9.(xx-1) > out.diff
72    vi out.diff
73    ```
74
759. Verify that no untrusted revisions were inadvertently blessed by a trusted party:
76
77    ```
78    mtn log --brief --no-graph --to t:i2p-0.9.(xx-1) | cut -d ' ' -f 2 | sort | uniq -c
79    ```
80
81### Build and test
82
831. `ant release`
84
85    > NOTE: These tasks are now automated by `ant release`
86    >
87    > Build and tag:
88    >
89    >     ant pkg
90    >
91    > Create signed update files with:
92    >
93    >     export I2P=~/i2p
94    >     java -cp $I2P/lib/i2p.jar net.i2p.crypto.TrustedUpdate sign i2pupdate.zip i2pupdate.sud /path/to/private.key 0.x.xx
95    >     java -cp $I2P/lib/i2p.jar net.i2p.crypto.TrustedUpdate sign i2pupdate200.zip i2pupdate.su2 /path/to/private.key 0.x.xx
96    >
97    > Verify signed update files with:
98    >
99    >     java -cp $I2P/lib/i2p.jar net.i2p.crypto.TrustedUpdate showversion i2pupdate.sud
100    >     java -cp $I2P/lib/i2p.jar net.i2p.crypto.TrustedUpdate verifysig i2pupdate.sud
101    >
102    > Make the source tarball:
103    >
104    >     Start with a clean checkout mtn -d i2p.mtn co --branch=i2p.i2p i2p-0.x.xx
105    >     Double-check trust list
106    >     tar cjf i2psource-0.x.xx.tar.bz2 --exclude i2p-0.x.xx/_MTN i2p-0.x.xx
107    >     mv i2p-0.x.xx.tar.bz2 i2p.i2p
108    >
109    > Rename some files:
110    >
111    >     mv i2pinstall.exe i2pinstall-0.x.xx.exe
112    >     mv i2pupdate.zip i2pupdate-0.x.xx.zip
113    >
114    > Generate hashes:
115    >
116    >     sha256sum i2p*0.x.xx.*
117    >     sha256sum i2pupdate.sud
118    >     sha256sum i2pupdate.su2
119    >
120    > Generate PGP signatures:
121    >
122    >     gpg -b i2pinstall-0.x xx.exe
123    >     gpg -b i2psource-0.x.xx.tar.bz2
124    >     gpg -b i2pupdate-0.x.xx.zip
125    >     gpg -b i2pupdate.sud
126    >     gpg -b i2pupdate.su2
127    >
128    > (end of tasks automated by 'ant release')
129
1302. Now test:
131  - Save the output about checksums, sizes, and torrents to a file
132    (traditionally `shasums.txt`)
133    - (edit timestamps to UTC if you care)
134  - Copy all the release files somewhere, make sure you have the same ones as last release
135  - Verify sha256sums for release files
136  - Check file sizes vs. previous release, shouldn't be smaller
137    - If the update includes GeoIP, it will be about 1MB bigger
138  - Unzip or list files from `i2pupdate.zip`, see if it looks right
139  - For either windows or linux installer: (probably should do both the first time)
140    - Rename any existing config dir (e.g. mv .i2p .i2p-save)
141    - Run installer, install to temp dir
142    - Look in temp dir, see if all the files are there
143    - Unplug ethernet / turn off wifi so RI doesn't leak
144    - `i2prouter start`
145    - Verify release number in console
146    - Verify welcome news
147    - Click through all the app, status, eepsite, and config pages, see if they look right
148    - Click through each of the translations, see if /console looks right
149    - Look for errors in /log (other than can't reseed errors)
150    - Look in config dir, see if all the files are there
151    - Shutdown
152    - Delete config dir
153    - Move saved config dir back
154    - Reconnect ethernet / turn wifi back on
155  - Load torrents in i2psnark on your production router, verify infohashes
156
1573. If all goes well, tag and sync the release:
158
159    ```
160    mtn tag h: i2p-0.x.xx
161    mtn cert t:i2p-0.x.xx branch i2p.i2p.release
162    mtn sync (with e.g. mtn.killyourtv.i2p)
163    ```
164
165### Distribute updates
166
1671. Update news with new version:
168  - Add magnet links, change release dates and release number in to old-format
169    news.xml, and distribute to news hosts
170  - In the i2p.newsxml branch, edit magnet links, release dates and release
171    number in data/releases.json, and check in
172
1732. Add i2pupdate-0.9.xx.su3 torrent to tracker2.postman.i2p and start seeding
174
1753. Notify the following people:
176  - All in-network update hosts
177  - PPA maintainer
178  - news.xml maintainer
179  - backup news.xml maintainer
180  - website files maintainer
181
1824. Update Trac:
183  - Add milestone and version dates
184  - Increment milestone and version defaults
185
1865. Wait for a few update hosts to be ready
187
1886. Tell news hosts to flip the switch
189
190### Notify release
191
1921. Wait for files to be updated on download server
193
1942. Website files to change:
195  - Sync with mtn.i2p-projekt.i2p
196  - `i2p2www/static/hosts.txt` if it changed (copy from i2p.i2p mtn branch)
197  - `i2p2www/__init__.py` (release number)
198  - `i2p2www/pages/downloads/list.html` (release signer)
199  - `i2p2www/pages/downloads/macros` (checksums)
200  - `i2p2www/static/news/news.xml`
201  - Sync with mtn.i2p-projekt.i2p
202
2033. Wait for debian packages to be ready
204
2054. Announce on:
206  - #i2p, #i2p-dev (also on Freenode side)
207  - forum.i2p
208  - Twitter
Note: See TracBrowser for help on using the repository browser.