creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAT-171) Allow exclude patterns to be read from a file or files
Date Tue, 04 Nov 2014 21:10:34 GMT

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

Christopher Tubbs commented on RAT-171:
---------------------------------------

I see that RAT-157 was closed as a duplicate of RAT-172. It's actually more of a sub-task
of RAT-171 (this one) than a duplicate of either.

In any case, I'd like to point out that it'd be important to turn on/off the ignoring of files
contained in {{.gitignore}} (or other SCM equivalent ignore source). For instance, one may
wish for these SCM-ignored files to skip checking for licenses during normal development,
but turn it on for releasing. Just because these files are ignored in the SCM, doesn't necessarily
mean they should never be checked... they can still make it into a release tarball, even if
they are never committed in the SCM.

Providing a property to control whether SCM ignores are included or not is essential.

> 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
>            Assignee: Philipp Ottlinger
>         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.3.4#6332)

Mime
View raw message