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/11/05 13:47:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

Philipp Ottlinger reassigned RAT-322:
-------------------------------------

    Assignee: Jean-Baptiste Onofré

> 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é
>            Assignee: 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)