[
https://issues.apache.org/jira/browse/RAT-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Ottlinger updated RAT-322:
----------------------------------
Summary: Add possibility to be able to scan objects in hidden directories
(was: Be able to not restrict hidden directory)
> Add possibility to be able to scan objects in hidden directories
> ----------------------------------------------------------------
>
> 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é
> Priority: Major
> 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)