[Buildbot-devel] Build Properties through the DB / data API

Dustin J. Mitchell dustin at v.igoro.us
Mon Nov 24 00:13:10 UTC 2014


Regarding duplication -- I don't think it needs to be solved now, but
we could later build a `properties` table containing key, value, and
source, and do some select-then-insert to catch duplicates.  Then
buildset and build properties would just be many-to-many tables.

Dustin

On Sat, Nov 22, 2014 at 12:01 PM, Pierre Tardy <tardyp at gmail.com> wrote:
>> Could you elaborate on that ? Split the 'source' from the value, but
>> don't make it a String, make it a foreign key ? Introduce a
>> properties_source table ?
>
> I don't think its really worth to try to de de-duplicate the source values.
> Its already duplicated in the jdon anyway.
> This would be an easy fix anyway, if somebody feels the need to optimize
> such queries.
>
>
>>
>> Do we query properties based on source that
>> often ?
>
> No, I think the source data is really for the user to debug its
> configuration.This is really informational in the UI, AFAIK
>
>> Now, I believe you're talking about the web part, right ? You want to
>> support showing the current (changing) value of the property value in
>> real-time on the build page ?
> I would like that indeed. I don't now yet how we can propagate properties
> change in real time, given the current data model
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> 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