[
https://issues.apache.org/jira/browse/RAT-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113700#comment-14113700
]
Andrew Phillips commented on RAT-171:
-------------------------------------
As a more generic solution, would it make sense to remove the default exclusion
of ".gitignore" as a special case? If we first add a mechanism to simply allow
the contents of files to be added, we can always use that to exclude
{{.gitignore}} and its contents in a couple of easy lines.
Adding {{.gitignore}} to that set as a default option would seem like a
separate change to me? Also, the title of the issue would then be something
like "Allow exclude patterns to be read from a file or files"?
> Implicit ignores should include git-ignored files
> -------------------------------------------------
>
> Key: RAT-171
> URL: https://issues.apache.org/jira/browse/RAT-171
> Project: Apache Rat
> Issue Type: Improvement
> Affects Versions: 0.11
> Reporter: Ignasi Barrera
> Attachments: RAT-171.patch
>
>
> The apache-rat-plugin ignores by default the .gitignore files. However, for
> every file/pattern added to those files, an explicit exclusion must be set in
> the plugin's configuration.
> Given that git-ignored files won't be uploaded to the SCM and shouldn't be
> part of a release, it would be nice that the apache-rat-plugin automatically
> considered those git-ignored files as implicit exclusions.
--
This message was sent by Atlassian JIRA
(v6.2#6252)