Skip to content

Commit

Permalink
Document API key auth for bugzilla [fix #180]
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Feb 4, 2019
1 parent 08c9277 commit 11cffe5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions did/plugins/bugzilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
Bugzilla stats such as filed, fixed or verified bugs
This plugin uses ``python-bugzilla`` module to gather the stats.
Use the ``bugzilla login`` command to initialize Bugzilla cookies
which then will be used for authentication. Reports will contain
only publicly available issues if cookies are not properly set.
By default reports contain only publicly available issues. Use the
``bugzilla login`` command to initialize Bugzilla cookies or get
an API key from the Preferences_ and store it in the config file
``.config/python-bugzilla/bugzillarc``::
[bugzilla.redhat.com]
api_key=YOUR-API-KEY
Config example::
Expand Down Expand Up @@ -34,6 +38,8 @@
--bz-subscribed Bugs subscribed
--bz-closed Bugs closed
--bz All above
.. _Preferences: https://bugzilla.redhat.com/userprefs.cgi?tab=apikey
"""

from __future__ import absolute_import, unicode_literals
Expand Down

0 comments on commit 11cffe5

Please sign in to comment.