Blame tests/p_abrt-cli/_mantisbt_formatdup.conf

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