Using the numpy buildbot for svn branches ?
Hi, I have a first prototype ready for scons support in numpy.distutils in a numpy svn branch, and would like to test it on as many configurations as possible to see whether my design is OK. Is it possible to add a branch to the buildbot ? Thanks, David
David Cournapeau wrote:
Hi,
I have a first prototype ready for scons support in numpy.distutils in a numpy svn branch, and would like to test it on as many configurations as possible to see whether my design is OK. Is it possible to add a branch to the buildbot ?
I think you can run build in buildbot by specifying branch and revision number directly in buildbot.scipy.org site. Just click on the name of a buildbot machine (eg `Linux x86_64 Ubuntu`) and you should get the corresponing dialog. HTH, Pearu
Pearu Peterson wrote:
David Cournapeau wrote:
Hi,
I have a first prototype ready for scons support in numpy.distutils in a numpy svn branch, and would like to test it on as many configurations as possible to see whether my design is OK. Is it possible to add a branch to the buildbot ?
I think you can run build in buildbot by specifying branch and revision number directly in buildbot.scipy.org site. Just click on the name of a buildbot machine (eg `Linux x86_64 Ubuntu`) and you should get the corresponing dialog.
Thanks Pearu, there is indeed such a dialog, I just didn't think it would be possible to use the buildbot without any kind of login/pass. But unfortunately, I don't seem to get how to set up a different url: if I use branches/numpy.scons as a branch name, it does not work (there are two failed builds because of unfound url), and if I set the whole url (http://svn.scipy.org/svn/numpy/branches/numpy.scons), nothing seems to happen. cheers, David
Thanks Pearu, there is indeed such a dialog, I just didn't think it would be possible to use the buildbot without any kind of login/pass.
That's one of the drawbacks of buildbot. But unfortunately, I don't seem to get how to set up a different url: if
I use branches/numpy.scons as a branch name, it does not work (there are two failed builds because of unfound url), and if I set the whole url (http://svn.scipy.org/svn/numpy/branches/numpy.scons), nothing seems to happen.
It should have worked with the first solution. Did you try "trunk", to see if it works ? Is there somewhere the configuration file of the buildbot ? with this line for the SVN step, it should work : factory.addStep(SVN, baseURL="http://svn.scipy.org/svn/numpy/", defaultBranch="trunk") Matthieu
Matthieu Brucher wrote:
Thanks Pearu, there is indeed such a dialog, I just didn't think it would be possible to use the buildbot without any kind of login/pass.
That's one of the drawbacks of buildbot.
But unfortunately, I don't seem to get how to set up a different url: if I use branches/numpy.scons as a branch name, it does not work (there are two failed builds because of unfound url), and if I set the whole url (http://svn.scipy.org/svn/numpy/branches/numpy.scons http://svn.scipy.org/svn/numpy/branches/numpy.scons), nothing seems to happen.
It should have worked with the first solution. Did you try "trunk", to see if it works ?
Is there somewhere the configuration file of the buildbot ? with this line for the SVN step, it should work :
factory.addStep(SVN, baseURL="http://svn.scipy.org/svn/numpy/", defaultBranch="trunk") I don't know if this is relevant, but in the html generated from the
It does not seem to work with only trunk. trace, there is the following (http://buildbot.scipy.org/Linux%20x86%20Ubuntu/builds/131/step-svn/0) svnurl 'http://scipy.org/svn/numpy/trunk' Locals branch 'branches/numpy.scons' Which may indicate that trunk is hardcoded in the svn url ?
It should have worked with the first solution. Did you try "trunk", to see if it works ?
It does not seem to work with only trunk. This should have worked if the buildbot was setup to work with branches (or even tags, for that matter).
I don't know if this is relevant, but in the html generated from the trace, there is the following (http://buildbot.scipy.org/Linux%20x86%20Ubuntu/builds/131/step-svn/0)
svnurl 'http://scipy.org/svn/numpy/trunk' Locals branch 'branches/numpy.scons'
Which may indicate that trunk is hardcoded in the svn url ?
According to the documentation, either svnurl or baseURL should be used, not both. And to use branches, baseURL must be used, so we have our answer :( Matthieu
On Mon, Sep 24, 2007 at 09:05:57PM +0900, David Cournapeau wrote:
It should have worked with the first solution. Did you try "trunk", to see if it works ? It does not seem to work with only trunk. Is there somewhere the configuration file of the buildbot ? with this line for the SVN step, it should work :
factory.addStep(SVN, baseURL="http://svn.scipy.org/svn/numpy/", defaultBranch="trunk") I don't know if this is relevant, but in the html generated from the trace, there is the following (http://buildbot.scipy.org/Linux%20x86%20Ubuntu/builds/131/step-svn/0)
svnurl 'http://scipy.org/svn/numpy/trunk' Locals branch 'branches/numpy.scons'
Which may indicate that trunk is hardcoded in the svn url ?
It is numpy's buildmaster, so nothing is set in stone :) I modified the configuration file; looks like it is working. I left the debug interface online, to see how things go. If we have abuse from outside, we shall have to switch it off again, but in the meantime it remains a very useful tool. Also, remember that some of the buildclients are personal workstations, so be conservative in triggering builds. Cheers Stéfan
participants (5)
-
David Cournapeau
-
David Cournapeau
-
Matthieu Brucher
-
Pearu Peterson
-
Stefan van der Walt