projects
/
buildbot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
phase1: initialize source.git on first start
[buildbot.git]
/
phase1
/
master.cfg
diff --git
a/phase1/master.cfg
b/phase1/master.cfg
index 89243ffb214550bcb56a742b61be601769300c95..4ff4ced47dc6ac2fda8286e5006d4db6a761e02f 100644
(file)
--- a/
phase1/master.cfg
+++ b/
phase1/master.cfg
@@
-82,6
+82,9
@@
if ini.has_option("gpg", "passfile"):
# find targets
targets = [ ]
# find targets
targets = [ ]
+if not os.path.isdir(home_dir+'/source.git'):
+ subprocess.call(["git", "clone", "--depth=1", repo_url, home_dir+'/source.git'])
+
findtargets = subprocess.Popen([home_dir+'/dumpinfo.pl', 'targets'],
stdout = subprocess.PIPE, cwd = home_dir+'/source.git')
findtargets = subprocess.Popen([home_dir+'/dumpinfo.pl', 'targets'],
stdout = subprocess.PIPE, cwd = home_dir+'/source.git')