[Buildbot-devel] Fwd: Nodejs with python

Dustin J. Mitchell dustin at v.igoro.us
Wed Jun 5 01:27:37 UTC 2013

On Wed, May 29, 2013 at 10:07 AM, Pierre Tardy <tardyp at gmail.com> wrote:
> We are using angularjs framework to do the data binding in the browser.
> Then the model if fetched via the new REST api of buildbot nine, and updated
> via SSE.
> You can find a bit more information here:
> https://github.com/buildbot/buildbot/blob/nine/master/docs/developer/www.rst
> a proof of concept of this mechanics is available here:
> https://github.com/buildbot/buildbot/blob/nine/www/src/scripts/services/buildbotService.coffee
> But I dont like the api it is providing.
> I'd like to have an api similar to restangular:
> https://github.com/mgonto/restangular
> which does not have automatic update via SSE
> so I'd like to have a similar technic that is used in FireBase angular
> bindings:
> https://github.com/firebase/angularFire
> so this will do something like
> buildbotService.get("builders").get(1234).get("logs").getAll($scope, 'logs')
> or maybe:
> buildbotService.builders().get(1234).logs().getAll($scope, 'logs')
> if I do the getattr syntax sugar trick.
> (I'd like to have other devs feedback on this, before I start)
> Regards,
> Pierre

Simon, did you have any thoughts here?  Buildbot lacks frontend
experience, in general, and Pierre and I are looking for all the
advice and assistance we can get from folks more familiar than us.
Your email footer suggests you may be one such person!


More information about the devel mailing list