// Can be useful to prevent fetch from a slow remote.
"useCacheAsRemote": false,
+ // Name of the symlink pointing to the data directory to create in the www directory
+ // during an instance creation. If false, the symlink won't be created.
+ "symlinkToData": "_data",
+
// You should not edit this, this is the branch that is considered as master by developers.
"masterBranch": 24
}
\ No newline at end of file
else:
os.symlink(wwwDir, linkDir)
+ # Symlink to dataDir in wwwDir
+ if C('symlinkToData'):
+ linkDataDir = os.path.join(wwwDir, C('symlinkToData'))
+ if not os.path.isfile(linkDataDir) and not os.path.isdir(linkDataDir) and not os.path.islink(linkDataDir):
+ os.symlink(dataDir, linkDataDir)
+
# Creating, fetch, pulling branches
debug('Checking out branch...')
M = self.get(name)