invirt-dev (0.1.7) unstable; urgency=low
* Save build log to file containing package name
+ * Use shared git repositories
-- Greg Brockman <gdb@mit.edu> Mon, 23 Aug 2010 18:12:45 -0400
print 'Creating new repo at %s' % repo_path
os.makedirs(repo_path)
- common.captureOutput(['git', 'init', '--bare'], cwd=repo_path)
+ common.captureOutput(['git', 'init', '--bare', '--shared=group'], cwd=repo_path)
+ common.captureOutput(['git', 'config', 'receive.denyNonFastForwards', 'false'], cwd=repo_path)
+ common.captureOutput(['chgrp', 'repo', '-R', '.'], cwd=repo_path)
print 'Replacing hooks directory with a symlink'
hooks_dir = os.path.join(repo_path, 'hooks')
shutil.rmtree(hooks_dir)