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

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

Commit e210b2256a6000c5a5e725193617b0d8864f1de9 in creadur-rat's branch 
refs/heads/master from P. Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=e210b225 ]

Merge pull request #158 from Claudenw/RAT-321-fix

RAT-321: Fix for bad reporting of license status for non standard documents 

> Allow configuration to define SimplePatternBasedLicense instances
> -----------------------------------------------------------------
>
>                 Key: RAT-321
>                 URL: https://issues.apache.org/jira/browse/RAT-321
>             Project: Apache Rat
>          Issue Type: Improvement
>          Components: engine
>    Affects Versions: 0.15
>            Reporter: Claude Warren
>            Priority: Minor
>             Fix For: 0.16
>
>
> The concept here is to rework the license matching definitions so that the 
> SimplePatternBasedLicense can be instantiated from a configuration file.
> The reasoning is that there are a number of licences that are of particular 
> interest in projects both inside and outside of the ASF that are not 
> currently included in the code.  This change will allow users to define the 
> string matching for any license that can be matched by simple string matching.
> The proposal is to move all the static definitions into a default file and 
> allow the default to be ignored/overridden.
> *Command Line Flags*
> Add a flag --no-default-file to skip reading the default definitions from 
> within the package.
> Add a flag --definition-file that accepts a file name argument, reads it and 
> adds the definitions to the list of definitions that are checked.  Ensure 
> that multiple --definition-file arguments may provided and that they are 
> added in the order in the --definition-file.
> *Static definition changes*
>  * Modify Meta.Data so that the license family category values are not 
> statically defined.
>  * Modify Meta.Data so that the license family names are not statically 
> defined.
> see https://github.com/apache/creadur-rat/pull/157 for details
>  
>  



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

Reply via email to