creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RAT-209) Ignore short files when checking licenses
Date Thu, 12 Nov 2015 15:39:11 GMT
Sebb created RAT-209:
------------------------

             Summary: Ignore short files when checking licenses
                 Key: RAT-209
                 URL: https://issues.apache.org/jira/browse/RAT-209
             Project: Apache Rat
          Issue Type: Improvement
            Reporter: Sebb


A license header is not usually required for short files that have no creative content.

For example

{code:title=project.css|borderStyle=solid}
@import url("http://commons.apache.org/style/commons-maven.css");
{code}

It would be useful to be able to ignore these when listing which files don't have headers.

The criteria for ignoring files could be expressed as file size and/or number of lines. The
criteria used should be documented on the RAT report.

Files which don't have headers but which fulfil the criteria could either be listed at the
end of the report in a separate section from the missing headers, or they could be listed
in the main file list with a different category, e.g. NA.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message