Basic process

The trunk for Amara & Akara are on github. If you're not sure how to proceed with contributing, please work with a core developer. You should also make sure you are set up to sign git tags.

Basic, typical flow:

Notes:

Some useful tips:

See also:

Work in progress

To do

Next release (2.0a3)

Note: we've already moved the test suite to nose, and moved the main code source dir from amara to lib.

Longer term

Post 2.0

General notes

Follow PEP 8 for the most part. Modified naming conventions:

Mercurial

See Akara/Developer_notes/Mercurial

Releases

Amara/Release_process

Test sandbox

There are some instructions for setting up separated Amara 2.x installs at: Amara1/Quick_start

You should probably rename the local folder to reflect the branch, and make sure you edit its .hg/hgrc to make its default destination the branch rather than main

Debugging tips

Profiling

To run a script file and gather the stats:

python -m cProfile -o <statsfile> <scriptfile>

For an interactive profile statistics browser:

python -m pstats <statsfile>

e.g.:

echo "from amara import bindery; bindery.parse('http://intertwingly.net/blog/index.atom')" > /tmp/foo.py
python -m cProfile -o /tmp/foo.stats.txt /tmp/foo.py
python -m pstats /tmp/foo.stats.txt

Some useful commands in the browser:

See also:

i18n

Start by following the example of OLPC: http://wiki.laptop.org/go/Python_i18n

In particular make sure all display strings are wrapped for l10n, and we'll figure out the framework as needed.

Amara/Developer_notes (last edited 2011-06-30 21:23:29 by UcheOgbuji)