Build logs (was: Sourceful uploads)
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 :) Cheers, gregor #v+ --- /usr/bin/getbuildlog 2011-02-09 08:44:23.000000000 +0100 +++ /tmp/getbuildlog 2011-02-15 17:41:51.000000000 +0100 @@ -127,6 +127,7 @@ arch=${arch%%&*} match=`echo $match | sed -e 's/+/%2B/g'` wget -O "${PACKAGE}_${ver}_${arch}.log" "$BASE/$match&file=log" + sed -i -e '0,/<pre>/ d ; /</pre>/,$ d' "${PACKAGE}_${ver}_${arch}.log" done rm -f $ALL_LOGS #v- -- .'`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Bob Dylan: Talkin' World War III Blues |
Build logs (was: Sourceful uploads)
Le Tue, Feb 15, 2011 at 05:45:56PM +0100, gregor herrmann a écrit :
> 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. I still think that it is more straightforward to serve text files as text, rather than adding html and removing it afterwards. Would it be acceptable for buildd.debian.org to serve the bzipped plain text logs directly ? The reason why I am interested in these logs and the signed .changes files is that I am trying to collect them in the Git repository where the source package is maintained. I already found it very useful a couple of times to have the logs ready for being diff'ed (--word-diff=color). Have a nice day, -- Charles Plessy Tsurumi, Kanagawa, Japan -- To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 20110216004931.GD21803@merveille.plessy.net">http://lists.debian.org/20110216004931.GD21803@merveille.plessy.net |
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. Mike -- To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 20110216085324.GB3718@glandium.org">http://lists.debian.org/20110216085324.GB3718@glandium.org |
| All times are GMT. The time now is 05:40 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.