creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (RAT-209) Ignore short files when checking licenses
Date Fri, 13 Nov 2015 12:22:10 GMT


Sebb commented on RAT-209:

The criteria would need to be added as optional configuration items.
Note that a line count on its own would be insufficient, as some files may consist of a single
long line - e.g. compressed Javascript.

Probably only need the file size, with a hard upper limit which could be set fairly low, e.g.

> Ignore short files when checking licenses
> -----------------------------------------
>                 Key: RAT-209
>                 URL:
>             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("");
> {code}
> It would be useful to be able to -ignore- skip these when listing which files don't have
> 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

View raw message