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

Allen Wittenauer edited comment on HADOOP-12121 at 6/29/15 6:24 PM:
--------------------------------------------------------------------

-00:
* use git show-ref and cat-file to determine viability.  this means if git 
honors it, so do we (so, if git is case sensitive, so are we...)
* remove the branch listing code. no longer needed due to above
* short circuit empty URL or CLI path
* strip .txt, .diff, and .patch from the name
* support minor, micro, nano(?), pico(?) ... releases
* recurse down the periods. this means if someone creates a file with 
branch-3.0.0, it will go instead to branch-3 if branch-3.0.0 and branch-3.0 
does not exist.
* support for ISSUE-##.[##].branch format, used by some projects
* using a git### ref will have PATCH_BRANCH set to #### if it is viable


was (Author: aw):
-00:
* use git show-ref and cat-file to determine viability.  this means if git 
honors it, so do we (so, if git is case sensitive, so are we...)
* remove the branch listing code. no longer needed due to above
* short circuit empty URL or CLI path
* strip .txt, .diff, and .patch from the name
* support minor, micro, nano(?), pico(?) ... releases
* recurse down the periods. this means if someone creates a file with 
branch-3.0.0, it will go instead to branch-3 if branch-3.0.0 and branch-3.0 
does not exist.
* support for ISSUE-##.[##].branch format, used by some projects


> smarter branch detection
> ------------------------
>
>                 Key: HADOOP-12121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12121
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>    Affects Versions: HADOOP-12111
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-12121.HADOOP-12111.patch
>
>
> We should make branch detection smarter so that it works on micro versions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to