No description, website, or topics provided.
C Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libcbugzilla
src
test
.gitignore
ChangeLog.rst
LICENSE
Makefile.am
README.rst
autogen.sh
configure.ac
libcbugzilla.pc.in

README.rst

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