The MyTARDIS project is hosted on Google Code and uses an subversion repository for source code control.

Creating a Patch with SVN

SVN users who whish to contribute code please checkout a copy of the current source:

svn checkout mytardis-read-only

You’ll need to make sure SVN tracks any new files you add using:

svn add path/to/new/file

Make the patch using:

svn diff > feature_name_or_bugfix.diff

and then add an issue to the issue tracker

Generating Documentation

Documentation is done in sphinx and can be built using the commands provided by the sphinx buildout recipe:


If DEBUG = True in, the documentation can be viewed through the local server, eg. runserver, under doclink.

This can be useful when writing new documentation or to look at documentation that is not yet available on readthedocs.


Hudson is a continuous intergration server that is used within the MyTARDIS development process to help maintain the quality of the project. Within Hudson we run use the following script to execute the build and run the tests.

rm dist/*
[ -d egg-cache ] || mkdir -p egg-cache
export PYTHON_EGG_CACHE=`pwd`/egg-cache
python clean
./bin/ test --with-xunit --with-coverage --cover-package=tardis.tardis_portal --with-xcoverage
python sdist

Enable the Publish JUnit test result report in the Post-Build Actions section and use specify the nost tests results output:


To enable reporting of the code coverage you’ll need to install the Hudson Cobertura plugin, once that is installed you can specify the location of the coverage.xml file:


See also

Extensible continuous integration server

Table Of Contents

Previous topic


Next topic


This Page