Hello, I'm trying to setup a buildbot here for our buildout based packages. What I don't get is, how that works: f.addStep(Compile(name='bootstrap', command='buildout bootstrap .', description=['bootstrapping'], descriptionDone=['bootstrap'])) We used to issue "python2.4 bootstrap.py", "buildout bootstrap ." gives an error, unless I'm missing something. Also, I'd propose some enhancements too: -def configure(svn_url, http_port=8010, allowForce=False): +def configure(svn_url, svnuser=None, svnpasswd=None, http_port=8010,allowForce=False, poller=None): """Creates a buildout master configuration. The configuration returned is almost functional. You just need to add slaves. """ c = {} c['slavePortnum'] = 8989 - c['change_source'] = SVNPoller(svn_url, split_file=split_file, pollinterval=30) + if poller: + c['change_source'] = poller + else: + c['change_source'] = SVNPoller(svn_url, svnuser=svnsuer, svnpasswd=svnpasswd, split_file=split_file, pollinterval=30) Christian, opinions? Where to make those changes? -- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: "Life is 10% of what happens to you and 90% of how you respond to it."
Adam GROSZER wrote:
We used to issue "python2.4 bootstrap.py", "buildout bootstrap ." gives an error, unless I'm missing something.
I'm not familiar with Christian's work with bsquare, but suspect giving him the actual error message would be helpful. -- Benji York Senior Software Engineer Zope Corporation
Hello, It's real simple: in dir /home/agroszer/buildbot/slave/cache/build (timeout 1200 secs) watching logfiles {} argv: ['/bin/sh', '-c', 'buildout bootstrap .'] environment: ... closing stdin using PTY: True /bin/sh: line 1: buildout: command not found program finished with exit code 127 Thursday, April 3, 2008, 2:21:50 PM, you wrote: BY> Adam GROSZER wrote:
We used to issue "python2.4 bootstrap.py", "buildout bootstrap ." gives an error, unless I'm missing something.
BY> I'm not familiar with Christian's work with bsquare, but suspect giving BY> him the actual error message would be helpful. -- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: If you want to know how old a man is, ask his brother-in-law.
I think the problem you are having is that buildout Is not installed on your system. I'm not sure what the buildout bootstrap command does but I imagine it is a replacement for the bootstrap.py script. Personally, I think bootstrap.py should be used when it is available. I like your suggested changes and I'd like to add some more. It would be really cool if bsquare could see that buildout.cfg is using "develop" packages and somehow how check the develop packages out automatically. It would also be nice to parse the dependencies of a package and rebuild it whenever a dependency is rebuilt. Finally my last wish is that bsquare can be used without installing buildbot or twisted on the system. That would mean depending on buildbot and zope.app.twisted and adding console script entry points for the relevant command line scripts they provide. I've been meaning to make some of these changes in pcardune-setup branch but haven't had a lot of time. - Paul On Apr 3, 2008, at 3:39 AM, Adam GROSZER <agroszer@gmail.com> wrote:
Hello,
I'm trying to setup a buildbot here for our buildout based packages.
What I don't get is, how that works: f.addStep(Compile(name='bootstrap', command='buildout bootstrap .', description=['bootstrapping'], descriptionDone=['bootstrap']))
We used to issue "python2.4 bootstrap.py", "buildout bootstrap ." gives an error, unless I'm missing something.
Also, I'd propose some enhancements too:
-def configure(svn_url, http_port=8010, allowForce=False): +def configure(svn_url, svnuser=None, svnpasswd=None, http_port=8010,allowForce=False, poller=None): """Creates a buildout master configuration.
The configuration returned is almost functional. You just need to add slaves.
""" c = {} c['slavePortnum'] = 8989 - c['change_source'] = SVNPoller(svn_url, split_file=split_file, pollinterval=30) + if poller: + c['change_source'] = poller + else: + c['change_source'] = SVNPoller(svn_url, svnuser=svnsuer, svnpasswd=svnpasswd, split_file=split_file, pollinterval=30)
Christian, opinions? Where to make those changes?
-- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: "Life is 10% of what happens to you and 90% of how you respond to it."
_______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Hello Paul, Having the same ideas here. I'll improve if you don't mind. Thursday, April 3, 2008, 6:35:01 PM, you wrote: PC> I think the problem you are having is that buildout Is not installed PC> on your system. I'm not sure what the buildout bootstrap command does PC> but I imagine it is a replacement for the bootstrap.py script. PC> Personally, I think bootstrap.py should be used when it is available. PC> I like your suggested changes and I'd like to add some more. It would PC> be really cool if bsquare could see that buildout.cfg is using PC> "develop" packages and somehow how check the develop packages out PC> automatically. It would also be nice to parse the dependencies of a PC> package and rebuild it whenever a dependency is rebuilt. Finally my PC> last wish is that bsquare can be used without installing buildbot or PC> twisted on the system. That would mean depending on buildbot and PC> zope.app.twisted and adding console script entry points for the PC> relevant command line scripts they provide. I've been meaning to make PC> some of these changes in pcardune-setup branch but haven't had a lot PC> of time. PC> - Paul PC> On Apr 3, 2008, at 3:39 AM, Adam GROSZER <agroszer@gmail.com> wrote:
Hello,
I'm trying to setup a buildbot here for our buildout based packages.
What I don't get is, how that works: f.addStep(Compile(name='bootstrap', command='buildout bootstrap .', description=['bootstrapping'], descriptionDone=['bootstrap']))
We used to issue "python2.4 bootstrap.py", "buildout bootstrap ." gives an error, unless I'm missing something.
Also, I'd propose some enhancements too:
-def configure(svn_url, http_port=8010, allowForce=False): +def configure(svn_url, svnuser=None, svnpasswd=None, http_port=8010,allowForce=False, poller=None): """Creates a buildout master configuration.
The configuration returned is almost functional. You just need to add slaves.
""" c = {} c['slavePortnum'] = 8989 - c['change_source'] = SVNPoller(svn_url, split_file=split_file, pollinterval=30) + if poller: + c['change_source'] = poller + else: + c['change_source'] = SVNPoller(svn_url, svnuser=svnsuer, svnpasswd=svnpasswd, split_file=split_file, pollinterval=30)
Christian, opinions? Where to make those changes?
-- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: "Life is 10% of what happens to you and 90% of how you respond to it."
_______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
-- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: If at first you don't succeed, give up, no use being a damn fool.
participants (3)
-
Adam GROSZER -
Benji York -
Paul Carduner