Debian Bug report logs - #1014255
lintian: very-long-line-length-in-source-file should use file/magic to distinguish text from binary files

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Affects: src:gnupg2

Reported by: Matt Barry <[email protected]>

Date: Fri, 1 Jul 2022 05:12:02 UTC

Severity: wishlist

Tags: confirmed

Found in version lintian/2.115.2

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1014255: Long lines should also be ignored from non-code text files
Reply-To: Russ Allbery <[email protected]>, [email protected]
Resent-From: Russ Allbery <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Lintian Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Wed, 02 Aug 2023 20:03:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 1014255
X-Debian-PR-Package: lintian
X-Debian-PR-Keywords: confirmed
References: <[email protected]> <ZMqn/[email protected]> <[email protected]>
X-Debian-PR-Source: lintian
Received: via spool by [email protected] id=B1014255.1691006540657257
          (code B ref 1014255); Wed, 02 Aug 2023 20:03:02 +0000
Received: (at 1014255) by bugs.debian.org; 2 Aug 2023 20:02:20 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-107.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_BUG_NUMBER,SHIP_ID_INT,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
	UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
	autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 9; hammy, 149; neutral, 40; spammy, 1.
	spammytokens:0.950-+--our
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:44384)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=stravinsky.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1qRI31-002kym-TH
	for [email protected]; Wed, 02 Aug 2023 20:02:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Date:References:In-Reply-To:Subject:Cc:To:From:Reply-To:
	Content-Transfer-Encoding:Content-ID:Content-Description;
	bh=d6/LHLt3RkyTjdedoue0W8m2HFFxeNi4D+uv5SF65xs=; b=jhL/ogAqfuvE8rVXgrM2dXpIim
	iVIZcHPQ1ePOkCTwxu5ibFIYiNxs+0wCqsTHjXPjjnr1y7JrlKaPYNmfnzSCpTTE4IwSzUVCeKlEu
	5FawBz5GojNWJfHvy/USh6j1VjD8TeFbYZwnznFbqpKroOTrylZc7bOvuQnBi+MWaChzDk8CBhT2A
	VtD+HgNvQQHOuabXdxxm87GqKyvW6eNyqven57Eg632R90qi+4tcVoi/L3PWwDb7Hju2c62XYY8BX
	9+G9c9s/WUV3Efm2327CaA/A7WYK3VKD5VxIcNIGuekEsNE/XjHPK9s8i2vcGZTKbf3huuEMVzW6x
	jz1cSoyw==;
Received: from authenticated user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1qRI2z-001ZGQ-2f; Wed, 02 Aug 2023 20:02:17 +0000
Received: by gwaihir.eyrie.org (Postfix, from userid 1000)
	id 976A7503879F; Wed,  2 Aug 2023 13:02:01 -0700 (PDT)
From: Russ Allbery <[email protected]>
To: "Dr. Bas Wijnen" <[email protected]>
Cc: [email protected]
In-Reply-To: <ZMqn/[email protected]> (Bas Wijnen's message of "Wed, 2 Aug
	2023 21:01:19 +0200")
Organization: The Eyrie
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Wed, 02 Aug 2023 13:02:01 -0700
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain
X-Debian-User: rra
"Dr. Bas Wijnen" <[email protected]> writes:

> Axel writes that README.md and LICENSE are likely valid cases. I
> disagree.  While I (and I expect many developers in Debian) are used to
> using short lines in text files, this is not that common for other
> people. Many will use the automatic word-wrap feature of text editors
> and write a whole paragraph on a single line.

Or, if not a whole paragraph, there are pretty strong arguments for
following https://xkcd.com/1285/ whenever writing in any markup language,
including Markdown, which can lead to long lines for complex sentences.
That's the standard for our projects at my current employer.

-- 
Russ Allbery ([email protected])              <https://www.eyrie.org/~eagle/>

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:47:08 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.