[Buildbot-devel] Looking for suggestions (TrySchedulers - Buildbot 0.9)

Pierre Tardy tardyp at gmail.com
Wed Jan 28 11:19:13 UTC 2015


You can have a look at chrome developer tools (network tab) to see the use
of REST api.
The url you should use is:
http://nine.buildbot.net/api/v2/builders/1

in
http://nine.buildbot.net/#/about
You have a formal description of all REST apis

There are all straighforward mapping the internal 'data' api, which is
described here:
http://docs.buildbot.net/latest/developer/data.html

HTH
Pierre


Le Wed Jan 28 2015 at 12:11:16 PM, Francesco Di Mizio <
francescodimizio at gmail.com> a écrit :

> Hey Pierre,
>
> Thanks a lot for the kind reply.
>
> That's good news. I can probably do without those missing features.
>
> The part I am mostly interested in as I said above is
> http://docs.buildbot.net/latest/developer/www.html , in particual the
> rest api. I've given it a try with something simple against
> nine.buildbot.net.
> According to that page http://nine.buildbot.net/#/api/v2/builder/1 should
> return me something meaningdul while I only get redirected to Home.
>
>
>
>
>
> On Wed, Jan 28, 2015 at 11:33 AM, Pierre Tardy <tardyp at gmail.com> wrote:
>
>> Hi Francesco,
>>
>> For me, master branch is really useable for small and medium use cases.
>>
>> There are a few feature missing (rebuild, stop builds, authorization
>> framework, log compression),  that are preventing us to release a first
>> version. I would estimate something like 3-4 mm of work to finish this make
>> sure it is stable. The thing is that this project has no full time
>> developer working on it, so its hard to get an ETA.
>>
>> I would advise you to start your work on master branch, and if there are
>> bottlenecks, we can help you fix them or you can decide to switch back to
>> eight later.
>> There are very few change in configuration API between eight and nine, so
>> the work you do on nine can be reused on eight platform with very few
>> adjustments.
>>
>>
>>
>> Le Wed Jan 28 2015 at 11:09:36 AM, Francesco Di Mizio <
>> francescodimizio at gmail.com> a écrit :
>>
>>> I wouldn't mind using it and file issues. In this case I'd have to know
>>> an (even very imprecise) ETA  for 0.9 to be stable/released.
>>> What I am really looking forward to is the API that's coming with 0.9,
>>> it seems to be entirely missing on 0.8. Would this be a 0.9 feature already
>>> functioning ok?
>>>
>>>
>>>
>>>
>>>
>>> On Sun, Jan 25, 2015 at 4:39 AM, Dustin J. Mitchell <dustin at v.igoro.us>
>>> wrote:
>>>
>>>> There are a few folks out there using 'master' right now, but it's
>>>> still early days.  It's very helpful for us to get early feedback, but
>>>> if you were to use it you'd definitely find yourself doing so :)
>>>>
>>>> Dustin
>>>>
>>>> On Wed, Jan 21, 2015 at 10:31 AM, Francesco Di Mizio
>>>> <francescodimizio at gmail.com> wrote:
>>>> > Thanks Dustin,
>>>> >
>>>> > that's what I thought too. I'll go the custom/scripting way.
>>>> >
>>>> > What about (copy and paste from above)
>>>> >
>>>> > Also I've been following http://nine.buildbot.net/#/ with interest.
>>>> Since
>>>> > it's going to take a while to set all up, can it make sense for me to
>>>> start
>>>> > off with 0.9 directly? Any idea as to when 0.9 might be out?
>>>> >
>>>> > Cheers,
>>>> >  Francesco
>>>> >
>>>> >
>>>> >
>>>> > On Mon, Jan 19, 2015 at 5:25 PM, Dustin J. Mitchell <
>>>> dustin at v.igoro.us>
>>>> > wrote:
>>>> >>
>>>> >> Yes, at the moment the try schedulers have a fairly intricate
>>>> >> interface with Buildbot via Perspective Broker.  If you didn't want
>>>> to
>>>> >> install Buildbot, but were comfortable installing Twisted and some
>>>> >> custom Python code, you could emulate `buildbot try` without too much
>>>> >> difficulty.
>>>> >>
>>>> >> Dustin
>>>> >>
>>>> >> On Fri, Jan 16, 2015 at 9:20 AM, Francesco Di Mizio
>>>> >> <francescodimizio at gmail.com> wrote:
>>>> >> > Hello there,
>>>> >> >
>>>> >> > in the past at the company I was working for we used to have a
>>>> buildbot
>>>> >> > based system mainly used for CL validation (making sure it compiles
>>>> >> > before
>>>> >> > checking it in).
>>>> >> >
>>>> >> > This was based on a minimalistic webpage that would in turn call
>>>> some
>>>> >> > buildbot python api to a add a change to BB (it might have been
>>>> >> > addSourceStamp) so that it would show up on the left side of the
>>>> >> > waterfall.
>>>> >> > The schedulers being used were AnyBranchSchedulers. Without a
>>>> successful
>>>> >> > 'test' a p4 trigger would prevent you from checking in.
>>>> >> >
>>>> >> > That approach can somehow be compared to
>>>> >> >
>>>> >> >
>>>> https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/master/try_job_base.py
>>>> >> >
>>>> >> > I've then noticed that Buildbot comes with TrySchedulers. I am now
>>>> in
>>>> >> > the
>>>> >> > middle of setting up something very similar to what I described
>>>> above
>>>> >> > and
>>>> >> > was wondering if I can get away with it by using TrySchdulers.
>>>> >> >
>>>> >> > As far as I understand by reading the docs, a developer needs to
>>>> run
>>>> >> > 'buildbot try', which I'd assume requires buildbot to be set up on
>>>> their
>>>> >> > machine, which is a requirement I would like to avoid. Please
>>>> correct me
>>>> >> > if
>>>> >> > I am wrong.
>>>> >> >
>>>> >> > Also I've been following http://nine.buildbot.net/#/ with
>>>> interest.
>>>> >> > Since
>>>> >> > it's going to take a while to set all up, can it make sense for me
>>>> to
>>>> >> > start
>>>> >> > off with 0.9 directly?
>>>> >> >
>>>> >> > Cheers,
>>>> >> >  Francesco
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> ------------------------------------------------------------------------------
>>>> >> > New Year. New Location. New Benefits. New Data Center in Ashburn,
>>>> VA.
>>>> >> > GigeNET is offering a free month of service with a new server in
>>>> >> > Ashburn.
>>>> >> > Choose from 2 high performing configs, both with 100TB of
>>>> bandwidth.
>>>> >> > Higher redundancy.Lower latency.Increased capacity.Completely
>>>> compliant.
>>>> >> > http://p.sf.net/sfu/gigenet
>>>> >> > _______________________________________________
>>>> >> > Buildbot-devel mailing list
>>>> >> > Buildbot-devel at lists.sourceforge.net
>>>> >> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>>> >> >
>>>> >
>>>> >
>>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Dive into the World of Parallel Programming. The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. Take
>>> a
>>> look and join the conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> Buildbot-devel mailing list
>>> Buildbot-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150128/76443eb7/attachment.html>


More information about the devel mailing list