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 aa2c741e69d116fb6f6d6802be4642e38a4a0bc0
Author: Dominique Dumont <d...@debian.org>
Date:   Sat Apr 4 11:22:05 2015 +0200

    copyright model: warn if global license text contains boilerplate
---
 lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl 
b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
index 4985610..d377d02 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/LicenseSpec.pl
@@ -51,7 +51,12 @@ $text;',
         },
         'description' => 'Full license text.',
         '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'
+          }
+        }
       }
     ],
     'license' => 'LGPL2',

-- 
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