annotate HowTo-Release.txt @ 310:be441fa4bed0

Throw an exception in case reading Raster layer fails
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Sep 2012 11:50:40 +0200
parents 1853c9809404
children 5e7e6d99f997
rev   line source
263
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
1 HowTo make a new MXD2map release
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
2 ================================
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
3
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
4 (replace the sample "0.2.0" with the apropriate version number)
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
5
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
6 1. Take care everything is checked in properly.
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
7 Adjust version numbers in
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
8 contrib/installer/MXD2map-installer.nsi (PRODUCT_VERSION)
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
9 doku/source/conf.py (version und release)
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
10 and commit and push! (analog previous releases in ChangeLog)
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
11
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
12 2. Create a source archive:
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
13 $ export MXD2MAPVERSION=0.8
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
14 $ hg archive -t tgz -X website -X HowToRelease.txt -X testdata-frida MXD2map-$MXD2MAPVERSION.tar.gz
279
1853c9809404 * HowTo-Release.txt: More improvements (MD5sum-commands added)
Stephan Holl <stephan.holl@intevation.de>
parents: 271
diff changeset
15 $ md5sum MXD2map-$MXD2MAPVERSION.tar.gz > MXD2map-$MXD2MAPVERSION.tar.gz.md5sum
263
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
16
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
17 3. Create PDF-file of Documentation:
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
18 $ cd doku && make latexpdf
269
7c8ae43bc465 * HowTo-Release.txt: Added some more hints for releses.
Stephan Holl <stephan.holl@intevation.de>
parents: 263
diff changeset
19 $ cp build/latex/MXD2map.pdf build/latex/MXD2map-$MXD2MAPVERSION.pdf
263
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
20
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
21 4. Create new source-release on 0.8 on wald and upload Documentation-PDF and MXD2map-0.8.tar.gz
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
22
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
23 4.1 Create Windows-Binary Installer (needs Windows-NSIS-Version and complete build)
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
24
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
25 4.1.1 Build MXD2map:
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
26
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
27 $ ant jar
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
28
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
29 Copy resulting mxd2map.jar into contrib/installer/bin/
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
30
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
31 4.1.2 Fill ms_6.1-dev-Folder with Binary-windows-build
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
32
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
33 4.1.3 Download example-data
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
34
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
35 $ cd contrib/installer/example/example/testdata-frida
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
36 $ wget ftp://ftp.intevation.de/freegis/frida/frida-1.0.1-shp.tar.gz
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
37 $ tar xvfz frida-1.0.1-shp.tar.gz
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
38 $ rm -f frida-1.0.1-shp.tar.gz
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
39
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
40 4.1.4 Build the installer (requires NSIS >= 2.46-2):
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
41
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
42 $ cd contrib/installer
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
43 $ makensis -DVERSION_DATE=`date +%d.%m.%Y` MXD2map-installer.nsi
279
1853c9809404 * HowTo-Release.txt: More improvements (MD5sum-commands added)
Stephan Holl <stephan.holl@intevation.de>
parents: 271
diff changeset
44 $ md5sum MXD2map-$MXD2MAPVERSION.exe > MXD2map-$MXD2MAPVERSION.exe.md5sum
263
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
45
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
46 4.2 Tag the release in HG:
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
47
271
58977f4b2cc5 Fixed tagline
Stephan Holl <stephan.holl@intevation.de>
parents: 269
diff changeset
48 $ hg tag -m "Tagged as release 'release-$MXD2MAPVERSION'" release-$MXD2MAPVERSION && hg push
263
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
49
279
1853c9809404 * HowTo-Release.txt: More improvements (MD5sum-commands added)
Stephan Holl <stephan.holl@intevation.de>
parents: 271
diff changeset
50 4.3 Create new binary-release on Wald and upload
1853c9809404 * HowTo-Release.txt: More improvements (MD5sum-commands added)
Stephan Holl <stephan.holl@intevation.de>
parents: 271
diff changeset
51 MXD2map-$MXD2MAPVERSION.exe and corresponding MD5sum.
269
7c8ae43bc465 * HowTo-Release.txt: Added some more hints for releses.
Stephan Holl <stephan.holl@intevation.de>
parents: 263
diff changeset
52
263
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
53 5. Update versions and URLs on the homepage (updates documentation as
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
54 well!) [requires sphinx available in $PATH]
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
55
269
7c8ae43bc465 * HowTo-Release.txt: Added some more hints for releses.
Stephan Holl <stephan.holl@intevation.de>
parents: 263
diff changeset
56 $ cd website && edit header.m4, download-de.htm4, download.htm4
263
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
57 $ hg commit -m "Updated Website to version $MXD2MAPVERSION, added download-links" && hg push
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
58 $ make online
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
59
4ce2d28971e9 Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff changeset
60 6. Announce the new release on the mailing lists.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)