Hi Chris.

There is a custom_templates_dir option described in
https://docs.buildbot.net/latest/manual/cfg-www.html#web-server
The documentation is actually quite sparse, and we could use a more
detailled guide on how to use it :-/

In order to achieve all the real-time features, the angularJS has to be
more complex than what we had before.

You can customize the templates, but you cannot customize what the JS
requests as for the details per builds.
As per the requirements you are describing, this is not possible by solely
customizing the template

following line:

https://github.com/buildbot/buildbot/blob/master/www/base/src/app/builders/builders.controller.coffee#L106
has to be changed

        builds = data.getBuilds(limit: 200, order: '-started_at')
->
        builds = data.getBuilds(property: "branch", limit: 200, order:
'-started_at')

by using the property information has described in the rest doc
http://docs.buildbot.net/latest/developer/rest.html#build

It would be nice to have buildbot support this to be more or less
configurable (maybe a list of properties that can be configurable in
settings page, and which will be queried automatically)
as everybody maybe have different property he or she would like to see in
the builder page.
We cannot display or query all properties, as this would have significant
performance impact.

HTH,
Pierre


On Thu, Feb 23, 2017 at 5:57 AM Chris Spencer <chriss...@gmail.com> wrote:

> How do you customize the template that lists a builder's ongoing and
> pending builds? (e.g. http://mybuildbotserver.com/#/builders/1)
>
> I'd like to add a column that lists the branch name, which is otherwise
> only visible under the build's "Build Properties" tab.
>
> I remember seeing some guides on customizing templates in version 0.8*,
> but the current doc's page on customization (
> http://docs.buildbot.net/latest/manual/customization.html) doesn't
> mention this anymore.
> _______________________________________________
> users mailing list
> users@buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
_______________________________________________
users mailing list
users@buildbot.net
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to