]> scripts.mit.edu Git - wizard.git/commit
Revamp database infrastructure.
authorEdward Z. Yang <ezyang@mit.edu>
Mon, 7 Dec 2009 06:34:24 +0000 (01:34 -0500)
committerEdward Z. Yang <ezyang@mit.edu>
Mon, 7 Dec 2009 08:02:12 +0000 (03:02 -0500)
commit981d8b73e14d907ddbd9c5c17818051fcdf1bd50
tree7d801dd3f76ced6eaf7952ca7bc64d7d990ef6a7
parent6e279f5f59b83c0494a4be9bb90a7f0e325faa0c
Revamp database infrastructure.

* We now use DSN URLs using the sqlalchemy.engine.url.URL
  class to pass these values around.  Parameters are now
  database agnostic; applications are tied to specific databases.
* Remove need for WIZARD_MYSQL_DB in test scripts
* Implement `wizard database` and `wizard remove`
* Prevent database exhaustion
* Added dsn and dsn_file property to deploy.Deployment
* Make the remove/backup/restore scripts agnostic
* Added database property to app.Application
* Added callback support to ArgSchema
* Golfed the Scripts specific code into wizard.sql

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
16 files changed:
TODO
doc/conf.py
doc/create.rst
doc/testing.rst
tests/mediawiki-backup-restore-test.sh
tests/setup
wizard/app/__init__.py
wizard/app/mediawiki.py
wizard/app/wordpress.py
wizard/command/database.py [new file with mode: 0644]
wizard/command/install.py
wizard/command/remove.py [new file with mode: 0644]
wizard/deploy.py
wizard/install/__init__.py
wizard/scripts.py
wizard/sql.py