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

[SCM] Debian package checker branch, master, updated. 1.24.4-82-gaa599a5



The following commit has been merged in the master branch:
commit aa599a58238b20784a34ac53fd3dbd4293f62f2d
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Sun Aug 31 11:24:45 2008 +0100

    Fix some false-positives in the embedded Javascript library check
    
    Re-add an accidentally removed slash from the embedded Javascript library
    regexes. This was accidentally dropped when moving from a single regex
    to an array including package names, causing some false positives.

diff --git a/checks/files b/checks/files
index e718cc3..ed0a9bf 100644
--- a/checks/files
+++ b/checks/files
@@ -626,7 +626,7 @@ foreach my $file (sort keys %{$info->index}) {
 #	    [ qr,(?i)(htmlarea|Xinha(Loader|Core))\.js$, => 'xinha' ],
 	);
 	foreach my $jslibrary (@jslibraries) {
-	    if ($file =~ m,$jslibrary->[0], and $pkg !~ m,^$jslibrary->[1]$,) {
+	    if ($file =~ m,/$jslibrary->[0], and $pkg !~ m,^$jslibrary->[1]$,) {
 		tag "embedded-javascript-library", "$file";
 	    }
 	}
diff --git a/debian/changelog b/debian/changelog
index 689d8d4..78718f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,8 @@ lintian (2.0.0~rc1) experimental; urgency=low
     + [ADB] Rework the description for embedded-javascript-library to make
       it clear that the listed libraries are examples rather than an
       exclusive list.  Also fix a spelling mistake.
+    + [ADB] Re-add an accidentally removed slash to the check for embedded
+      Javascript libraries, removing some false positives.  (Closes: #497215)
   * checks/scripts:
     + [FL] Change all regular expressions in depends_needed to
       require spaces after the command and not \b. There are

-- 
Debian package checker


Reply to: