[ 
https://issues.apache.org/jira/browse/SPARK-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038921#comment-14038921
 ] 

Erik Erlandson commented on SPARK-1493:
---------------------------------------

I submitted a proposal patch for RAT-161, which allows one to request 
path-spanning patterns by including a leading '/'

If '--dir' argument is /path/to/repo, and contents of '-E' file includes:
/subpath/to/.*ext

then the pattern induced is:
/path/to/repo + /subpath/to/.*ex t --> /path/to/repo/subpath/to/.*ext


> Apache RAT excludes don't work with file path (instead of file name)
> --------------------------------------------------------------------
>
>                 Key: SPARK-1493
>                 URL: https://issues.apache.org/jira/browse/SPARK-1493
>             Project: Spark
>          Issue Type: Bug
>          Components: Project Infra
>            Reporter: Patrick Wendell
>              Labels: starter
>
> Right now the way we do RAT checks, it doesn't work if you try to exclude:
> /path/to/file.ext
> you have to just exclude
> file.ext



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to