On Thu, Mar 03, 2011 at 06:25:05AM -0600, Jonathan Nieder wrote:
> Michael Meskes wrote:
> 
> > Sorry, I didn't see that as I dn't use gcc-4.6. 
> 
> No problem; I should have mentioned it before.
> 
> > Which is why I think it should stay in there. We build on way more systems 
> > than
> > upstream probably can, so keeping -Werror in will help the package.
> 
> Fair enough.
> 
> Now that gcc-4.6 has nicely parseable warnings, I wonder if buildds
> could grep for the string '[-W' so package maintainers could subscribe
> using a new PTS keyword to learn when their supposedly warning-free
> package acquires a warning.
> 
> Roger et al, does that sound interesting to you?  Is buildd the place
> to implement this sort of thing?

If these are directly greppable from the build logs, then the proper
place is probably in the code on debian.org infrastructure that
handles incoming logs from the buildds.

That said, sbuild runs a separate logger process to handle build logs,
and we could add additional logic in there to match user-configurable
patterns and mail them to a user-configurable address.  Note this
would require disabling by default, or default to the user running
sbuild, or else any random user building a package would end up
spamming the BTS.  This could then be enabled on the buildds.  If
we allow a list of regexes to be used, we can support different
compiler versions, languages, etc..


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to