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

Add possibility to be able to scan objects in hidden directories

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.15
    • 0.16
    • None

    Description

      Currently, the DirectoryWalker tests if a directory is "restricted":

      https://github.com/apache/creadur-rat/blob/master/apache-rat-core/src/main/java/org/apache/rat/walker/DirectoryWalker.java#L71

      Restricted means a directory starting with . e.g. a hidden directory:

      https://github.com/apache/creadur-rat/blob/master/apache-rat-core/src/main/java/org/apache/rat/walker/Walker.java#L52

      The problem is that rat doesn't scan files in ANY hidden directory.

      We should add a flag to scan hidden directories (the user can decide to bypass the hidden directories or not) and let the user eventually define excludes.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: