]> scripts.mit.edu Git - wizard.git/commitdiff
Change repository name.
authorEdward Z. Yang <ezyang@mit.edu>
Thu, 2 Jul 2009 06:52:45 +0000 (02:52 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Thu, 2 Jul 2009 06:52:45 +0000 (02:52 -0400)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
TODO
wizard/deploy.py

diff --git a/TODO b/TODO
index 1baa77afa498cd2cf0d492e58b66a37ef10801f5..1a084716782501448c2837678095ac11efcf4857 100644 (file)
--- a/TODO
+++ b/TODO
@@ -4,7 +4,6 @@ TODO NOW:
 
 - Add repository flag to migrate so that we can specify an
   arbitrary repository to migrate to
-- Move repositories
 
 - The great initial deploy:
     - Turn on mediawiki new autoinstaller
index 700b23402ef9ecdefcfab7e861c1d2200241b760..223abc7391d969857e8fb8bdc77966107e685527 100644 (file)
@@ -78,7 +78,7 @@ class Application(object):
         self._c_exists = {}
     def getRepository(self):
         """Returns the Git repository that would contain this application."""
-        repo = os.path.join("/afs/athena.mit.edu/contrib/scripts/wizard/srv", self.name + ".git")
+        repo = os.path.join("/afs/athena.mit.edu/contrib/scripts/git/autoinstalls", self.name + ".git")
         if not os.path.isdir(repo):
             raise NoRepositoryError(app)
         return repo
@@ -242,6 +242,7 @@ class ApplicationVersion(object):
         # The version of the deployment, will be:
         #   /afs/athena.mit.edu/contrib/scripts/deploy/APP-x.y.z for old style installs
         #   /afs/athena.mit.edu/contrib/scripts/wizard/srv/APP.git vx.y.z-scripts for new style installs
+        #   XXX: ^- the above is wrong; there will be no more .scripts-version
         name = deploydir.split("/")[-1]
         try:
             if name.find(" ") != -1: