[
https://issues.apache.org/jira/browse/RAT-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17982743#comment-17982743
]
Claude Warren commented on RAT-476:
-----------------------------------
[~engelen] If you want to work on this one I will provide some guidance, but I
think you know what to do.
> 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)