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

Zhihong Ted Yu commented on HBASE-6362:
---------------------------------------

The filenames of attached patches can vary widely. My first attempt is to use 
simple heuristic for determining patches for trunk.

Patch for trunk should end in .txt or .patch in the filename.
The filename can include delimiter '-' between components.
It should include 'trunk' or 'TRUNK' as the last or second last component (if 
versioning is involved).

The following are examples of accepted filenames:

hbase-6311-trunk.patch
HBASE-6311-trunk-v1.txt
6311-trunk.txt
6311-trunk-v9.patch

Please comment.
                
> Enhance test-patch.sh script to recognize images / non-trunk patches
> --------------------------------------------------------------------
>
>                 Key: HBASE-6362
>                 URL: https://issues.apache.org/jira/browse/HBASE-6362
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Zhihong Ted Yu
>
> When user uploads logs / images / non-trunk patches, Hadoop QA would complain 
> that the file couldn't be applied as a patch (for trunk).
> We should make this script smarter by recognizing image files and non-trunk 
> patches.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to