CLI and C api to get data from Bugzilla.
Written specificaly for Gentoo bugzilla but (in theory) should work with any bugzilla (patches may be needed for different versions or deploy with extensions).
The primary purpose of this tool is querying data for bug "Queue" length monitoring and graphing.
Set your authentication data in ~/.config/cbugzilla/auth (see cbugzilla -h for the format). And then you can just run
cbugzilla <YourSavedQueryName>
And you get the number of records on STDOUT.
Alternately, you can link with <libcbugzilla/cb.h> and use cbi_t to get the data.
example:
% cbugzilla python-herd 428 % cbugzilla "yac cc'd" 17
for example library usage see main.c
gentoo:
emerge cbugzilla
You can the tarballs from http://dev.gentoo.org/~yac/distfiles/
signing key: F97A36A1
make check