You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2017/05/09 19:03:04 UTC

[jira] [Created] (RAT-235) Symlinks are not recognized in a compressed tarball

Uwe L. Korn created RAT-235:
-------------------------------

             Summary: Symlinks are not recognized in a compressed tarball
                 Key: RAT-235
                 URL: https://issues.apache.org/jira/browse/RAT-235
             Project: Apache Rat
          Issue Type: Bug
    Affects Versions: 0.12
            Reporter: Uwe L. Korn


Using RAT on a directory containing a file and a symlink to it works:

{noformat}
*****************************************************
Summary
-------
Generated at: 2017-05-09T20:59:02+02:00

Notes: 0
Binaries: 0
Archives: 0
Standards: 2

Apache Licensed: 0
Generated Documents: 0

JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.

0 Unknown Licenses

*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require any license headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc. will be marked N
  MIT   test/Symlink
  MIT   test/Test.cmake

*****************************************************
No unapproved licenses
{noformat}

but it fails if you pack this into a {{tar.gz}}:

{noformat}
*****************************************************
Summary
-------
Generated at: 2017-05-09T20:59:44+02:00

Notes: 0
Binaries: 0
Archives: 0
Standards: 2

Apache Licensed: 0
Generated Documents: 0

JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.

1 Unknown Licenses

*****************************************************

Files with unapproved licenses:

  test/Symlink

*****************************************************

*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require any license headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc. will be marked N
 !????? test/Symlink
  MIT   test/Test.cmake

*****************************************************

 Printing headers for text files without a valid license header...

=====================================================
== File: test/Symlink
=====================================================
1 unapproved licences. Check rat report: rat.txt
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)