This is an automated email from the git hooks/post-receive script.

pabs pushed a commit to branch master
in repository devscripts.

commit bb7b84e7eef24a8d15f4ad090d996fbebc878430
Author: Paul Wise <[email protected]>
Date:   Sun May 22 12:44:36 2016 +0800

    licensecheck: Detect files containing "Generated data" as generated
---
 debian/changelog        | 1 +
 scripts/licensecheck.pl | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c8c9f38..fb8d2c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ devscripts (2.16.5) UNRELEASED; urgency=medium
   [ Paul Wise ]
   * licensecheck:
     + Detect files containing "do not modify" as generated
+    + Detect files containing "Generated data" as generated
 
  -- Ben Finney <[email protected]>  Sat, 14 May 2016 13:54:07 +1000
 
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 4505d1b..56cbaba 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -666,7 +666,7 @@ sub parselicense {
     }
 
     # exclude blurb found in boost license text
-    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT 
((?:HAND )?EDIT|delete this file|modify)|Generated 
(automatically|by|from)|generated.*file)/i
+    if ($licensetext =~ /(All changes made in this file will be lost|DO NOT 
((?:HAND )?EDIT|delete this file|modify)|Generated 
(automatically|by|from|data)|generated.*file)/i
         and $licensetext !~  /unless such copies or derivative works are 
solely in the form of machine-executable object code generated by a source 
language processor/) {
        $license = "GENERATED FILE";
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to