*Ant
*Ant Contrib Tasks (Debian package ant-contrib)
*JavaCC (Debian package javacc)
+*VCS clients: svn, git, hg, bzr
*A keystore for holding release keys. (Safe, secure and well backed up!)
You then need to create a config.py (copy config.sample.py and follow the
specified, automatic building is disabled for this application. Possible
values are:
- git, svn, hg
+ git, svn, hg, bzr
==Repo==
if subprocess.call(['hg', 'clone', repo, build_dir]) !=0:
print "Hg clone failed"
sys.exit(1)
+ elif app['repotype'] == 'bzr':
+ if subprocess.call(['bzr', 'branch', repo, build_dir]) !=0:
+ print "Bzr branch failed"
+ sys.exit(1)
else:
print "Invalid repo type " + app['repotype'] + " in " + app['id']
sys.exit(1)
cwd=build_dir) != 0:
print "Hg checkout failed"
sys.exit(1)
-
+ elif app['repotype'] == 'bzr':
+ if subprocess.call(['bzr', 'revert', '-r', thisbuild['commit']],
+ cwd=build_dir) != 0:
+ print "Bzr revert failed"
+ sys.exit(1)
else:
print "Invalid repo type " + app['repotype']
sys.exit(1)