summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter A. Bigot <pabigot@users.sourceforge.net>2010-05-30 11:01:45 -0500
committerPeter A. Bigot <pabigot@users.sourceforge.net>2010-05-30 11:01:45 -0500
commit6d216c96a474dec4ec702bc87c8a1a4f8f7bef1d (patch)
tree19b844bd1e6db04b2f044e8c34564c098d88ea73
parente31216b4ef1acedde3d476eb9a8fbb7098fa998b (diff)
Add instructions on how to build a release
-rw-r--r--maintainer/howto-release.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/maintainer/howto-release.txt b/maintainer/howto-release.txt
new file mode 100644
index 0000000..3ebb19e
--- /dev/null
+++ b/maintainer/howto-release.txt
@@ -0,0 +1,63 @@
+* Update the release notes in doc/releases.txt. All fixed DRs should be
+ noted, as well as any major new features.
+
+* Update the version number in setup.py. Run:
+
+ ./setup.py update_version
+ hg commit -m 'Version number updated for release'
+
+* Run the maintainer/makedist script. This exports the current directory's
+ repository into /tmp, then does a full setup, documentation build, and
+ test in that area. It creates the variant bundles, and places them in
+ ~/pyxb/pre-release.
+
+* In ~/pyxb/pre-release, run the testdist.sh script. This unpacks the full
+ distribution, builds, installs, and runs the full test sequence on three
+ versions of Python. Check out the logs for any errors.
+
+* When all tests pass, move the release tar files into ~/pyxb/pyxb-release.
+ Create a file notice-A.B.C.txt containing the section of doc/releases.txt
+ relevant to the release. Add all these to the repository, and push it.
+
+* Back in the development repository, update setup.py for the next release
+ series, run ./setup.py update_version, and commit the changes.
+
+* Log in to SourceForge, and under Project Admin enter File Manager. Create
+ a new release directory under pyxb, then upload each files. Later files
+ come earlier in the list, so a good order is: opengis, common, wssplat,
+ base, doc, full.
+
+* For each upload, click on the gear and set its properties:
+
+ notice-A.B.C.txt -- Release notes (mark as release notes)
+ full -- Full release with all overlays (mark as default download)
+ doc -- Documentation overlay
+ base -- Base release, no overlays
+ wssplt -- Web service bindings overlay
+ common -- Common schema bindings overlay
+ opengis -- OpenGIS bindings overlay
+
+ Also mark the full release as being the default download.
+
+* Associate the release notes with the folder and the full release.
+
+* Go to the Trac system. Under Milestones
+
+ - Edit the milestone for the new release, setting its Completed date
+ - Add the next beta series as a milestone, marking it as the default
+ - Add the new release as a version, marking it the default
+
+* Edit the main Trac page to select the correct versions for the DR tables.
+ An example of a full page is in maintainer/trac-source.
+
+* Log in to sourceforge and replace the homepage with the new documentation.
+
+ ssh -t pabigot,pyxb@shell.sourceforge.net create
+ cd /home/groups/p/py/pyxb/htdocs
+ mkdir PyXB-1.1.0
+ mv _* [a-z]* PyXB-1.1.0
+ tar xzf /home/frs/project/p/py/pyxb/pyxb/1.1.1\ \(Beta\)/PyXB-doc-1.1.1.tar.gz
+ mv PyXB-1.1.1/doc/html/* .
+ rm -rf PyXB-1.1.1/
+
+* Mail the release notes to pyxb-users@lists.sourceforge.net