Author: rra
Date: 2008-01-03 07:10:08 +0100 (Thu, 03 Jan 2008)
New Revision: 1098

Modified:
   trunk/checks/changelog-file
   trunk/debian/changelog
   trunk/testset/cdbs-test/debian/changelog
Log:
  + [RA] Allow long no-whitespace lines even when spaces or bullets
    precede the text.

Modified: trunk/checks/changelog-file
===================================================================
--- trunk/checks/changelog-file 2008-01-03 06:05:25 UTC (rev 1097)
+++ trunk/checks/changelog-file 2008-01-03 06:10:08 UTC (rev 1098)
@@ -318,7 +318,7 @@
     }
     my @lines = split ('\n', $changes);
     for my $i (0 .. $#lines) {
-        if (length ($lines[$i]) > 80 && $lines[$i] =~ /\s/) {
+        if (length ($lines[$i]) > 80 && $lines[$i] !~ /^[\s.o*+-]*\S+$/) {
             tag 'debian-changelog-line-too-long', "line " . ($i + 1);
         }
     }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-01-03 06:05:25 UTC (rev 1097)
+++ trunk/debian/changelog      2008-01-03 06:10:08 UTC (rev 1098)
@@ -3,6 +3,8 @@
   * checks/changelog-file{.desc,}:
     + [RA] Don't spell-check lines that include the word "spelling".
       Thanks, Andreas Hoenen.  (Closes: #456515)
+    + [RA] Allow long no-whitespace lines even when spaces or bullets
+      precede the text.
   * checks/common_data.pm:
     + [RA] Remove the obsolete base section.  (Policy change pending).
   * checks/control-file{.desc,}:

Modified: trunk/testset/cdbs-test/debian/changelog
===================================================================
--- trunk/testset/cdbs-test/debian/changelog    2008-01-03 06:05:25 UTC (rev 
1097)
+++ trunk/testset/cdbs-test/debian/changelog    2008-01-03 06:10:08 UTC (rev 
1098)
@@ -1,6 +1,8 @@
 cdbs-test (1-1~bpo40+1) unstable; urgency=low
 
   * Backport, but for some reason I go on and on for longer than 80 columns 
thus making the entry annoying to read.
+  * 
this-is-a-really-long-dpatch-name-that-contains-the-entire-bug-report-in-the-file-name.dpatch:
+    - New.
 
  -- Russ Allbery <[EMAIL PROTECTED]>  Wed, 05 Dec 2007 17:23:59 -0800
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to