Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-323

Harmonize UIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 0.16
    • 0.17
    • Client - cli

    Description

      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:

      1. collect all the UI options, and ensure that they are all supported in the ReportConfiguration class. 
      2. 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.

       
       

       

      Attachments

        1. RAT_harmonize_UIs.csv
          6 kB
          Claude Warren
        2. RAT_harmonize_UIs_rev2.csv
          12 kB
          Claude Warren

        Issue Links

          1.
          Add tests to validate that UI options update the ReportConfiguration as expected Sub-task Resolved Claude Warren  
          2.
          Refactor/standardize Client arguments Sub-task Resolved Claude Warren  
          3.
          Allow configuration of files to be scanned for CLI module Sub-task In Progress Claude Warren

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          4.
          CLI: Rat does not support a .ratignore file that lives in the source tree. Sub-task Resolved Claude Warren  
          5.
          CLI: Certain wildcard file filters do not work anymore Sub-task Resolved Claude Warren  
          6.
          Update documentation to match configuration options and files Sub-task In Progress Claude Warren  
          7.
          Refactor CLI options after release of commons-cli 1.7.1 Sub-task Resolved Claude Warren  
          8.
          Extract CLI Options into static class. Sub-task Resolved Claude Warren  
          9.
          Add capabilities to write Ant Readme information Sub-task Resolved Claude Warren  
          10.
          Add capabilities to write Maven Readme information Sub-task Resolved Claude Warren  
          11.
          Generate base Ant code from CLI Optons Sub-task Resolved Claude Warren  
          12.
          Generate base Maven code from CLI Optons Sub-task Resolved Claude Warren  
          13.
          Migrate exclusion calculations from plugin to core and add inclusion Sub-task Resolved Claude Warren  
          14.
          Switch to DefaultLogger for all logging and remove Log parameters where possible. Sub-task Resolved Claude Warren  
          15.
          Deprecate methods in Ant Report Sub-task Open Unassigned  
          16.
          Migrate ignore errors functionality from Maven module Sub-task Resolved Claude Warren  
          17.
          Migrate console output functionality from Maven to core Sub-task Open Unassigned  
          18.
          RAT reports should be able to skip certain file types or contents: Sub-task In Progress Claude Warren  
          19.
          Add the ability to exclude SCM files. Sub-task Resolved Claude Warren  
          20.
          Define a .ratignore file and processor (Was: Enable use of wildcard expressions in exclude file) Sub-task Open Unassigned  
          21.
          .gitignore in parent dir not honored Sub-task Resolved Claude Warren  
          22.
          Bug: generated ArgumentTypes end with a double .. Sub-task Closed Philipp Ottlinger  
          23.
          Bug: Deprecation warning does not contain dots at the end of sentences Sub-task Closed Philipp Ottlinger  
          24.
          Bug: generated classes are in packages with unusual package names Sub-task Closed Philipp Ottlinger  
          25.
          Rework plain text XSLT output Sub-task Open Unassigned  
          26.
          Improve log message for Rat check Sub-task Resolved Claude Warren  

          Activity

            People

              claude Claude Warren
              claude Claude Warren
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Remaining Estimate - 168h
                  10m