[devscripts] 01/01: licensecheck: Detect files containing "do not modify" as generated
Paul Wise
pabs at moszumanska.debian.org
Sun May 22 04:42:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
pabs pushed a commit to branch master
in repository devscripts.
commit 0d2ae5fe46a7396117ee73b1448dcab11314b818
Author: Paul Wise <pabs at debian.org>
Date: Sun May 22 12:40:50 2016 +0800
licensecheck: Detect files containing "do not modify" as generated
---
debian/changelog | 4 ++++
scripts/licensecheck.pl | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 00f82b4..c8c9f38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,10 @@ devscripts (2.16.5) UNRELEASED; urgency=medium
+ Normalise editor hints to preserve formatting.
+ Standardise explanatory header block.
+ [ Paul Wise ]
+ * licensecheck:
+ + Detect files containing "do not modify" as generated
+
-- Ben Finney <ben+debian at benfinney.id.au> Sat, 14 May 2016 13:54:07 +1000
devscripts (2.16.4) unstable; urgency=medium
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index a1f5c99..4505d1b 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)|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)|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
More information about the devscripts-devel
mailing list