Pybugz
From Gentoo Wiki
(Redirected from Bugz)
Jump to:navigation
Jump to:search
Pybugz is a command line interface to Gentoo Bugzilla.
Installation
Emerge
Install the www-client/pybugz package:
root #
emerge --ask www-client/pybugz
Documentation
Please read man 5 pybugz.d for configuring pybugz. The README on GitHub has general informations. Help about using bugz is available with
user $
bugz <subcommand> -h
The subcommands are: attach, attachment, connections, get, modify, post, search.
Easy configuration for bugs.gentoo.org
pybugz comes with a predefined profile for bugs.gentoo.org except for a required API key. Create an API key in the web interface and write it to the suitable place(s)
- Visit the API keys tab and login if prompted
- Generate a new key and write an optional description
- Edit ~/.bugzrc and add:
FILE
~/.bugzrc
[Gentoo]
<var>key=<api key></var>
- Do this for every user, e.g. root, <user>
Check if everything works with
user $
bugz search arm64
Examples
Attach plain text file $log
to bug $bugnumber
:
user $
bugz attach -c "text/plain" -d "build log" $bugnumber $log