Making a release


The marx source packages and documentation are build and deployed locally on MIT servers, thus these instructions will not be relevant for people outside the MIT/CXC group.


Ensure that NEWS in the source directory and source/inbrief/news.rst in the documentation repository describe the new release.

Source repro

(Commands are shown here as an example for a release called 5.1.0.)

  1. git checkout master

  2. if necessary: Update the copyright statements in the individual files:

    grep -rli 'Copyright (C) 2002-2013 Massachusetts Institute of Technology' * | xargs -i@ sed -i 's/Copyright (C) 2002-2013 Massachusetts Institute of Technology/Copyright (C) 2002-2015 Massachusetts Institute of Technology/g' @

    Note separate copyright in jdmath/COPYRIGHT.

  3. Update version string in e.g. the start-up message or marx or in the comments in marx.par. The best way to do this is properly to grep for 5.0.0 (or whatever the previous version was called).

  4. Update NEWS files in the root directory.

  5. commit changes to git

  6. git tag v5.1.0

  7. git push --tags reproname Push tag to all repositories that should have a copy.

  8. git archive --format=tar --prefix=marx-5.1.0/ v5.1.0 | gzip > marx-dist-5.1.0.tar.gz

  9. Sign with your private key: gpg --armor --detach-sig marx-dist-5.1.0.tar.gz

  10. Calculate hash, so that user can verify error-free download: sha1sum marx-dist-5.1.0* > sha1sums.txt

  11. scp marx-dist-5.1.0.tar.gz space:/space/ftp/pub/cxc/marx/v5.1 (make directory as required)

  12. scp marx-dist-5.1.0.tar.gz.asc space:/space/ftp/pub/cxc/marx/v5.1

  13. scp sha1sums.txt space:/space/ftp/pub/cxc/marx/v5.1

  14. Provide tar file also via https: scp marx-dist-5.1.0.tar.gz space:/space/web/ASC/marx-5.1

Documentation repro

  1. update copyright, version, and release in (Note that the copyright year turn up further down for LaTeX and epub again.)

  2. Update any notes on the front page index.rst etc.

  3. Update inbrief/news.rst.

  4. Update file name in aliases.txt and inbrief/install.rst.

  5. make clean

  6. Install marx and set path in source/examples/ to it, so that the examples are build with the new version.

  7. make figures

  8. make examples

  9. make html. Fix any errors that come up.

  10. scp -r build/html/* space:/space/web/ASC/marx-5.1 (Create directory on space as required.)

  11. On /space/web/ASC: rm marx; ln -s marx-5.1 marx.

Get the word out

  1. Announce release to cxc at

  2. Announce release on marx-users at

  3. Ask T. Gorcas to include release in next Chandra electronic announcement

  4. Ask CIAO team to advertise release through the CIAO Twitter, facebook, Google+ feeds.