[
https://issues.apache.org/jira/browse/RAT-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17901216#comment-17901216
]
Claude Warren edited comment on RAT-98 at 11/28/24 9:33 AM:
------------------------------------------------------------
h1. Proposal:
* Replace Document.Type.GENERATED with Document.Type.IGNORED
** Mark generated documents as IGNORED
** Any document skipped due to exclude rules marked as skipped.
* Replace GENERATED in summary with IGNORED.
* Replace ClaimStatistic.Counter.GENERATED with ClaimStatistic.Counter.IGNORED
* Removed the "GENERATED" pseudo license.
* Add isDirectory flag to Metadata
** Set when document is processed, particularly when directory is IGNORED.
** add flag to XML output.
* Add isDirectory attribute to the resource entry.
* When processing all IGNORED documents (files and directories) are added to
the XML output.
* Update standard report to
** remove references to GENERATED
** add references to IGNORED
** Add symbol to indicate that a document is a directory. This should only
appear for skipped directories
** Output for generated documents should look something like: "{{{}I
/generated.txt"{}}}
** Output for skipped documents should look something like: "{{{}I
/.gitignore{}}}"
** Output for skipped directories should look something like: "{{{}I /.git/
(Directory){}}}"
* Provide a standard XML stylesheet to generate a list of the ignored
documents like we do with unapproved licenses.
was (Author: claudenw):
h1. Proposal:
* Replace Document.Type.GENERATED with Document.Type.IGNORED
** Mark generated documents as IGNORED
** Any document skipped due to exclude rules marked as skipped.
* Replace GENERATED in summary with SKIPPED.
* Replace ClaimStatistic.Counter.GENERATED with ClaimStatistic.Counter.IGNORED
* Removed the "GENERATED" pseudo license.
* Add isDirectory flag to Metadata
** Set when document is processed, particularly when directory is IGNORED.
** add flag to XML output.
* Add isDirectory attribute to the resource entry.
* When processing all IGNORED documents (files and directories) are added to
the XML output.
* Update standard report to
** remove references to GENERATED
** add references to IGNORED
** Add symbol to indicate that a document is a directory. This should only
appear for skipped directories
** Output for generated documents should look something like: "{{{}I
/generated.txt"{}}}
** Output for skipped documents should look something like: "{{{}I
/.gitignore{}}}"
** Output for skipped directories should look something like: "{{{}I /.git/
(Directory){}}}"
* Provide a standard XML stylesheet to generate a list of the ignored
documents like we do with unapproved licenses.
> Maven RAT report does not document skipped files
> ------------------------------------------------
>
> Key: RAT-98
> URL: https://issues.apache.org/jira/browse/RAT-98
> Project: Apache Rat
> Issue Type: Bug
> Reporter: Sebb
> Priority: Major
> Fix For: 0.17
>
>
> The Maven RAT report should document which files have been skipped using the
> <exclude> option.
> Either by listing the configuration details, or better by listing the file
> names with a marker, e.g. EX to show they were deliberately skipped.
> Note: this only refers to files listed in <exclude> entries, not files which
> are excluded by default.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)