git-issue : CLIã§Redmine/Github-issuesã®ticketãbrows/editã§ããgitãµãã³ãã³ã
ã¨ããã®ãä½ã£ãã¾ãããã¡ããã¡ããæ©è½æ¹åãã¦ã¾ãã
yuroyoro/git-issue · GitHub
git-issue | RubyGems.org | your community gem host
ä»äºã§ã¯ãç°è管çã·ã¹ãã ã¯Redmineã使ã£ã¦ãã¦ãä½æ¥ã¯sshã§ãµã¼ãã«å ¥ã£ã¦ã³ã¼ãæ¸ãã¦ãããã§ãã
ã§ã次ã©ã®ãã±ãããããããã¨ãä»ãã£ã¦ããã±ããã®ç´°ããä»æ§ã©ãã ã£ãï¼ã¿ãããªã¨ãã«ã
ãã¡ãã¡ãã©ã¦ã¶ã«åãæ¿ãã¦ç®çã®ãã±ãããæ¤ç´¢ããã®ã¿ã«ããã¦æ»ããã
ããã¿ã¼ããã«ããé¢ããããªããã 俺ã¯ã
ããã§ã'git issue 1000'ã£ã¦ããã¨1000çªã®ãã±ãããè¦ããã¨ãã§ããããã«ããã
$ git issue 15 [open] #15 Issueãadd/updateããã¨ãã«å¼æ°ã§å ¨é¨æ¸¡ãã®ã¿ã«ã -------------------------------------------------------------------------------- yuroyoro opened this issue Tue Feb 28 03:38:17 UTC 2012 comments : 0 votes : position : labels : html_url : https://github.com/yuroyoro/git-issue/issues/15 updated_at : Tue Feb 28 03:38:17 UTC 2012 -----------------------------
'git issue list'ã£ã¦ããã¨ä¸è¦§ãªã
$ git issue list #4 open tracã¨ã yuroyoro c:0 v:0 p:0 2012/02/17 2012/02/17 #12 open proxyç°å¢ä¸ã§ã®å©ç¨ã«ã¤ãã¦ããã£ã¨ä½ã¨ãæ± yuroyoro c:0 v:0 p:0 2012/02/24 2012/02/24 #15 open Issueãadd/updateããã¨ãã«å¼æ°ã§å ¨é¨æ¸¡ãã®ã¿ã«ã yuroyoro c:0 v:0 p:0 2012/02/28 2012/02/28
pull requestãéã£ã¦ãããçãããããã¨ãï¼
setup
'gem install git-issue'ã§å ¥ãããã¨ã¯ã READMEèªãã§ããã
usage
git issue helpã§ã³ãã³ãã¨ãªãã·ã§ã³ã®ä¸è¦§ãåºã¦ãããRedmineã¨Githubã§å¾®å¦ã«ã³ãã³ãããªãã·ã§ã³ãéãã®ã§æ³¨æã以ä¸ã¯ãGithubã®å ´å
git issue <command> [ticket_id] [<args>] Commnads: show s show given issue summary. if given no id, geuss id from current branch name. list l listing issues. mine m display issues that assigned to you. commit c commit with filling issue subject to messsage.if given no id, geuss id from current branch name. add a create issue. update u update issue properties. if given no id, geuss id from current branch name. branch b checout to branch using specified issue id. if branch dose'nt exisits, create it. (ex ticket/id/<issue_id>) publish pub push branch to remote repository and set upstream rebase rb rebase branch onto specific newbase help h show usage. mention men create a comment to given issue Options: -a, --all update all paths in the index file -f, --force force create branch -v, --verbose show issue details -n, --max-count=VALUE maximum number of issues --oneline display short info --raw-id output ticket number only --remote=VALUE on publish, remote repository to push branch --onto=VALUE on rebase, start new branch with HEAD equal to "newbase" --debug debug print -s, --supperss_commentsc show issue journals --title=VALUE Title of issue.Use the given value to create/update issue. --body=VALUE Body content of issue.Use the given value to create/update issue. --state=VALUE Use the given value to create/update issue. or query of listing issues.Where 'state' is either 'open' or 'closed' --milestone=VALUE Use the given value to create/update issue. or query of listing issues, (Integer Milestone number) --assignee=VALUE Use the given value to create/update issue. or query of listing issues, (String User login) --mentioned=VALUE Query of listing issues, (String User login) --labels=VALUE Use the given value to create/update issue. or query of listing issues, (String list of comma separated Label names) --sort=VALUE Query of listing issues, (created, updated, comments, default: created) --direction=VALUE Query of listing issues, (asc or desc, default: desc.) --since=VALUE Query of listing issue, (Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ) --password=VALUE For Authorizaion of create/update issue. Github API v3 does'nt supports API token base authorization for now. then, use Basic Authorizaion instead token. --sslnoverify don't verify SSL
åºæ¬çãªä½¿ãæ¹ã¯ä»¥ä¸ã®éãã
- 'git issue
'ã§ãã±ããã®è©³ç´°ã表示ãããã - 'git issue list'ã§ä¸è¦§è¡¨ç¤ºã
- 'git issue add'ã§ãã±ããç»é²ãå 容ã¯ãã³ãã³ãã©ã¤ã³å¼æ°ã§ãªãã·ã§ã³ã§æ¸¡ããªã©ãã¦ããã
- 'git issue update
'ã§æ´æ°ããã