creadur-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/RAT-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated RAT-209:
---------------------
    Description: 
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 skip -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.

  was:
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.


> 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 skip -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