首页 | Linux | 论坛 | 精华 | 博客 | 资料 | 手册 | 知识库 | 下载 | 人才 | 沙龙 | 搜索 | 登录 | 注册  
下载分类
操作系统
系统相关
网络互连
开发工具
应用程序
多媒体工具
游戏娱乐
资料视频
本类周下载TOP10
本类总下载TOP10
您的位置:自由软件库->开发工具->版本控制->git bz

首字母搜索 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


软件名称: git bz
授权方式: GPL
操作系统: Linux,FreeBSD
软件大小: 12K
最新更新: 2012-08-29 17:12:23
软件简介:

Bugzilla subcommand for Git.联动bugzilla缺陷跟踪和git版本管理。git-bz - Command line integration of git with Bugzilla .
git-bz is a tool for integrating the Git command line with the Bugzilla bug-tracking system. Operations such as attaching patches to bugs, applying patches in bugs to your current tree, and closing bugs once you ve pushed the fixes publicly can be done completely from the command line without having to go to your web browser.
 

Authentication for git-bz is done by reading the cookies for the Bugzilla host from your web browser. In order to do this, git-bz needs to know how to access the cookies for your web browser; git-bz currently is able to do this for Firefox, Epiphany, Galeon and Chromium on Linux.

git bz add-url <bug reference> (<commit> | <revision range>)
git bz apply [-n | --no-add-url] <bug reference>
git bz attach [-n | --no-add-url] [-e |--edit] [<bug reference>] (<commit> | <revision range>)
git bz components [<product>]
git bz edit (<bug reference> | <commit> | <revision range>)
git bz edit (--pushed | --fix <bug reference) (<commit> | <revision range>)
git bz file [-n | --no-add-url] [[<product>]/<component>] (<commit> | <revision range>)
git bz push [--fix <bug reference>] [<repository> <refspec>…]
EXAMPLE SESSION
 


Before getting started, you configure the default Bugzilla instance, product and component for your repository:
 

git config bz.default-tracker bugzilla.example.com
git config bz.default-product TiddlyWinks
git config bz.default-component AI-Engine

Someone has found a bug in your code, and filed bug 43215 in bugzilla.example.com. You ve come up with a fix for that patch locally, but you want the bug reporter to test it, so you attach the change you made locally to the bug report as a patch:
 

git bz attach 43215 HEAD

This automatically rewrites the commit to add the URL of the bug to the commit message for future reference. The reporter finds some problems in testing, so you come up with a new version of the change and modify your commit using git commit --amend. To attach the new version, you run:
 

git bz attach -e HEAD

You don t have to specify the bug number this time since git-bz will find it in the commit message. The -e option (short for --edit) allows you to edit the comment for the bug to say what you ve changed and pick patches to obsolete. Now everybody s happy with the change. To push your changes and close the bug, you run:
 

git bz push

This does git push, adds a comment that the commits were pushed and marks the patches committed. The changes it is making to the bug will be shown in your editor to give you a chance to confirm them and add extra comments if desired.
 

Other useful commands are git bz file to file a new bug rather than attaching patches to an existing one, git bz apply to apply patches from a bug to the current tree, and git bz edit to add comments to or close bug reports.

相关论坛: 下载频道交流区 讨论区
立即下载

git-bz-0_p110920.tar.bz2
git-bzr-ng-0_pre20120130.tar.xz
git-bz-0.12.04.26.tar.bz2
git-bzr-ng-0_pre20120822.tar.xz

 Linux最新资讯更多>> 
·Evernote推进入华节奏:
·桌面操作系统 4 月最新
·Linux基金会:Linux成B
·中国联通升级HSPA+网络
·联通“随意打”论战:绝
·阿里巴巴集团30亿美元贷
·要以扫黄打非的精神进行
·内核源码,ARM架构上的
·Ubuntu 10.04版本企业云
·企业级Linux三国鼎立 与
·开源图像软件GIMP开发者
·不给Source就捣蛋?谈G
 IT最新资讯更多>> 
·大连外企500强急招java
·(内部推荐)EMC-Princ
·(内部推荐)EMC-greenpl
·页游公司招聘:运维开发
·赶集移动部门招聘前端开
·【北京】知名软件公司招
·有莫有C++ and C# and
·下班路上捡到一张工资表
·猎头代招:北京大型上市
·DSI猎头代招:华为-IP部
·上海诚聘JAVA工程师
·微软和苹果10大失败产品
·Darl McBride离开领导岗
·提升Qt的应用诺基亚即将
 综合:更多>> 
·PHP中strtotime函数使用
·五个常见 PHP数据库问题
·初探PHP单元测试利器:
·PHP开发人员容易忽略的
·逃离伪PHP程序员应该做
·大型Web应用运行时 PHP
·PHP企业级应用缓存技术
·PHP应用提速面面观
·用书签查询网站pr值
·PHP句法规则详解
·阴历-农历-转换类
·PHP定时执行任务的实现
·几种有用的变型 PHP中循
·PHP如何修改Linux或Uni
·PHP中全面阻止SQL注入式
·分享几个非常有用的PHP
·PHP面向对象法则
·优化PHP程序的方法
·orcale queue
·谁可以推荐几本经典的操
关于我们 | 联系方式 | 广告合作 | 诚聘英才 | 网站地图 | 友情链接 | 免费注册

Copyright © 2001-2006 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们

京ICP证041476号