[Buildbot-devel] SQL question

Mark MacVicar mark.macvicar at gmail.com
Wed Jul 23 02:01:52 UTC 2008


On Wed, Jul 16, 2008 at 12:45 PM, Dustin J. Mitchell <dustin at zmanda.com> wrote:
> On Wed, Jul 16, 2008 at 3:26 PM, Mark MacVicar <mark.macvicar at gmail.com> wrote:
>> >From my perspective, this works great. My question is: How should I
>> have done it?
>
> Without seeing the code, it's hard to criticize what you've done :)

Heh, that's why I didn't post it. ;-)

But seriously, all I'm doing it building a dictionary of
build_status.properties and step data that I care about and recording
it into my database.

>
> From what you've said, though, and from what work I've done on the
> topic, your solution is probably not general enough (yet!) to be
> accepted into the codebase, for a few reasons.  First, it stores the
> information redundantly, both in buildbot's pickles and in MySQL;
> second, none of the status plugins read back from this data.
>
> I'm not necessarily encouraging you to try to build a full solution.
> I tried, and it just got really, really ugly.
>
> Dustin
>
> --
> Storage Software Engineer
> http://www.zmanda.com
>

Thanks for the advice. I wasn't planning on a full solution, I was
just expecting someone to say that I should create a subclass of
SomethingOrOther instead of modifying build.Finished.

Thanks,

Mark MacVicar




More information about the devel mailing list