Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
logging.info("# create .scripts/version containing \"%s-%s-scripts\"" % (deployment.application.name, deployment.version))
logging.info("mv .scripts-version .scripts/old-version")
-def parse_args(argv):
+def parse_args(argv, baton):
usage = """usage: %prog migrate [ARGS] DIR
Migrates a directory to our Git-based autoinstall format.
app = None
def __init__(self, app):
self.app = app
+ def __str__(self):
+ return """Could not find Git repository for '%s'. If you would like to use a local version, try specifying --srv-path or WIZARD_SRV_PATH.""" % self.app
# If you want, you can wrap this up into a registry and access things
# through that, but it's not really necessary