[Buildbot-devel] wrong source svn number

Stephen Davis buildbot at soundgeek.org
Mon Dec 10 16:47:15 UTC 2007


Have you tried adding "alwaysUseLatest=True" to your second/third  
source.SVN steps?  From the docs:

alwaysUseLatest
	if True, bypass the usual “update to the last Change” behavior, and  
always update to the latest changes instead.

hth,
stephen

On Dec 10, 2007, at 3:10 AM, Terry.Rankine at csiro.au wrote:

> Hi
>
> I have been using bb0.7.6 and think its really starting to develope  
> into a good builder environment.
>
> I am not sure how to use it for code with 'dependancies' also housed  
> in subversion.
>
> We are using the svn poller to trigger builds, and it almost works,  
> just not how  I want it too.
>
> I can trigger the auto build (something smart should appear in the  
> build reason in the email - thats another issue) which should check  
> out the right version number for my source, and then i want it to  
> grab the HEAD of the other repos (they have different version  
> numbers) but it uses the same version number from the checkin. How  
> do i make it use the head for the second 2 sources?
>
> builders = []
> PmdPyGCScons = factory.BuildFactory()
> PmdPyGCScons.addStep(source.SVN, svnurl="https://cgsrv1.arrc.csiro.au/subversion/fastfloRT/SiroPyGC/trunk/ 
> ",haltOnFailure=True,warnOnWarnings=True, mode='clobber')
> PmdPyGCScons.addStep(source.SVN, svnurl="https://cgsrv1.arrc.csiro.au/subversion/swframeutils/thirdParty/boost_1_33/trunk/ 
> ",haltOnFailure=True,warnOnWarnings=True, directory="boost-1.33")
> PmdPyGCScons.addStep(source.SVN, svnurl="https://cgsrv1.arrc.csiro.au/subversion/swframeutils/thirdParty/cppunit/trunk/ 
> ",haltOnFailure=True,warnOnWarnings=True, directory="cppunit")
>
> Terry





More information about the devel mailing list