Skip to content

jan-matejka/cbugzilla

Repository files navigation

CBugzilla

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.

Usage

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

Install

gentoo:

emerge cbugzilla

Source download

You can the tarballs from http://dev.gentoo.org/~yac/distfiles/

signing key: F97A36A1

Tests

make check

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published