如何在Ticgit中使用里程碑? [英] How to use milestones in Ticgit?

查看:121
本文介绍了如何在Ticgit中使用里程碑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Puzzle 1:我在哪里可以看到里程碑?

  $ ti里程碑Couchdb -n 主干说明-a阅读https://github.com/jeffWelling/ticgit和http://backbone.iriscouch.com/backbone-couchapp/_design/backbone_example/index.html 
$ ti里程碑
$我不明白为什么这里什么都没有?!

拼图2:哪个分支应该我编辑编辑门票,里程碑等?

  $ git分支
* master
ticgit

拼图3:为什么拼图1-命令不起作用?
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ b ------------------------------------------------- --------------------

也许有关


  1. 票据版本控制?


解决方案

我是TicGit-ng的当前活跃维护者,可能是你正在使用的(而不是TicGit,现在是未维护的版本)。



1)由于某些原因,旧开发人员为里程碑命令编写了文档甚至'--help'输出,但从未实际执行过该命令。 :(这是一个相当明显的错误,并且正如这样一张票已经被提交到Github问题页面< a> for TicGit-ng,我会尽快解决。

2)您不应该检出 ticgit (或 ticgit-ng )分支,除非由于某种原因需要手动修复。例如,如果您目前在主分支上,则将留在该分支上,并使用命令 ti comment 来添加对当前已检出的票据的评论。它将打开 <$ c中定义的编辑器$ c> EDITOR 在那里输入所需的注释,然后关闭编辑器。要使用新评论查看票证,请使用命令 ti show ,该命令将显示当前签出的票证。

<3> 3因为1而不工作。不知道为什么它最初是这样写的,但我会尽快实现该功能。



4)2我提到了'当前签出'票的想法,为了对TicGit中的票发表意见或操作,ng这是常见的做法结帐所述票证。这不是必需的,因为可以通过指定作为参数操作的故障单来使用某些命令。要告诉您目前是否已签出检票或是要告诉哪一检票目前已签出,请使用命令 ti list ,然后使用<$ c $查找票证c> * 在最左边的列中 - * 表示您已签出的故障单。要签出不同的票证,您可以执行 ti checkout 2 ,它将检出排在第二位的票据,或者您可以执行(例如) ti结账e17222 ,它将检出ID为'e17222'的票证。票证ID由票证部分的散列确定,并且是不可变的。票证ID是 ti list 输出中左边的第二列。



因为StackOverflow不是我必须要求我们继续讨论与上面链接的Github问题有关的错误本身。如果您需要更多关于TicGit-ng的帮助,请不要犹豫,通过Github或电子邮件与我联系。


Puzzle 1: where can I see the milestones?

$ ti milestone Couchdb -n "instructions for backbone" -a "Read https://github.com/jeffWelling/ticgit and http://backbone.iriscouch.com/backbone-couchapp/_design/backbone_example/index.html
$ ti milestone
$ I cannot understand why here nothing?!

Puzzle 2: which branch should I edit to edit tickets, milestones etc?

$ git branch
* master
  ticgit

Puzzle 3: why did the puzzle 1 -command not work? Look there is nothing?!

$ ti list

   TicId  Title                    State Date  Assgn    Tags                
---------------------------------------------------------------------

Perhaps related

  1. Version control for tickets?

解决方案

I'm the current active maintainer for TicGit-ng which presumably is what you're using (as opposed to TicGit, the now un-maintained version).

1) For some reason the old developer wrote the documentation and even the '--help' output for the milestone command, but never actually implemented the command. :( This is a quite glaring bug, and as such a ticket has been filed the Github Issues page for TicGit-ng which I will address as quickly as possible.

2) You should never have to checkout the ticgit (or ticgit-ng) branch unless you need to do manual repairs for some reason. To add a comment to the ticket you currently have checked out for example, if you are currently on the master branch you stay on that branch, and use the command ti comment. It will open the editor defined in EDITOR where you type the desired comment, and close the editor. To then see the ticket with your new comment, use the command ti show, which will show you the currently checked out ticket.

3) 3 didn't work because of 1. Don't know why it was originally written like that, but I will implement that feature as soon as possible.

4) in 2 I mentioned the idea of a 'currently checked-out' ticket, in order to comment or otherwise operate on a ticket in TicGit-ng it is common practice to checkout said ticket. This is not a requirement, because some commands can be used by specifying the ticket to operate on as an argument. To tell if you currently have a ticket checked out or to tell which one is currently checked out, use the command ti list, and look for the ticket with the * in the far left hand column -- the * denotes ticket you have checked out. To checkout a different ticket, you can either do ti checkout 2 which will check out the ticket that is second from the top, or you can do (for example) ti checkout e17222 which would checkout the ticket with the id of 'e17222'. Ticket IDs are determined by a hash of part of the ticket and are immutable. The ticket ID is the column second from the left in the output of ti list.

Because StackOverflow is not the place to file bugs, I have to ask that we continue discussion related to the bug itself over on the Github Issue that is linked to above. If you need any more help with TicGit-ng please don't hesitate to contact me via Github or email.

这篇关于如何在Ticgit中使用里程碑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆