[ 
https://issues.apache.org/jira/browse/RAT-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claude Warren updated RAT-235:
------------------------------
        Parent: RAT-462
    Issue Type: Sub-task  (was: Bug)

> 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: Sub-task
>    Affects Versions: 0.12
>            Reporter: Uwe Korn
>            Priority: Major
>
> 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
(v8.20.10#820010)

Reply via email to