[libconfig-model-dpkg-perl] 07/23: scanner: improve check/ignore doc

dod at debian.org dod at debian.org
Mon Feb 13 12:29:38 UTC 2017


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 a78e2608c0f5007e9beb6fed5eab47c1865ee3ef
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Jan 24 13:16:43 2017 +0100

    scanner: improve check/ignore doc
---
 lib/Dpkg/Copyright/Scanner.pm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index 88182b6..26cfa1d 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -657,12 +657,14 @@ the list of files.
 
 =head1 Selecting or ignoring files to scan
 
-By default, the decision whether to scan a file or not is left to L<licensecheck>.
+By default, scanner scans source files with known suffixes (like .c
+.pl ...), README, scripts and skip backup files.
 
 You can change this behavior in file
-C<debian/copyright-scan-patterns.yml>. This YAML file can
-contain a list of suffixes or patterns to scan or to ignore that are added to licensecheck's list. Any file
-that is not scanned or ignored will be shown as "skipped".
+C<debian/copyright-scan-patterns.yml>. This YAML file can contain a
+list of suffixes or patterns to scan or to ignore that are added to
+the default list. Any file that is not scanned or ignored will be
+shown as "skipped".
 
 The file must have the following structure (all fields are optional
 and order does not matter):
@@ -685,6 +687,8 @@ and order does not matter):
 
 Do not specify the dot with the suffixes. This will be added by the scanner.
 
+Note that a file that match both "check" and "ignore" pattern is ignored.
+
 =head1 Filling the blanks
 
 Sometimes, upstream coders are not perfect: some source files cannot

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



More information about the Pkg-perl-cvs-commits mailing list