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

ASF subversion and git services commented on RAT-259:
-----------------------------------------------------

Commit ec654ea09b79474bfb4c08097c4005036211b45c in creadur-rat's branch 
refs/heads/master from Claude Warren
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=ec654ea0 ]

RAT-259: implement and verify solution in jira ticket (#397)

* Fixes for RAT-259, Introduced FileListWalker

* fixed Ant and Maven components and RAT-259 integration test

Introduced DocumentName.Builder to simplify how DocumentNames are built.

* RAT-259: harmonise test packages and groovify verify code

* Fixed issues with --input-source implementation

Updated Help to list --input-source

Updated DocumentName to handle "roots" of file systems.
Updated DocumentNameMatcher to handle "roots"
Added Name to DocumentNameMatcher.
Added DocumentName.Builder class to simplify DocumentName building.
Adjusted FileProcessors for DocumentName.Builder usage.

Removed DocumentNameMatcherSupplier as not needed
Removed TraceableDocumentNameMatcher as not needed.
Update Arg for removed classes
Update ExclusionProcessor for removed classes.

Moves some tests that should have been moved during earlier refactoring.

* updated javadoc

* removed unused code

* RAT-259: Merge changes from upstream

* RAT-259: Add changelog about new option

* updated input-source documentation

---------

Co-authored-by: P. Ottlinger <pottlin...@apache.org>

> Allow configuration of files to be scanned for CLI module
> ---------------------------------------------------------
>
>                 Key: RAT-259
>                 URL: https://issues.apache.org/jira/browse/RAT-259
>             Project: Apache Rat
>          Issue Type: Sub-task
>          Components: Client - cli
>    Affects Versions: 0.13
>            Reporter: Philipp Ottlinger
>            Assignee: Claude Warren
>            Priority: Major
>              Labels: documentation-update
>             Fix For: 0.17
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> After talks at ApacheCon 2019 in Berlin [~higrys][~potiuk] asked for a 
> possibility to specify the files that need to be scanned.
> This could be added as a new CLI option that specifies a file to read from.
> Each line will contain one file that RAT scans with its default configuration 
> (as the current CLI scan does).
> Thus a possible run would be:
> {code}
> java -jar rat.jar -scan myfiles.txt
> {code}
> "-scan" will be an exclusive option, thus all other existing
> exclusions options will not be allowed, when this option is used.
> myfile.txt may contain comments (starting with "#") or empty lines, all else 
> will be treated as files.



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

Reply via email to