Author: essiene
Date: Sun Jan 21 04:48:14 2007
New Revision: 8
Added:
trunk/src/simpleweb/admin/plugins/_h.py
Modified:
trunk/src/simpleweb/BUGS
trunk/src/simpleweb/TODO
trunk/src/simpleweb/admin/console.py
trunk/src/simpleweb/admin/plugins/create_movable.py
trunk/src/simpleweb/admin/plugins/create_project.py
trunk/src/simpleweb/admin/plugins/create_tables.py
trunk/src/simpleweb/admin/plugins/drop_tables.py
trunk/src/simpleweb/admin/plugins/help.py
trunk/src/simpleweb/admin/plugins/init_db.py
trunk/src/simpleweb/admin/plugins/run.py
Log:
simpleweb-admin
* Start using proper option parsing semantics for simpleweb-admin plugins
-l,--lib_dir and -c,--cleanup added to create-movable, add usage/help text(s)
**INTERNAL API BREAK**
* modify the api for the simpleweb-admin plugins. The function declarations now look like: func(name, args, parser)
where parser is an optparse.OptionParser() instance.
* Updated all inbuilt plugins to the new api
* 'help' plugin now only used to show help for simpleweb-admin itself. No more 'simpleweb-admin help [command]'
This is replaced by 'simpleweb-admin [command] -h'
* Add new plugin '-h' or actually '_h.py' so we can do 'simpleweb-admin -h' to get the same result as 'simpleweb-admin help' :)
create-movable plugin
* Major refactoring on create-movable plugin again. The create_movable() function
is a whole lot cleaner now.
* Fix some subtle bugs that showed up after refactoring. Now we always write the lattest
version of a module, even if we find it already existing.
* There is no need to create a special main.py when using create-movable, the bug fixed in Release 7
properly manipulates sys.path in sitecustomize.py already.
* Do not filter out any part of simpleweb, we need the whole package, else things break during testing for one,
and may break at other odd times.
|