[ https://issues.apache.org/jira/browse/RAT-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17983646#comment-17983646 ]
Arnout Engelen commented on RAT-476: ------------------------------------ Thanks - realistically I don't think I'll find the time to work on this any time soon, but will definitely revisit when I actually encounter the problem in any ASF project ;) > include/exclude precedence rules do not match gitignore semantics > ----------------------------------------------------------------- > > Key: RAT-476 > URL: https://issues.apache.org/jira/browse/RAT-476 > Project: Apache Rat > Issue Type: Improvement > Components: core engine > Reporter: Arnout Engelen > Priority: Major > > currently, RAT processes all 'unignore' patterns separately from all 'ignore' > patterns, and only takes into account precedence withing those groups. This > does not match the gitignore semantics, where ignore/unignore patterns are > evaluated on each precedence level. I think it would make sense to align to > the gitignore semantics, but possibly we should evaluate if that'd conflict > with ignore logic for other VCS'es. > See discussion in [https://github.com/apache/creadur-rat/pull/433] for > background -- This message was sent by Atlassian Jira (v8.20.10#820010)