[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build host name on https://buildd.debian.org/status/logs.php



Hi,

Am Dienstag, den 07.06.2011, 18:15 +0200 schrieb Mehdi Dogguy:
> On 07/06/2011 18:06, Joachim Breitner wrote:
> > Hi,
> > 
> > at the moment, I would find it very useful to see on the table on
> > https://buildd.debian.org/status/logs.php?pkg=highlighting-kate&arch=s390
> > which build was tried on which host, to easily spot correlations there.
> > I checked if I can come up with an easy patch, but the queried table
> > (arch_public.pkg_history) does not yet have a field for this. Would it
> > be possible to add this information to the table?
> > 
> 
> This is blocked by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622117
> 
> Note that the link referenced in the bug is no longer valid since I
> desactivated the feature in my local copy.

I am looking at Phil’s lib/debian/wannabuild/logs.py in wbpy.git, which
seems to be the code that fills the table. It does not yet have direct
access to a buildd name, the closest it has is _sender which looks like
"buildd on biber <buildd@biber.debian.org>". One could parse that, or
alternatively parse the log file in _dump_mail_to_file(), which already
extracts the build time and space.

I guess the first line would be a good candidate to match the hostname.
I could cook up a patch, but can’t really test it, not sure if that
would be of a lot of help.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: