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

Bug#946026: lintian: check for tabs in formatted fields in debian/copyright



Hi Felix,

On Mon, Dec 02, 2019 at 09:02:17PM -0800, Felix Lechner wrote:
> First of all, thank you for D-Janitor. We look forward to learning
> more about it and would like to support your efforts.
Thanks, it's all driven by the lintian table in UDD. :-)

> On Mon, Dec 2, 2019 at 8:30 PM Jelmer Vernooij <jelmer@jelmer.uk> wrote:
> >
> > It would be great if lintian could check for tab characters in the
> > various text paragraphs in debian/copyright.
> 
> I have spent some time with that code. It is long and complex. Would
> it be acceptable to simply check if the file contains any tabs at all
> (=~ /\t/)?
From my reading of the specification, tabs are (in theory) still
allowed in the Files or Upstream-Contact fields, although I don't
think I've actually seen any package use tabs there. The common issue
appears to be people copy-n-pasting license texts that contain tabs.

Would it be possible to reuse the check for tabs in the long Description
field for binary packages?

Jelmer

Attachment: signature.asc
Description: PGP signature


Reply to: