Blame src/plugins/bugzilla_formatdup.conf

Packit 4f15d5
# Lines starting with # are ignored.
Packit 4f15d5
# Lines can be continued on the next line using trailing backslash.
Packit 4f15d5
#
Packit 4f15d5
# Format:
Packit 4f15d5
# %summary:: summary format
Packit 4f15d5
# section:: element1[,element2]...
Packit 4f15d5
# The literal text line to be added to Bugzilla comment. Can be empty.
Packit 4f15d5
# (IOW: empty lines are NOT ignored!)
Packit 4f15d5
#
Packit 4f15d5
# Summary format is a line of text, where %element% is replaced by
Packit 4f15d5
# text element's content, and [[...%element%...]] block is used only if
Packit 4f15d5
# %element% exists. [[...]] blocks can nest.
Packit 4f15d5
#
Packit 4f15d5
# Sections can be:
Packit 4f15d5
# - %summary: bug summary format string.
Packit 4f15d5
# - %attach: a list of elements to attach.
Packit 4f15d5
# - text, double colon (::) and the list of comma-separated elements.
Packit 4f15d5
#   Text can be empty (":: elem1, elem2, elem3" works),
Packit 4f15d5
#   in this case "Text:" header line will be omitted.
Packit 4f15d5
#
Packit 4f15d5
# Elements can be:
Packit 4f15d5
# - problem directory element names, which get formatted as
Packit 4f15d5
#   <element_name>: <contents>
Packit 4f15d5
#   or
Packit 4f15d5
#   <element_name>:
Packit 4f15d5
#   :<contents>
Packit 4f15d5
#   :<contents>
Packit 4f15d5
#   :<contents>
Packit 4f15d5
# - problem directory element names prefixed by "%bare_",
Packit 4f15d5
#   which is formatted as-is, without "<element_name>:" and colons
Packit 4f15d5
# - %oneline, %multiline, %text wildcards, which select all corresponding
Packit 4f15d5
#   elements for output or attachment
Packit 4f15d5
# - %binary wildcard, valid only for %attach section, instructs to attach
Packit 4f15d5
#   binary elements
Packit 4f15d5
# - problem directory element names prefixed by "-",
Packit 4f15d5
#   which excludes given element from all wildcards
Packit 4f15d5
#
Packit 4f15d5
#   Nonexistent elements are silently ignored.
Packit 4f15d5
#   If none of elements exists, the section will not be created.
Packit 4f15d5
Packit 4f15d5
# When we add a comment to an existing BZ, %summary is ignored
Packit 4f15d5
# (it specifies *new bug* summary field):
Packit 4f15d5
# %summary:: blah blah
Packit 4f15d5
Packit 4f15d5
# When dup is detected, BZ reporter adds a comment to it.
Packit 4f15d5
# This comment may interrupt an ongoing conversation in the BZ.
Packit 4f15d5
# (Three people independently filed a bug against abrt about this).
Packit 4f15d5
# Need to clearly explain what this comment is, to prevent confusion.
Packit 4f15d5
# Hopefully, this line would suffice:
Packit 4f15d5
Similar problem has been detected:
Packit 4f15d5
Packit 4f15d5
# If user filled out comment field, show it:
Packit 4f15d5
:: %bare_comment
Packit 4f15d5
Packit 4f15d5
# var_log_messages has too much variance (time/date),
Packit 4f15d5
# we exclude it from message so that dup message elimination has more chances to work
Packit 4f15d5
:: \
Packit 4f15d5
	-pkg_arch,-pkg_epoch,-pkg_name,-pkg_release,-pkg_version,\
Packit 4f15d5
	-pkg_vendor,-pkg_fingerprint,-component,-architecture,-extra-cc,\
Packit 4f15d5
	-analyzer,-count,-duphash,-uuid,-abrt_version,\
Packit 4f15d5
	-username,-hostname,-os_release,-os_info,\
Packit 4f15d5
	-time,-pid,-pwd,-last_occurrence,-ureports_counter,\
Packit 4f15d5
	-var_log_messages,-tid,\
Packit 4f15d5
	%reporter,\
Packit 4f15d5
	%oneline