5 Commits

Author SHA1 Message Date
Devendra Gera
1e6c99722a Fix hook behaviour for a brand new repository.
Commitlog generation now works for new repositories with zero existing
commits.

Fixes issue # 2
2010-04-15 19:45:43 +05:30
Devendra Gera
523dd76817 Fix typo in utils.py
Fixes issue 1.
2010-03-20 01:05:09 +05:30
Devendra Gera
7c8f173732 initialize pybugz via overridable init_bugzilla helper
custom hooks can now provide an external init_bugzilla helper when invoking
the gitzilla.hooks.{post_receive,update} hooks. The init_bugzilla function
is passed the bugzilla URL, the username and the password and is expected
to return an instance of bugz.bugzilla.Bugz (from pybugz).

This may be used, among other things, to extend the range of auth options
available to other than those provided by gitzilla. For example, one could
easy implement HTTP Basic auth.
2010-03-14 03:23:32 +05:30
Devendra Gera
e6c1bc0b7f Allow bugzilla username and password to be None and use cookie auth
For custom hooks using gitzilla.hooks.post_receive and
gitzilla.hooks.update, cookie auth can be used now. The cookie file is
generated by pybugz and is at ~/.bugz_cookie
2010-03-14 03:07:43 +05:30
Devendra Gera
c0abda84b7 Initial gitzilla commit. 2010-03-08 00:01:45 +05:30