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 2014/08/28 20:58:08 UTC

[jira] [Commented] (RAT-171) Allow exclude patterns to be read from a file or files

    [ https://issues.apache.org/jira/browse/RAT-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114158#comment-14114158 ] 

Philipp Ottlinger commented on RAT-171:
---------------------------------------

Thanks for your patch - I do assume that we could do two things:

* add all of the various scm directories and their ignore files as defaultExcludes (e.g. .git and .gitignore and .hg and .hgignore)
* provide an additional configuration to automatically add files/directories to exclude from ignore files

[~nacx][~gaul][~andrewp] Would that be useful for you?

> Allow exclude patterns to be read from a file or 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)