Rev 56: Unify the way we get bzr sources. in file:///home/vila/buildbot/bzr/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon Aug 17 10:38:34 BST 2009
At file:///home/vila/buildbot/bzr/
------------------------------------------------------------
revno: 56
revision-id: v.ladeuil+lp at free.fr-20090817093834-7j8hqn27zsah1jh4
parent: v.ladeuil+lp at free.fr-20090817084007-2k6zjbzro7dgh8h7
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: bzr
timestamp: Mon 2009-08-17 11:38:34 +0200
message:
Unify the way we get bzr sources.
* master/master.cfg:
(BzrSource): Define getting bzr sources in a single place.
-------------- next part --------------
=== modified file 'master/master.cfg'
--- a/master/master.cfg 2009-08-17 08:40:07 +0000
+++ b/master/master.cfg 2009-08-17 09:38:34 +0000
@@ -97,6 +97,17 @@
transfer,
)
+
+class BzrSource(source.Bzr):
+
+ def __init__(self):
+ source.Bzr.__init__(baseURL=bzr_base_URL,
+ defaultBranch='trunk',
+ # Keep room for initial checkout when needed
+ timeout=3600,
+ )
+
+
class BzrBuildExtensions(shell.ShellCommand):
name = 'Extensions building'
@@ -136,11 +147,7 @@
tests_factory = factory.BuildFactory()
-tests_factory.addStep(
- source.Bzr(baseURL=bzr_base_URL,
- defaultBranch='trunk',
- timeout=3600, # Keep room for initial checkout when needed
- ))
+tests_factory.addStep(BzrSource())
tests_factory.addStep(BzrBuildExtensions())
# We don't specify LANG here, each slave has its own default value
tests_factory.addStep(BzrSelftest())
@@ -180,11 +187,7 @@
combi = '%s-%s' % (bzr_target, plugin_target)
name = 'installer-%s' % (combi,)
steps = [
- source.Bzr(baseURL=bzr_base_URL,
- defaultBranch='trunk',
- mode="update", alwaysUseLatest=True,
- timeout=3600,
- ),
+ BzrSource(),
shell.Compile(
command=["make", "installer-all",
r"BZR_TARGET=%s" % bzr_target,
More information about the bazaar-commits
mailing list