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

Simplify the definition of file types (e.g. *.md, *.txt)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.16
    • None
    • core engine
    • None

    Description

      Currently the file types are detected in the AbstractLicenseAppender and are hardcoded.

      As new types are are introduced how to handle the insertion of the license should be defined in a way that makes it easier for users to add definitions they need.

       

      This change should explore

      • defining the file types in configuration files.
      • Extracting the type detection from the AbstractLicenseAppender so that it can be used in the text processing matchers.
      • If information about start and end block comments symbols as well as single line symbols should be maintained with the type.
      • If information about required initial lines should be kept with the type.

      It should also remove the dependency on IOUtils.closeQuietly() in the AbstractLicenseAppender.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified