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

Bug#491302: marked as done (lintian: exclude Format-Specification from the copyright-line-too-long check)



Your message dated Sat, 09 Aug 2008 23:32:02 +0000
with message-id <E1KRxuk-0006Hw-UB@ries.debian.org>
and subject line Bug#491302: fixed in lintian 1.24.2.1
has caused the Debian Bug report #491302,
regarding lintian: exclude Format-Specification from the copyright-line-too-long check
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
491302: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491302
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 1.24.2
Severity: normal
Tags: patch

The machine-readable copyright format includes a Format-Specification
header line that, for the present, usually points at the Wiki page for
the proposal.  However, most people (including me) reference a specific
version of the Wiki proposal page by using a URL like:
http://wiki.debian.org/Proposals/CopyrightFormat?recall=184

This, combined with the "Format-Specification: " in front, is virtually
guaranteed to make lintian warn about a "copyright line too long" :)

Attached is a patch that matches the lines read from the copyright file
against the "Format-Specification: proposal-url" pattern and excludes
any lines that start like this.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=bg_BG.CP1251, LC_CTYPE=bg_BG.CP1251 (charmap=CP1251)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  diffstat            1.45-2               produces graph of changes introduc
ii  dpkg-dev            1.14.20              Debian package development tools
ii  file                4.24-4               Determines file type using "magic"
ii  gettext             0.17-3               GNU Internationalization utilities
ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822 compliant conf
ii  libdigest-sha-perl  5.47-1               Perl extension for SHA-1/224/256/3
ii  libparse-debianchan 1.1.1-2              parse Debian changelogs and output
ii  libtimedate-perl    1.1600-9             Time and date functions for Perl
ii  liburi-perl         1.35.dfsg.1-1        Manipulates and accesses URI strin
ii  man-db              2.5.2-1              on-line manual pager
ii  perl [libdigest-sha 5.10.0-11            Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information
Index: checks/copyright-file
===================================================================
--- checks/copyright-file	(revision 2491)
+++ checks/copyright-file	(revision 2492)
@@ -155,7 +155,8 @@
 # matter for the length check.
 my @lines = split ("\n", decode ('utf-8', $_));
 for my $i (0 .. $#lines) {
-    if (length ($lines[$i]) > 80) {
+    if (length ($lines[$i]) > 80 &&
+	$lines[$i] !~ m{^Format-Specification:\s*http://wiki.debian.org/Proposals/CopyrightFormat}) {
 	tag "debian-copyright-line-too-long", "line " . ($i+1);
     }
 }
Index: testset/copyright/debian/copyright.no-errors
===================================================================
--- testset/copyright/debian/copyright.no-errors	(revision 2491)
+++ testset/copyright/debian/copyright.no-errors	(revision 2492)
@@ -3,6 +3,8 @@
 
 It was downloaded from <http://www.example.org/>
 
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?recall=184
+
 Upstream Authors: 
 
     Tobias Toedter <t.toedter@gmx.net>

Attachment: pgpR1LkSXrYAd.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 1.24.2.1

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:

lintian_1.24.2.1.dsc
  to pool/main/l/lintian/lintian_1.24.2.1.dsc
lintian_1.24.2.1.tar.gz
  to pool/main/l/lintian/lintian_1.24.2.1.tar.gz
lintian_1.24.2.1_all.deb
  to pool/main/l/lintian/lintian_1.24.2.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 491302@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <djpig@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 09 Aug 2008 19:31:26 -0300
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.24.2.1
Distribution: testing
Urgency: high
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
Description: 
 lintian    - Debian package checker
Closes: 491302 491365 491685
Changes: 
 lintian (1.24.2.1) testing; urgency=high
 .
   The "for the sake of lenny users" release.
 .
   * checks/copyright-file{,.desc}:
     + [ADB] Drop the "copyright line too long" check.  Most of the issues
       it flags aren't easily fixable, particularly where the copyright file
       is (semi)automatically generated.  (Closes: #491302, #491365, #491685)
 .
   * debian/postrm:
     + [FL] Do not try to remove /var/spool/lintian if it doesn't exist
       (dpkg might already removed it at this point).
Checksums-Sha1: 
 9f8cedc71e24db007ace36fe4da47b99a744c98c 1131 lintian_1.24.2.1.dsc
 952c44373d7166bb8b804042b2faa35a454c20b6 472273 lintian_1.24.2.1.tar.gz
 5a9cddff9cfaf3f2b7db05acd3ce74425a4a10d6 358144 lintian_1.24.2.1_all.deb
Checksums-Sha256: 
 154eaacd796340dc37e66a0e91018374a6546c54824e8c6c1dc5b4d3b6f08779 1131 lintian_1.24.2.1.dsc
 0ab039060a074c2fe1747098397d42f13e6bd3eccfe84421378cb3e5c4144075 472273 lintian_1.24.2.1.tar.gz
 f9192a345667a64b9484a6939aa410169d557ffdf2117aff905e4de7cf7f9087 358144 lintian_1.24.2.1_all.deb
Files: 
 7c263495c411b7b761bf85b51b9abdd0 1131 devel optional lintian_1.24.2.1.dsc
 40b0d32fdfa2cf59c47ea56f48c04aec 472273 devel optional lintian_1.24.2.1.tar.gz
 bce973385351b6c6448d68ce0f62ca84 358144 devel optional lintian_1.24.2.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkieJiEACgkQQbn06FtxPfDxzQCghbZON7kloYSTAIwmZP5vHb76
UgkAoJ9TcbtgdSk229pwDsOB7Pv9R9HE
=8ySs
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: