[ https://issues.apache.org/jira/browse/RAT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806930#comment-17806930 ]
Nicholas Chammas commented on RAT-323: -------------------------------------- Big +1 for enabling the CLI to use SCM ignores as excludes. The Apache Spark project uses RAT via the CLI, and I am currently trying to clean up the configured excludes there because it's a [total mess|https://github.com/apache/spark/blob/c0ff0f579daa21dcc6004058537d275a0dd2920f/dev/.rat-excludes]. This is partly because RAT is not using the project's existing .gitignore files, and partly because people expect .rat-excludes to work the same way as .gitignore. > Harmonize UIs > ------------- > > Key: RAT-323 > URL: https://issues.apache.org/jira/browse/RAT-323 > Project: Apache Rat > Issue Type: Improvement > Components: cli > Affects Versions: 0.16 > Reporter: Claude Warren > Priority: Major > Original Estimate: 168h > Remaining Estimate: 168h > > The UIs (CLI, ANT and Maven) were all developed separately and have different > options. > There is an overlap in some functionality and the functionality of some UIs > is not found in others. > This task is to do two things: > # collect all the UI options, and ensure that they are all supported in the > ReportConfiguration class. > # modify the UIs so that the names of the options are the same (or as > similar as possible) across the three UIs. Renamed methods are to be > deprecated in favour of new methods. > > Example: > apache-rat-plugin has 3 options: parseSCMIgnoresAsExcludes, > useEclipseDefaultExcludes, useIdeaDefaultExcludes that change the file > filter. These are options that would be useful in all UIs and should be > moved to the ReportConfiguration so that any UI can set them. > By harmonization I mean that options like the above are extracted from the > specific UIs where they are implemented and moved to the ReportConfiguration > so that the implementations are in one place and can be shared across all UIs. > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)