Contribute to TurboGears

For source code management and issue tracking, we use Sourceforge.net. In particular, we have several repositories for public use.

To submit a patch just clone the relative repository, apply your changes, push them to a github repository you own,
then perform a pull request on the tg-trunk mailing list.

For continuous integration work, we use Jenkins.
As you can see, we are sharing this instance with other projects, but we still get quite a bit of good work out of it.

To create your development environment you can perform:

virtualenv --no-site-packages ${HOME}/tg2env
source ${HOME}/tg2env/bin/activate
STATIC_DEPS="true" CFLAGS="-fPIC -lgcrypt" easy_install lxml
git clone git://git.code.sf.net/p/turbogears2/tg2 turbogears2-tg2
cd turbogears-tg2
python setup.py develop
python setup.py nosetests

 For contributing to TG1 the available resources are:

  • TG1 Issues - The Sourceforge Issue Tracker for TG1
  • TG1 (SVN) - All TurboGears1 code lives here

How do I provide translations for the site?

The site is managed by a CMS known as tgext.pages. There are no .po or .pot files to manage or update. Instead, if you wish to provide a translation to your language for any given page, you need to send an email to our Google Group mailing list with the following information:

  • The URL of the page you are translating
  • The two character language code of the language you are translating to
  • The title of the page in that language
  • The name that will appear in the menu bar in that language
  • The text of that page in that language.

For instance, to translate the welcome page to French, you would send an email looking like the following:

Subject: Translation of welcome page
URL: http://beta.turbogears.org/en/welcome
Title: Bienvenue
Menu Name: Bienvenue
Page Text:
Bienvenue sur notre site. Ce site est le site de TurboGears.

And we would then upload the translation for that page.