Mercurial > hg
comparison COPYING @ 30923:78de43ab585f
bugzilla: add a rest api backend (usable with bugzilla 5.0+)
Add support for the bugzilla rest api documented at
https://wiki.mozilla.org/Bugzilla:REST_API
and at
https://bugzilla.readthedocs.io/en/latest/
This backend has the following benefits:
* It supports the bugzilla api keys so hgrc does not need to contain
a user's bugzilla password
* Works with Mercurial's "hostfingerprints" support making handling
bugzilla instances with self-signed certs easier
* Does not use xmlrpc ;-)
Adds configuration item 'apikey' in [bugzilla] section.
My major concern with these patches is if the approach to HTTP access
is the right way for an extension and if hooking into request object
and the overriding the get_method to perform PUT requests was a
sensible approach.
# no-check-commit
author | John Mulligan <phlogistonjohn@asynchrono.us> |
---|---|
date | Thu, 09 Feb 2017 15:20:41 -0500 |
parents | 8c8b55733cbd |
children |
comparison
equal
deleted
inserted
replaced
30922:1beeb5185930 | 30923:78de43ab585f |
---|