[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=17807311#comment-17807311 ] Nicholas Chammas commented on RAT-352: -- > would it make sense to provide a CLI option that reads a .gitignore instead > of a .ratexclude file to allow for your feature request? The Spark project needs separate listings in .gitignore vs. .rat-excludes. So as long as the new option simply changes how the patterns are interpreted (from regex to wildcard), then we can update our existing .rat-excludes to work with the new option. The goal (for me at least) is to be able to look at .gitignore and .rat-excludes and interpret the entries in there the same way. I think it's more intuitive and easier to manage. > 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)
[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=17806967#comment-17806967 ] Philipp Ottlinger commented on RAT-352: --- [~nchammas] sorry - I just read your comment on RAT-323. > 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)
[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=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)