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

Claude Warren commented on RAT-396:
-----------------------------------

I was looking at this section of the code today.  I think this can be changed 
with an XSLT modification.  I think we should split the synopsis at the top of 
the report into 2 sections: files and licenses.  We should report how many 
files of various types, how many files have missing headers, how many have 
unapproved headers.  We should then report how many licenses of each type were 
found.  Something like

 

Rat report generated at: 2024-09-01T13:41:00+01:00

File Summary
----------------------

Notes: 0
Binaries: 0
Archives: 0
Standards: 234
Generated: 2

License Summary
----------------------

Apache V2: 225
GPL1: 2
Unknown: 6

Approved: 227
Unapproved: 6

 

 

 

 

> Improve log message for Rat check
> ---------------------------------
>
>                 Key: RAT-396
>                 URL: https://issues.apache.org/jira/browse/RAT-396
>             Project: Apache Rat
>          Issue Type: Improvement
>    Affects Versions: 0.16.1
>            Reporter: Gary D. Gregory
>            Priority: Major
>
> Build Apache Commons components, I currently get messages like:
> {noformat}
> [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, 
> generated: 0, approved: 540 licenses.
> {noformat}
> The part I find misleading is that I don't have 540 licenses, I have 540 
> files with the same license header (well, in different format: .java, .xml, 
> .properties, and so on).
> If this were just a text change, I would find this more helpful: {{540 files 
> with licenses}}.
> If this were a feature request, I could see: {{540 files with 1 license type 
> in 3 formats (Java, XML, Properties)}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to