]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/mass_migrate.py
Implement mass-upgrade.
[wizard.git] / wizard / command / mass_migrate.py
index b72bfd4d1f3afe9dfcc38bc44cc048d940bb19c0..04ea06f934591eea1d8bf252aa1c653cb00f9db0 100644 (file)
@@ -22,8 +22,7 @@ def main(argv, baton):
     # loop stuff
     errors = {}
     i = 0
-    # [] needed to workaround subtle behavior of frozenset("")
-    deploys = deploy.parse_install_lines([app], options.versions_path)
+    deploys = deploy.parse_install_lines(app, options.versions_path)
     requested_deploys = itertools.islice(deploys, options.limit)
     for i, d in enumerate(requested_deploys, 1):
         # check if we want to punt due to --limit
@@ -72,14 +71,8 @@ Essentially equivalent to running '%prog migrate' on all
 autoinstalls for a particular application found by parallel-find,
 but with advanced reporting.
 
-When doing an actual run, it is recommended to use --seen to
-be able to resume gracefully (without it, mass-migrate must
-stat every install to find out if it migrated it yet).
-
 This command is intended to be run as root on a server with
-the scripts AFS patch.  You may run it as an unpriviledged
-user for testing purposes, but then you MUST NOT run this on
-untrusted repositories."""
+the scripts AFS patch."""
     parser = command.WizardOptionParser(usage)
     baton.push(parser, "log_dir")
     baton.push(parser, "seen")