[buildd-tools-devel] [PATCH] Output the contents of debian/files w/o a box

Max Thoursie max at spotify.com
Wed Jan 25 12:57:01 UTC 2012


On Wed, Jan 25, 2012 at 1:43 PM, Roger Leigh <rleigh at codelibre.net> wrote:
> On Wed, Jan 25, 2012 at 11:20:48AM +0100, Max Thoursie wrote:
>> I don't think drawing a box around the contents of a file is appropriate
>> since:
>>
>> * Boxes are already used for headings which could be confusing if the
>>   file only has one line.
>> * It makes cut'n'pasting of the contents harder.
>
> While this is true, is this a problem here?  I've never actually
> seen this codepath triggered in the whole time I've worked on
> sbuild, except during deliberate testing.  Removing this is no
> problem, but I would be interested in whether this being
> triggered is a regular occurence for you, and why.

I did actually trig this a couple of times with some of our
(misconfgured) projects. Sadly, I don't remember the actual bug
leading up to trigger this.

In addition to the above reasons, I didn't like the box since it
looked awful in the html-report I got it in. (The report generator
didn't handle the line drawing characters very well).

> I would also suggest putting a $self->log_sep(); before and after
> the contents so that they remain delimited within the whole build
> log.

Sounds like a good idea, do you want an updated patch?

-- 
Max Thoursie, Software Engineer @ Spotify ☎ +46 708 777721



More information about the Buildd-tools-devel mailing list