Headless chandler
- Moved code out of Chandler.py and Application.py into a new module,
application.Utility (better name suggestions welcomed), so that other
scripts don't need to reimplement: examining commandline/environment
variables, opening the repository, checking the schema version,
loading parcels, creating the profile directory, start/stop twisted
and the wakeup callers
- Added tools/headless.py, a script you can run via:
RunPython tools/headless.py
...which fires up most of Chandler (minus the UI, and mail), and
provides an interactive python shell for working with the repository.
Various helper methods are provided within that shell; run 'readme()'
for details. headless.py parses all the command line args that Chandler
does, since they now share the same option-handling code.
- Removing the now obsolete tools/s.py since headless.py is much better.
Moved the schema version constant from application/Application.py to version.py