[devscripts] 06/07: licensecheck: parse markdown files

dod at debian.org dod at debian.org
Sat Dec 26 11:17:37 UTC 2015


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

dod pushed a commit to branch master
in repository devscripts.

commit 63edb090d14d265797968ecb86c9b94ff64f9a75
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Dec 26 12:15:43 2015 +0100

    licensecheck: parse markdown files
---
 debian/changelog        | 1 +
 scripts/licensecheck.pl | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 28dce6a..89a273c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -56,6 +56,7 @@ devscripts (2.15.10) UNRELEASED; urgency=medium
     + parse source file without suffix (e.g script, README)
     + parse .css or .less file
     + parse perl6 files (.pl6 .pm6 .pod6 ...)
+    + parse markdown files (.md or .markdown)
     * tweaked to parse Artistic 2.0 license file
     * improved detection of artistic 2.0 licenses
 
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 6d1dd9a..eb65ee8 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -191,7 +191,6 @@ my $default_ignore_regex = qr!
 \.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)
 !x;
 
-
 my $default_check_regex =
     qr!
     /[\w-]+$                      # executable scripts or README like file
@@ -223,6 +222,7 @@ my $default_check_regex =
        |dtd|xsl
        |mod
        |m
+       |md|markdown
        |tex
        |mli?
        |(c|l)?hs

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