Re: Build logs (was: Sourceful uploads)
On Tue, Feb 15, 2011 at 05:45:56PM +0100, gregor herrmann wrote:
> On Tue, 15 Feb 2011 09:09:05 +0900, Charles Plessy wrote:
> > > getbuildlog(1) from devscripts downloads (almost, if you ignore a
> > > small header/footer) text-versions of build logs.
> > it is exactly that header and footer that I was reffering to when I wrote
> > “withouth HTML processing”.
> Ok. It doesn't really hurt IMO, but that's just me.
> > Would it be acceptable to serve the build logs as plain text files ? Would a
> > patch be welcome ?
> I looks rather easy to strip the HTML, e.g. with the one-line patch
> below. I leave it to you if you want to submit it against devscripts
That's unfortunately not enough, as some characters (at the very least
quotes and <,>) are replaced with html entities.