[ https://issues.apache.org/jira/browse/RAT-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791305#comment-17791305 ]
ASF subversion and git services commented on RAT-322: ----------------------------------------------------- Commit df06e25a81f2f0355bcaf97ce865227dbc4a4cc4 in creadur-rat's branch refs/heads/master from JB Onofré [ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=df06e25a ] RAT-322: be able to scan hidden directories > 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)