Stuff all of our repos into an /invirt subdirectory, so that we have
authorEvan Broder <broder@mit.edu>
Sat, 5 Dec 2009 20:36:21 +0000 (15:36 -0500)
committerEvan Broder <broder@mit.edu>
Sat, 5 Dec 2009 20:36:21 +0000 (15:36 -0500)
room for future expansion.

svn path=/trunk/packages/invirt-dev/; revision=2577

invirtibuilder
python/invirt/builder.py

index 0a19484..61efa9f 100755 (executable)
@@ -182,7 +182,7 @@ def updateSuperrepo(pocket, package, commit, principal):
     Note that there's no locking issue here, because we disallow all
     pushes to the superrepo.
     """
-    superrepo = os.path.join(b._REPO_DIR, 'packages.git')
+    superrepo = os.path.join(b._REPO_DIR, 'invirt/packages.git')
     branch = b.pocketToGit(pocket)
     tree = c.captureOutput(['git', 'ls-tree', branch],
                          cwd=superrepo)
index 27e21a6..b8e9c0b 100644 (file)
@@ -26,7 +26,7 @@ class InvalidBuild(ValueError):
 
 def getRepo(package):
     """Return the path to the git repo for a given package."""
-    return os.path.join(_REPO_DIR, 'packages', '%s.git' % package)
+    return os.path.join(_REPO_DIR, 'invirt/packages', '%s.git' % package)
 
 
 def pocketToGit(pocket):