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 2024/01/15 20:48:00 UTC
[jira] [Commented] (RAT-352) Enable use of wildcard expressions in exclude file
[ https://issues.apache.org/jira/browse/RAT-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806966#comment-17806966 ]
Philipp Ottlinger commented on RAT-352:
---------------------------------------
Thanks for taking the time to report the issue - at the moment we are working on 0.16.1 to fix a breaking change with custom license definitions.
Thinking about your request - would it make sense to provide a CLI option that reads a .gitignore instead of a .ratexclude file to allow for your feature request?
In 0.16 we integrated an external library that improves exclusion parsing as part of the Maven-based RAT runs. Maybe this feature can be adapted/enhanced to support your use case? Feel free to fork and play around - patches welcome!
> Enable use of wildcard expressions in exclude file
> --------------------------------------------------
>
> Key: RAT-352
> URL: https://issues.apache.org/jira/browse/RAT-352
> Project: Apache Rat
> Issue Type: Improvement
> Components: cli
> Reporter: Nicholas Chammas
> Priority: Minor
>
> Due to the widespread use of git, I would find it much more intuitive if .rat-excludes worked like .gitignore. I think most people on the Spark project would agree (though, fair disclosure, I haven't polled them).
> Would it make sense to add a CLI option instructing RAT to interpret entries in the exclude file as wildcard expressions (as opposed to regular expressions) that work more or less like .gitignore?
> This feature request is somewhat related to RAT-265.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)