]> scripts.mit.edu Git - wizard.git/commit
Refactor, increase error coverage, more sanity checks.
authorEdward Z. Yang <ezyang@mit.edu>
Fri, 21 Aug 2009 06:04:00 +0000 (02:04 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Fri, 21 Aug 2009 06:04:00 +0000 (02:04 -0400)
commit255245146b500845fa13a75bfbeb6cece074417c
treeb01ead04fb003104fbb13fab3684c109a8719730
parentd5a1592d7d682a4d453e05ac5cecea604f35f323
Refactor, increase error coverage, more sanity checks.

* Deal with when source is a binary for test scripts.
* Move chdir from command to util module
* Reclassify util.chdir exceptions to be subclasses of IOError
* Migrate forces earlier (for the sake of better code)
* Deploy scripts now have verify methods which throw exceptions
  on event of errors.  This includes newly implemented
  DAG validation (verifyGit)
* Compactify some open().read()/write() calls
* Add tag property to ApplicationVersion
* Change shell.drop_priviledges() API to require a directory
  as first parameter.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
TODO
tests/test-continue-upgrade-mediawiki.sh
tests/test-upgrade-mediawiki.sh
wizard/command/__init__.py
wizard/command/migrate.py
wizard/command/upgrade.py
wizard/deploy.py
wizard/shell.py
wizard/util.py