Jean-Baptiste Onofré created RAT-322:
----------------------------------------
Summary: Be able to not restrict hidden directory
Key: RAT-322
URL: https://issues.apache.org/jira/browse/RAT-322
Project: Apache Rat
Issue Type: New Feature
Components: cli, maven
Affects Versions: 0.15
Reporter: Jean-Baptiste Onofré
Fix For: 0.16
Currently, the {{DirectoryWalker}} tests if a directory is "restricted":
[https://github.com/apache/creadur-rat/blob/master/apache-rat-core/src/main/java/org/apache/rat/walker/DirectoryWalker.java#L71]
Restricted means a directory starting with . e.g. a hidden directory:
[https://github.com/apache/creadur-rat/blob/master/apache-rat-core/src/main/java/org/apache/rat/walker/Walker.java#L52]
The problem is that rat doesn't scan files in *ANY* hidden directory.
We should add a flag to scan hidden directories (the user can decide to bypass
the hidden directories or not) and let the user eventually define excludes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)