* git-bugzilla
@ 2008-11-16 21:00 Steve Frécinaux
2008-11-17 1:23 ` git-bugzilla Jakub Narebski
0 siblings, 1 reply; 2+ messages in thread
From: Steve Frécinaux @ 2008-11-16 21:00 UTC (permalink / raw)
To: git
Hi folks,
Here is a chunk of code I wrote a few time ago, to post patches to
bugzilla, modelled mostly after git-format-patch/git-send-email.
You can find it there:
http://code.istique.net/?p=git-bugzilla.git
It is written in perl and requires WWW::Mechanize.
Hope you like it.
Here is an excerpt of the man page:
NAME
----
git-send-bugzilla - Attach patches to a bugzilla bug
SYNOPSIS
--------
'git-send-bugzilla' [OPTIONS] (--dry-run | <bugid>)
<since>[..<until>]
DESCRIPTION
-----------
Attach each commit between <since> and <until> to the bug <bugid>
on GNOME's bugzilla.
If ..<until> is not specified, the head of the current working
tree is implied.
If -n (or bugzilla.numbered in the repository configuration) is
specified, instead of "[PATCH] Subject", the first line is
formatted as "[n/m] Subject".
OPTIONS
-------
-b|--url <url>::
The Bugzilla URL.
-u|--username <username>::
Your Bugzilla user name.
-p|--password <password>::
Your Bugzilla password.
-s|--squash::
Send all the selected commits as a single patch.
-n|--numbered::
Prefix attachment names with [n/m].
--start-number <n>::
Start numbering the patches at <n> instead of 1.
--dry-run::
Don't do anything for real. If you use this option you
shouldn't specify a bug id.
EXAMPLES
--------
git-send-bugzilla -n 12345 master
Extract all commits which are in the current branch but
not in the 'master' branch. Each commit will be attached as
a single patch to the bug #12345
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-bugzilla
2008-11-16 21:00 git-bugzilla Steve Frécinaux
@ 2008-11-17 1:23 ` Jakub Narebski
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Narebski @ 2008-11-17 1:23 UTC (permalink / raw)
To: Steve Frécinaux; +Cc: git
Steve Frécinaux <nudrema@gmail.com> writes:
> Here is a chunk of code I wrote a few time ago, to post patches to
> bugzilla, modelled mostly after git-format-patch/git-send-email.
>
> You can find it there:
> http://code.istique.net/?p=git-bugzilla.git
>
> It is written in perl and requires WWW::Mechanize.
[...]
Added to http://git.or.cz/gitwiki/InterfacesFrontendsAndTools
Thanks.
--
Jakub Narebski
Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-17 1:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-16 21:00 git-bugzilla Steve Frécinaux
2008-11-17 1:23 ` git-bugzilla Jakub Narebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).