theoden  committed 013dd44

1.9 deploy.undeploy changed name to deploy.remove

  • Participants
  • Parent commits 89da73f

Comments (0)

Files changed (2)

File fab_deploy/

 __all__ = ['full_deploy', 'deploy_project', 'make_clone',
            'update_django_config', 'up', 'setup_web_server', 'push',
-           'undeploy']
+           'remove']
 def full_deploy():
-def undeploy(confirm=True):
+def remove(confirm=True):
     """ Shuts site down. This command doesn't clean everything, e.g.
     user data (database, backups) is preserved. """

File fab_deploy_tests/tests/

 from fabric.api import *
 from fabtest import fab, vbox_urlopen, FabricAbortException
 from fab_deploy.utils import run_as
-from fab_deploy.deploy import deploy_project, push, undeploy
+from fab_deploy.deploy import deploy_project, push, remove
 from fab_deploy.db import mysql, postgres, postgis
 from fab_deploy import db
 from fab_deploy.webserver import apache
         fab(push, 'update_r', 'syncdb')
         self.assertResponse(url, 'foo2')
-        # check that updeploy disables the site
+        # check that remove disables the site
         # TODO: more undeploy tests
-        fab(undeploy, confirm=False)
+        fab(remove, confirm=False)
         # deploying project again should be possible