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

Travis Crawford updated HCATALOG-608:
-------------------------------------

    Attachment: releaseaudit_report.txt
                HCATALOG-608_rat_excludes.1.patch

Attached is the patch excluding the necessary files from our rat report, as 
well as the example report.

Notice there are two files listed as not having headers - they will be removed 
in HCATALOG-606 and are not excluded here. I'll hold off on committing this 
until HCATALOG-606 is in to verify the list is empty.

I had a terrible time figuring out the correct patterns to exclude these files. 
Looking at some other projects (tomcat, avro) that use RAT they appear to use 
ant patterns (** -style) but that crashes rat for me. In the end I simply 
listed the offending filenames. If anyone more familiar with RAT knows a better 
way I would love to learn how.
                
> exclude data files from hcatalog release audit report
> -----------------------------------------------------
>
>                 Key: HCATALOG-608
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-608
>             Project: HCatalog
>          Issue Type: Bug
>            Reporter: Travis Crawford
>            Assignee: Travis Crawford
>             Fix For: 0.5
>
>         Attachments: HCATALOG-608_rat_excludes.1.patch, 
> releaseaudit_report.txt
>
>
> The following files are called out by the release audit report as not having 
> Apache headers. However, as data files they do not need the headers and 
> should be excluded from the release audit report.
> {code}
> src/test/e2e/hcatalog/data/boolean.rcfile
> src/test/e2e/hcatalog/data/complex.rcfile
> src/test/e2e/hcatalog/data/numbers.rcfile
> src/test/e2e/hcatalog/data/numbers.txt
> src/test/e2e/templeton/inpdir/nums.txt
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to