<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>We're at an early stage in our migration from buildbot 0.8.12 to
0.9.10. The new About web page currently shows</p>
<blockquote>Python version: 3.6.1<br>
Buildbot version: 0.9.10<br>
Twisted version: 17.5.0<br>
</blockquote>
<p>A few questions arise. Does <br>
</p>
<p><tt>c['db'] = { 'db_url' : "sqlite:///state.sqlite", }</tt></p>
<p>in the 0.9.10 master.cfg need to point to different URLs in order
for 0.8.12 and 0.9.10 to both run concurrently without conflict?
Currently, both master.cfg files (for 0.9.10 and 0.8.12) specify
the same URL, the default from creating the buildbot master.<br>
</p>
<p> <br>
Also, in editing the master.cfg file to tweak the new web pages,
I've goofed something up, not sure what, with the result that the
Force Build button no longer appears on the Builders web page (nor
on any other page). This was the link to invoke a
schedulers.ForceScheduler(...). The link appeared in an early
test, but vanished after I made some changes and restarted the
buildbot. I can't seem to get it back, and I'm not sure what I
did that made it go away.</p>
<p>Any ideas how to restore that link?</p>
<p>I was editing in this section of code from master.cfg:</p>
<p><tt>force_scheduler = schedulers.ForceScheduler(</tt><tt><br>
</tt><tt> name="user_forced",</tt><tt><br>
</tt><tt> builderNames=all_gpsii_builders,</tt><tt><br>
</tt><tt><br>
</tt><tt> # will generate a text input</tt><tt><br>
</tt><tt>
reason=util.StringParameter(name="reason",label="reason:<br/>",</tt><tt><br>
</tt><tt>
required=True, size=80),</tt><tt><br>
</tt><tt><br>
</tt><tt> codebases=[</tt><tt><br>
</tt><tt>
util.CodebaseParameter(</tt><tt><br>
</tt><tt> "",</tt><tt><br>
</tt><tt> name="Main
repository",</tt><tt><br>
</tt><tt><br>
</tt><tt> # will generate
a combo box</tt><tt><br>
</tt><tt>
branch=util.ChoiceStringParameter(</tt><tt><br>
</tt><tt>
name="branch",</tt><tt><br>
</tt><tt>
choices=["trunk", "devel"],</tt><tt><br>
</tt><tt>
default="trunk"),</tt><tt><br>
</tt><tt><br>
</tt><tt> # will generate
nothing in the form, but revision, repository,</tt><tt><br>
</tt><tt> # and project
are needed by buildbot scheduling system so we</tt><tt><br>
</tt><tt> # need to pass
a value ("")</tt><tt><br>
</tt><tt>
revision=util.FixedParameter(name="revision", default=""),</tt><tt><br>
</tt><tt>
repository=util.FixedParameter(name="repository", default=""),</tt><tt><br>
</tt><tt>
project=util.FixedParameter(name="project", default=""),</tt><tt><br>
</tt><tt> ),</tt><tt><br>
</tt><tt> ],</tt><tt><br>
</tt><tt><br>
</tt><tt> # in case you dont require
authentication this will display</tt><tt><br>
</tt><tt> # input for user to type his name</tt><tt><br>
</tt><tt> #
username=util.UserNameParameter(label="your name:<br/>",
size=80),</tt><tt><br>
</tt><tt><br>
</tt><tt> # A completely customized
util.Property list. The name of the</tt><tt><br>
</tt><tt> # util.Property is the name of
the parameter</tt><tt><br>
</tt><tt> properties=[</tt><tt><br>
</tt><tt>
util.BooleanParameter(name="force_build_clean",</tt><tt><br>
</tt><tt>
label="force a make clean", default=False),</tt><tt><br>
</tt><tt>
#util.StringParameter(name="pull_url",</tt><tt><br>
</tt><tt> #
label="optionally give a public Git pull url:<br>",</tt><tt><br>
</tt><tt> #
default="", size=80)</tt><tt><br>
</tt><tt> ]</tt><tt><br>
</tt><tt> )</tt><tt><br>
</tt><br>
</p>
<pre class="moz-signature" cols="72">--
Greg Bullock
<a class="moz-txt-link-abbreviated" href="mailto:greg@nwra.com">greg@nwra.com</a></pre>
</body>
</html>