INACTIVE - http://mzl.la/ghe-archive - git-bz with a few tweaks for bugzilla.mozilla.org, and other fixes not upstreamed.
Перейти к файлу
Andrew McCreight 6d07e4f41b
Merge pull request #98 from mrbkap/readme-update
Mention that this project depends on an external library.
2017-12-07 14:16:39 -08:00
mozhg Import various code from version-control-tools. 2015-09-23 12:52:48 -07:00
.gitignore Add *~ and *.pyc to .gitignore 2014-04-21 11:13:43 -07:00
COPYING Initial import 2008-11-16 08:20:11 -05:00
Makefile Split out documentation 2009-09-05 09:53:31 -04:00
README.md Mention that this depends on an external library. 2017-12-07 14:01:33 -08:00
TODO Handle redirects 2009-09-09 17:18:34 -04:00
asciidoc.conf Split out documentation 2009-09-05 09:53:31 -04:00
bz.py Import various code from version-control-tools. 2015-09-23 12:52:48 -07:00
bzauth.py explicitly encode for unicode in a bzauth exception 2017-02-02 09:41:56 -08:00
bzexport.py Remove spurious import that causes an error. 2015-09-28 11:02:36 -07:00
git-bz Escape username when getting user details. 2017-09-28 09:10:16 +02:00
git-bz.txt Document 'git bz apply -r <requestee>' 2016-02-25 21:03:17 -05:00
splitreviewer.py Allow dash in reviewer name. 2017-11-01 12:55:57 -07:00

README.md

git-bz-moz

A fork of the git-bz tool with a few tweaks specific to bugzilla.mozilla.org, and other fixes not upstreamed.

To authenticate, you need to specify your bugzilla user name and API key.

You can set your bugzilla user name by running: git config --global bz.username

An API key can be obtained here: https://bugzilla.mozilla.org/userprefs.cgi?tab=apikey Once obtained, set the API key by running: git config --global bz.apikey

Some code is imported from the Mozilla version-control-tools repository, revision 35edcee4c73415fa45ff95ed07bb8129d41821f9 The repository is located at https://hg.mozilla.org/hgcustom/version-control-tools/

  • auth.py is copied from pylib/mozhg/mozhg/
  • bz.py and bzauth.py are copied from hgext/bzexport/
  • bzexport.py is a few pieces of code copied from hgext/bzexport/init.py

In addition, a patch to bzauth.py for bug 1336147 was manually applied.

Note: this project requires the Requests library to be installed.