[Buildbot-devel] [BUG] Mail status sends invalid links

Stephen Davis buildbot at soundgeek.org
Mon Dec 10 06:20:37 UTC 2007


Brian said this in a recent off-list email exchange.

> The fix for that is probably in trunk already, buildbot/status/ 
> builder.py,
> Status.getURLForThing, went in on 10/10, just a week and a half  
> after 0.7.6
> was released, so it's probably safe to copy that version of  
> builder.py into
> your 0.7.6 tree.

Grabbing the TOT version directly and patching your installation  
should fix it.  I haven't had time to apply it and check myself  
though, much to the annoyance of my coworkers...

stephen

On Dec 7, 2007, at 1:08 PM, Benoit Sigoure wrote:

> Hi list,
> my buildbot is sending me mails with:
>
> -------------------------------------------------------------------------
> The Buildbot has detected a new failure of mingw32-gcc-3.4.5.
> Full details are available at:
> https://build-master-com/buildfarm/project-name/mingw32-gcc-3.4.5/builds/520
> [...]
> -------------------------------------------------------------------------
>
> The problem is that this URL is invalid (it yields a 404 - No Such  
> Resource / File not found), the URL should have been https://build-master-com/buildfarm/project-name/builders/mingw32-gcc-3.4.5/builds/520 
>  (notice the extra `builders/' part).
>
> Is this a known bug in 0.7.6?  If yes, has it been fixed and where  
> can I get the patch?  I didn't see any ticket for this on the  
> buildbot.net/trac.
>
> The code in buildbot.status.builder.Status.getURLForThing hasn't  
> changed since 0.7.4, so I suspect the reason it won't work anymore  
> is due to the fact that twisted resources are laid out differently,  
> or so I guess.
>
> Cheers,
>
> -- 
> Benoit Sigoure aka Tsuna
> EPITA Research and Development Laboratory





More information about the devel mailing list