]> scripts.mit.edu Git - wizard.git/commitdiff
Make git status/diff call only on verbose, update TODO.
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 15 Jun 2009 22:28:18 +0000 (18:28 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 15 Jun 2009 22:28:18 +0000 (18:28 -0400)
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
TODO
lib/wizard/command/migrate.py

diff --git a/TODO b/TODO
index fbcb2cb297e44b216a056892a58c7ef0f5cf0ad6..a757eb07dfb6d3c994b023e3e98b1d04d91797af 100644 (file)
--- a/TODO
+++ b/TODO
@@ -109,6 +109,10 @@ OVERALL PLAN:
         * .scripts/database (generated) contains the database the
           user installed the script to, so scripts-remove can clean it
 
+            XXX: Could cause problems if a user copies the autoinstall,
+            fiddles with the DB credentials, and then scripts-remove's
+            the autoinstall
+
         * .scripts/version (generated) which contains the version
           last autoinstalled (as distinct from the actual version
           the script is) (This is the same as .scripts-version right
index e7ced10ec998176a6117ad6eada6635b99ce5b88..fb38ff7c7c9d96bd536a781277afa68d290ab257 100644 (file)
@@ -98,8 +98,9 @@ what repository and tag to use."""
         did_git_checkout_scripts = True
         # XXX: setup .scripts/version???
         # for verbose purposes, give us a git status and git diff
-        shell.call("git", "status")
-        shell.call("git", "diff")
+        if options.verbose:
+            shell.call("git", "status")
+            shell.call("git", "diff")
     except:
         print
         print "ERROR: Exception detected! Rolling back..."