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

Amara2/Release_process

Test sandbox

There are some instructions for setting up separated Amara 2.x installs at: Amara/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.

Amara2/Developer_notes (last edited 2010-03-03 18:52:03 by UcheOgbuji)