[Buildbot-devel] SQL question

Mark MacVicar mark.macvicar at gmail.com
Wed Jul 16 19:26:46 UTC 2008


disclaimer: I am new to python

So I managed to get some help and learn enough python to write out
build and step data to a MySQL database. I added some code to
buildbot.process.base.buildFinished write out build and step
information (it is only writing data not reading it back).

>From my perspective, this works great. My question is: How should I
have done it?

Thanks,

Mark MacVicar

On Fri, Jun 20, 2008 at 5:18 PM, Mark MacVicar <mark.macvicar at gmail.com> wrote:
> I have not had experience dealing with pickling operations, but I will
> look into that.
>
> I was thinking more of modifying the log files to include build status
> for info such as builder, revision #, buildstep, etc... in the log
> files as comma separated values and read that into a database.
>
> My goal was to be able to track our results across multiple builds,
> most importantly for tests that aren't binary (e.g., performance).
>
> Thank you for the suggestions,
>
> Mark MacVicar
>
> On Thu, Jun 19, 2008 at 1:37 PM, Joseph Carrafa <jcarrafa at highergear.com> wrote:
>> did you try starting by just intercepting all of the pickling operations?
>>
>> On Jun 19, 2008, at 4:30 PM, Dustin J. Mitchell wrote:
>>
>>> On Thu, Jun 19, 2008 at 4:13 PM, Mark MacVicar <mark.macvicar at gmail.com>
>>> wrote:
>>>>
>>>> I saw this item in the Buildbot Trac system
>>>> http://buildbot.net/trac/ticket/24. Has anyone played around with
>>>> storing build results into a database?
>>>
>>> It's a very, very, very deep rabbit-hole.
>>>
>>> I did some work on it a while ago, but ran into a lot of trouble with
>>> the distinction between status and process objects.
>>>
>>> I didn't find any "incremental" way to approach the problem.
>>>
>>> Dustin
>>>
>>> --
>>> Storage Software Engineer
>>> http://www.zmanda.com
>>>
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://sourceforge.net/services/buy/index.php
>>> _______________________________________________
>>> Buildbot-devel mailing list
>>> Buildbot-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>>
>




More information about the devel mailing list