[Buildbot-devel] Questions: edit the standard pages and use osx server to serve Buildbot pages trough it

Fulvio Cervone fcervone at me.com
Thu Jan 27 08:26:17 UTC 2011


Hi all

I am finally able to run my Buildbot without too many problems, but now would like to customize a bit the pages, and I am not sure where the templates lives.

I tried to look in the buildbot download folder (basically the decompressed archive downloaded from the BB site)  and i see templates, but when i modify them they do not change anything on my main page.

>From the documentation I've read that the /templates overrides the folder inside the buildmaster location, so I tried to look for this /templates,and the only folder that came up in the search is the one with the templates in my BB folder, the ones that contains the installer, docs and sources that you download from the website, nothing else (or i am not looking in the right place).

All that i wanna do is to use a custom html page as landing/home, to replace the standard one (and probably a custom view for the reports and build views, but this is not top priority right now, compared to the custom main page); I've also tried to drop an html file in the folder where the web files should go (in my buildmaster directory), but seems that the file loaded is still the generic template, and not the one that i have dropped in the folder (the name of the html file was either index.html or root.html, neither loaded).

I am sure that it must be one of these gotcha that will make me slap my forehead, but as now i cannot find a single info about the location of the files on the manual; just the info that the custom files should be in the buildbot subfolder where the css file for the waterfall view and the robots.txt file are located, and that there is a /templates folder somewhere that override this folder. Any pointer is more than welcome.

The second question is related somehow to the first....I am trying to use that custom page to be displayed trough OSX server (basically my main machine where the master buildbot runs is a snow leopard server edition, so when i start the web service i get the OSX server page instead of the buildbot page, while i would like to configure it so when i type the url that is assigned to the ip of my server, the buildbot page will show up, not the OSX server) then the next step will be to put everything on 443, but this is not urgent thou. 

I've read the manual and i have seen brief indications about the use of the c['status']; that is what i use to tell the master where to show the waterfall page and on which port, but other than that is kinda hard to figure out where in fact the web server is running and how; it is designed to run without apache i guess, but this makes things harder if you wanna put your BB behind apache,

Again, any pointer to any bits of information will be more than appreciated; sadly the documentation on customizing and web settings could be a little bit more helpful so I would avoid to ask probably a very simple question.

Thanks!




More information about the devel mailing list