|
Re: buildbotURL: msg#00009python.buildbot.devel
> Could I get some clarification about what buildbotURL does please. The > default master.cfg file has the following description but I think there > is a mistake. I think that description is correct, although it should refer to the html.Waterfall object rather than a vague "internal web server". c['buildbotURL'] is meant to tell people how to get to the Waterfall display (or, to be precise, to get to the buildbot's HTML status page.. at the moment this is the same as the waterfall display, but eventually we'll have a front-page that has Waterfall and other kinds of status displays hanging off of it). You should give it whatever value you would type into a web browser to get at the Waterfall page. The Waterfall() object is frequently created with an http_port= argument that tells it what TCP port to listen on, however in general it *cannot* deduce what URL might point to itself. "http://%s:%d/" % (os.uname()[1],http_port) might work, except that the name won't be fully-qualified, and the system might not be visible to the outside world (but some form of reverse-proxy might make it visible at a different URL). If you use distrib_port= then it certainly can't figure out where it might be visible, because the actual web server is running in an entirely different process. c['buildbotURL'] is currently only used internally. The intention, however, is to use it: in the MailNotifier, to provide the recipients with a hyperlink to the web page describing the build that just failed in the IRC bot, to provide the same sort of link in the Waterfall page, if necessary, to provide an absolute "top" URL in places where is is inconvenient to get there through a series of relative URLs hope that helps, -Brian ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Slave doesnt create output directory: 00009, Nick Trout |
|---|---|
| Next by Date: | RE: buildbotURL: 00009, Nick Trout |
| Previous by Thread: | buildbotURLi: 00009, Nick Trout |
| Next by Thread: | Re: buildbotURL: 00009, Olly Betts |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |