REPORTER-BUGZILLA(1)
π reporter-bugzilla β NAME β¨
okay so bestie, reporter-bugzilla is the little icon that reports a problem to Bugzilla. that's it, that's the vibe. π (this whole thing lives in the LIBREPORT MANUAL, iykyk.)
π«Ά SYNOPSIS
reporter-bugzilla [-vbf] [-g GROUP]... [-c CONFFILE]... [-F FMTFILE] [-A
FMTFILE2] -d DIR
Or, and hear me out:
reporter-bugzilla [-v] [-c CONFFILE]... [-d DIR] -t[ID] FILE...
Or like this:
reporter-bugzilla [-v] [-c CONFFILE]... [-d DIR] -t[ID] -w
Or finally, the last one:
reporter-bugzilla [-v] [-c CONFFILE]... -h DUPHASH [-p[PRODUCT]]
πΈ DESCRIPTION
so the tool reads the problem directory DIR. then it logs in to Bugzilla and tries to find a bug with the same abrt_hash:HEXSTRING in Whiteboard. lowkey detective energy. π
if such a bug is not found, then a new bug is created. elements of DIR are stored in the bug as part of the bug description or as attachments, depending on their type and size. slay.
otherwise, if such a bug is found and it is marked as CLOSED DUPLICATE, the tool follows the chain of duplicates until it finds a non-DUPLICATE bug. then it adds a new comment to the found bug. π
the URL to the new or modified bug is printed to stdout and recorded in the reported_to element in DIR.
option -t uploads FILEs to the already created bug on the Bugzilla site. the bug ID is retrieved from the directory specified by -d DIR. if problem data in DIR was never reported to Bugzilla, the upload will fail. π (sorry bestie, that's just how it is.)
option -tID uploads FILEs to the bug with the specified ID on the Bugzilla site. -d DIR is ignored.
option -w adds the bugzilla user to the bug's CC list.
option -r sets the last url from reporter_to element which is prefixed with TRACKER_NAME to the URL field. this option is applied only when a new bug is to be filed. the default value is ABRT Server. π
π§ Configuration file
if you don't specify it, CONFFILE defaults to /etc/libreport/plugins/bugzilla.conf and to the user's local ~/.config/libreport/bugzilla.conf. configuration file lines should have PARAM = VALUE format. the parameters are listed below. the user's local configuration overrides the system wide configuration. π
APIKeyβ API key for authentication to the Bugzilla account.BugzillaURLβ Bugzilla HTTP(S) address. (default:https://bugzilla.redhat.com)SSLVerifyβ useyes/true/on/1to verify the server's SSL certificate. (default:yes)Productβ Product bug field value. useful if you needed a different product than the one specified in/etc/os-releaseProductVersionβ Version bug field value. useful if you needed a different product version than the one specified in/etc/os-release
parameters can be overridden via $Bugzilla_PARAM environment variables. β¨
π Formatting configuration files
lines starting with # are ignored.
lines can be continued on the next line using a trailing backslash.
format:
"%summary
summary format"
"section
element1[,element2]..."
the literal text line to be added to the Bugzilla comment. can be empty. (Empty lines are NOT ignored! β yes bestie, for real, they are not ignored, do not come for me π)
- Summary format is a line of text, where
%element%is replaced by the text element's content, and[[...%element%...]]block is used only if%element%exists.[[...]]blocks can nest. πͺ - Sections can be:
%summary: bug summary format string.%attach: a list of elements to attach.- text, double colon (
::) and the list of comma-separated elements.
- Elements can be:
- problem directory element names, which get formatted as
<element_name>: <contents>
or
<element_name>:
:<contents>
:<contents>
:<contents>
- problem directory element names prefixed by
%bare_, which is formatted as-is, without<element_name>:and colons %oneline,%multiline,%textwildcards, which select all corresponding elements for output or attachment%binarywildcard, valid only for the%attachsection, which instructs to attach binary elements- problem directory element names prefixed by
-, which excludes the given element from all wildcards
nonexistent elements are silently ignored. π if none of the elements exists, the section will not be created.
β Integration with ABRT events
reporter-bugzilla can be used as an ABRT reporter. here's an example fragment for /etc/libreport/report_event.conf:
# Report Python crashes
EVENT=report_Bugzilla analyzer=Python
reporter-bugzilla -d . -c /etc/libreport/plugins/bugzilla.conf
π OPTIONS
-d DIRβ path to the problem directory.-c CONFFILEβ path to the configuration file.-bβ when creating a bug, attach binary files too. ποΈ-fβ force reporting even if this problem is already reported.-F CONF_FORMAT_FILEβ formatting file for the initial comment. Default:/etc/libreport/plugins/bugzilla_format.conf-A CONF_FORMAT_FILEβ formatting file for duplicates. Default:/etc/libreport/plugins/bugzilla_format.conf-t[ID]β uploadFILEs to the already created bug on the Bugzilla site.-wβ add the bugzilla user to the CC list [of the bug with this ID]. applicable only with-t.-h,--duphash DUPHASHβ search in Bugzilla by abrt'sDUPHASHand printBUG_ID. π-p[PRODUCT],--product[PRODUCT]β specify a Bugzilla's product (ignored without-h). Default:"Fedora". if only-por--productwithoutPRODUCTis presented, either the value from the environment variableBugzilla_Productin the first place or theREDHAT_BUGZILLA_PRODUCTvalue from/etc/os-releaseis used.-g,--group GROUPβ when creating a new ticket, restrict access to this group only. π
π ENVIRONMENT VARIABLES
environment variables take precedence over values provided in the configuration file. periodt.
Bugzilla_APIKeyβ API key for authentication to the Bugzilla account.Bugzilla_BugzillaURLβ Bugzilla HTTP(S) address. (default:https://bugzilla.redhat.com)Bugzilla_SSLVerifyβ useyes/true/on/1to verify the server's SSL certificate. (default:yes)Bugzilla_Productβ Product bug field value. useful if you needed a different product than the one specified in/etc/os-releaseBugzilla_ProductVersionβ Version bug field value. useful if you needed a different product version than the one specified in/etc/os-releaseBugzilla_PrivateGroupsβ list of Bugzilla group names that will be set to the new bug ifBugzilla_CreatePrivateequalsyesBugzilla_CreatePrivateβ useyes/noto control whether the new bug should have the groups listed inBugzilla_PrivateGroupssetBugzilla_DontMatchComponentsβ comma-separated list of package components (e.g.selinux-policy,anaconda) for whichreporter-bugzillashould not use Bugzilla component match when searching for duplicate bug reports.http_proxyβ the proxy server to use for HTTPHTTPS_PROXYβ the proxy server to use for HTTPS
π¦ FILES
/usr/share/libreport/conf.d/plugins/bugzilla.confβ readonly default configuration files./etc/libreport/plugins/bugzilla.confβ configuration file.~/.config/libreport/bugzilla.confβ user's local configuration file./etc/libreport/plugins/bugzilla_format.confβ configure formatting for reporting.
π SEE ALSO
report_event.conf(5), bugzilla_format.conf(5)
π AUTHORS
- ABRT team
and that's the whole page bestie, no cap. this was LIBREPORT 2.17.15, dated 07/15/2024 β go forth and file those bugs π π₯π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: libreport-plugin-bugzilla 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-bugzilla 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-bugzilla 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-bugzilla 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms