git与问题跟踪系统集成

gitticket的Python项目详细描述


git ticket是一个git扩展,用于帮助开发人员管理问题/票据跟踪系统

Git票证支持githubbitbucketredmine

此工具当前处于开发中的{str 1}$状态,测试不足。

屏幕截图

list命令:

https://raw.github.com/aflc/git-ticket/gh-pages/ex_list.png

显示命令:

https://raw.github.com/aflc/git-ticket/gh-pages/ex_show.png

安装

来自PyPI:

pip install gitticket

或github(不稳定):

pip install -e git+https://github.com/aflc/git-ticket.git#egg=git-ticket

升级说明

如果有错误,请尝试pip install gitticket -U

用法

配置

对于github:

git config ticket.github.token <your_access_token>

要获取访问令牌,请尝试以下操作:

git ticket github-authorize

对于bitbucket:

git config ticket.bitbucket.token <your_access_token>
git config ticket.bitbucket.token-secret <your_access_token_secret>

要获取访问令牌和访问令牌密钥,请尝试以下操作:

git ticket bitbucket-authorize

对于红矿:

git config ticket.redmine.token <your_apikey>
git config ticket.redmine.url <your_redmine_root>

以及其他一些设置:

git config ticket.name <your_account_name_for_a_service> # if no value, guess from user.name
git config ticket.service <service_name> # if no value, guess from origin url
git config ticket.repo <repository_name> # if no value, guess from origin url or root derectory name.

对于redmine服务,必须设置ticket.service=redmine。

简单用法

git ticket list               # list tickets
git ticket show <ticket id>   # show detail of the ticket
git ticket add                # add a ticket
git ticket update <ticket id>  # update contents of the ticket
git ticket comment <ticket id> # add comment to the ticket
git ticket close <ticket id>   # close the ticket

更多coomand

git ticket locals
git ticket show-config
  • “locals”命令在本地分支名称中查找票证ID。 分支名称应包含“#xx”、“id xx”、“idxx”或“id/xx”,xx是票号
  • “show config”命令输出您的配置。

发布说明

v0.5.1
  • 修复:支持更新的请求版本
v0.5
  • 新:局部命令
  • 新建:show config命令
  • 固定:17
  • 修正:rauth.hook导入错误
v0.4.1
  • 更新:更多错误处理
  • 修正了:红矿日志的16解析错误
v0.4
  • 新增:列表、显示、添加、更新命令的显示格式
  • 修正:#15自动猜票服务不起作用
v0.3.1
  • 修正:如果注释号为0,则崩溃
  • 固定:固定13
  • 修正:修正12用git的http.sslverify配置更改ssl设置。
  • 增加了:parseconfig()的记忆功能;减少了重复的进程调用
  • 修复:删除调试打印
  • 更新:重写tiket模板生成器
  • 修正:在比特桶中,更新票证时忘记显示优先级。
  • 修正:在雷德明,更新票证时忘记显示状态。
v0.3
初始版本

接下来是什么?

  • 更多测试
  • 文件
  • git流集成

许可证

它是根据麻省理工学院的许可证发行的。

Copyright (c) 2011 Hiroyuki Tanaka

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java OnResizeListener或OnDrawListener或类似的东西   java Orika映射嵌套子列表   保存时java Heroku请求超时代码H12   数据库在Java中出现socket读取超时异常的原因是什么?   java如何更改来自Sqlite数据库的特定数据在Listview中的行颜色   java JAXB解组器无法正确处理XML中的列表   java Android日期时区让我抓狂   java不透明属性在Swing中如何工作?   eclipse从JavaEE代码生成流程图   java如何在Hibernate中从相关表中获取计数   java Glassfish部署了项目的依赖项库   java使内容适合JavaFx中的WebView   java不满意的链接错误libcrypto。所以1.0.0   循环中java数组的使用   java找出哪个包调用服务