nielsbasjes opened a new pull request, #167: URL: https://github.com/apache/creadur-rat/pull/167
Fixing the issue described in https://issues.apache.org/jira/browse/RAT-335 Correctly following the rules in a gitignore file is not simply checking them all and stopping if one matches. So for the actual parsing and evaluation I have used a library I wrote a while ago for this exact purpose. To allow having more complex rules like this and the default rules side by side I have added a `IgnoreMatcher` interface. A new subclass of `DirectoryScanner` is used which will check both the provided `IgnoreMatcher` instances and the existing rules. Please let me know what you think of this approach. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
