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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 4ace845a2a9407ebe1c78d6fd4443656944d6476
Author: Dominique Dumont <d...@debian.org>
Date:   Mon Mar 30 18:33:55 2015 +0200

    copyright model: issue a warning when boilerplate license is found
---
 lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl 
b/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl
index d13d5c5..a57ae1a 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/FileLicense.pl
@@ -12,7 +12,12 @@
         'description' => 'if left blank here, the file must include a 
stand-alone License section matching each license short name listed on the 
first line (see the Standalone License Section section). Otherwise, this field 
should either include the full text of the license(s) or include a pointer to 
the license file under /usr/share/common-licenses. This field should include 
all text needed in order to fulfill both Debian Policy requirement for 
including a copy of the software distribut [...]
 ',
         'type' => 'leaf',
-        'value_type' => 'string'
+        'value_type' => 'string',
+        'warn_if_match' => {
+          'fill license' => {
+            'msg' => 'License contains copyright scanner boilerplate. Please 
update this field with the actual license text'
+          }
+        }
       },
       'short_name',
       {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to