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 <[email protected]> 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 <[email protected]> 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 _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
