[dpdk-dev] reenchanting bugzilla with REST commands

Thomas Monjalon thomas at monjalon.net
Sun Apr 26 17:25:56 CEST 2020


Hi,

There are 144 bugs open in
https://bugs.dpdk.org/buglist.cgi?bug_status=__open__&product=DPDK

Some regular effort is required to follow and update the bugs.
If you don't have a bugzilla account on dpdk.org, please go to
	https://bugs.dpdk.org/createaccount.cgi

In case it could motivate some of us using bugzilla more regularly,
please be aware a REST API is available in bugzilla.

The API documentation is quite good:
	https://bugzilla.readthedocs.io/en/latest/api/
For user-authenticated calls, a secret key can be generated at
	https://bugs.dpdk.org/userprefs.cgi?tab=apikey


-- example --
Below is a shell command getting (and formatting) not assigned bugs:

curl -s 'https://bugs.dpdk.org/rest/bug?product=DPDK&status=UNCONFIRMED&status=CONFIRMED&status=IN_PROGRESS&include_fields=id,summary&assigned_to=dev@dpdk.org' | tr -d '"' | sed -e 's,^{bugs:\[{,,' -e 's,}]}$,,' -e 's/},{/\n/g' | sed -e 's/,id:/\n=/' -e 's/^id:\([0-9]*\),\(.*\)/\2\n=\1/' | sed -e 's,^=,\thttps://bugs.dpdk.org/show_bug.cgi?id=,' -e 's,^summary:,,'




More information about the dev mailing list