You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Philipp Ottlinger (Jira)" <ji...@apache.org> on 2023/10/27 21:14:00 UTC
[jira] [Commented] (RAT-322) Add possibility to be able to scan objects in hidden directories
[ https://issues.apache.org/jira/browse/RAT-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780525#comment-17780525 ]
Philipp Ottlinger commented on RAT-322:
---------------------------------------
[~jbonofre] feel free to file the PR with a suffix like "RAT-322: " in order to connect all the dots. Thanks for your interest in RAT!
> 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)