[lintian] 01/02: Enable r-data-without-readme-source check also for .RData files
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 11a4fdc303b826ce10bf7bb60a06b7f304e653d6
Author: Dylan Aïssi <bob.dybian@gmail.com>
Date: Wed Jul 12 21:27:57 2017 +0200
Enable r-data-without-readme-source check also for .RData files
---
checks/cruft.desc | 1 +
checks/cruft.pm | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/cruft.desc b/checks/cruft.desc
index d0e1497..93ae0c5 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -878,6 +878,7 @@ Info: Many modules packaged for the R Project for Statistical Computing contain
debian/README.source, which this package is missing.
.
Please add a README.source documenting the origins of these files.
+Ref: https://lists.debian.org/debian-devel/2013/09/msg00332.html
Tag: file-contains-fixme-placeholder
Severity: important
diff --git a/checks/cruft.pm b/checks/cruft.pm
index 5ed8b53..05d8901 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -652,7 +652,7 @@ sub find_cruft {
}
# Ensure we have a README.source for R data files
- if ( $basename =~ m,\.(?:rda|Rda|rdata|Rdata)$,
+ if ( $basename =~ m,\.(?:rda|Rda|rdata|Rdata|RData)$,
&& $entry->is_file
&& !$info->index_resolved_path('debian/README.source')) {
tag 'r-data-without-readme-source', $name;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: