|
Matej Habrnal |
d9fef8 |
From 24938820521b3742f5ff954a889e7864256dc811 Mon Sep 17 00:00:00 2001
|
|
Matej Habrnal |
d9fef8 |
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
Matej Habrnal |
d9fef8 |
Date: Fri, 20 Feb 2015 03:14:54 +0100
|
|
Matej Habrnal |
d9fef8 |
Subject: [PATCH 1003/1003] reporter-mantisbt: adds man pages for
|
|
Matej Habrnal |
d9fef8 |
reporter-mantisbt
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
Conflicts:
|
|
Matej Habrnal |
d9fef8 |
doc/Makefile.am
|
|
Matej Habrnal |
d9fef8 |
---
|
|
Matej Habrnal |
d9fef8 |
doc/Makefile.am | 13 ++-
|
|
Matej Habrnal |
d9fef8 |
doc/centos_report_event.conf.5 | 1 +
|
|
Matej Habrnal |
d9fef8 |
doc/mantisbt.conf.txt | 18 +++
|
|
Matej Habrnal |
d9fef8 |
doc/mantisbt_format.conf.txt | 18 +++
|
|
Matej Habrnal |
d9fef8 |
doc/mantisbt_formatdup.conf.txt | 18 +++
|
|
Matej Habrnal |
d9fef8 |
doc/report_CentOSBugTracker.conf.txt | 45 +++++++
|
|
Matej Habrnal |
d9fef8 |
doc/report_centos.conf.txt | 41 +++++++
|
|
Matej Habrnal |
d9fef8 |
doc/reporter-mantisbt.txt | 219 +++++++++++++++++++++++++++++++++++
|
|
Matej Habrnal |
d9fef8 |
8 files changed, 371 insertions(+), 2 deletions(-)
|
|
Matej Habrnal |
d9fef8 |
create mode 100644 doc/centos_report_event.conf.5
|
|
Matej Habrnal |
d9fef8 |
create mode 100644 doc/mantisbt.conf.txt
|
|
Matej Habrnal |
d9fef8 |
create mode 100644 doc/mantisbt_format.conf.txt
|
|
Matej Habrnal |
d9fef8 |
create mode 100644 doc/mantisbt_formatdup.conf.txt
|
|
Matej Habrnal |
d9fef8 |
create mode 100644 doc/report_CentOSBugTracker.conf.txt
|
|
Matej Habrnal |
d9fef8 |
create mode 100644 doc/report_centos.conf.txt
|
|
Matej Habrnal |
d9fef8 |
create mode 100644 doc/reporter-mantisbt.txt
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
|
Matej Habrnal |
d9fef8 |
index da4785e..b574a41 100644
|
|
Matej Habrnal |
d9fef8 |
--- a/doc/Makefile.am
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/Makefile.am
|
|
Matej Habrnal |
d9fef8 |
@@ -25,6 +25,7 @@ MAN1_TXT += reporter-print.txt
|
|
Matej Habrnal |
d9fef8 |
MAN1_TXT += reporter-rhtsupport.txt
|
|
Matej Habrnal |
d9fef8 |
MAN1_TXT += reporter-upload.txt
|
|
Matej Habrnal |
d9fef8 |
MAN1_TXT += reporter-ureport.txt
|
|
Matej Habrnal |
d9fef8 |
+MAN1_TXT += reporter-mantisbt.txt
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT =
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += anaconda_event.conf.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -37,6 +38,9 @@ MAN5_TXT += bugzilla_formatdup_anaconda.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += bugzilla_formatdup.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += bugzilla_format_kernel.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += bugzilla_format_libreport.conf.txt
|
|
Matej Habrnal |
d9fef8 |
+MAN5_TXT += mantisbt.conf.txt
|
|
Matej Habrnal |
d9fef8 |
+MAN5_TXT += mantisbt_format.conf.txt
|
|
Matej Habrnal |
d9fef8 |
+MAN5_TXT += mantisbt_formatdup.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += emergencyanalysis_event.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += forbidden_words.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += mailx.conf.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -45,20 +49,25 @@ MAN5_TXT += print_event.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_Bugzilla.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_event.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_fedora.conf.txt
|
|
Matej Habrnal |
d9fef8 |
+MAN5_TXT += report_centos.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_Logger.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_rhel.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_rhel_bugzilla.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_logger.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_mailx.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += report_uploader.conf.txt
|
|
Matej Habrnal |
d9fef8 |
+MAN5_TXT += report_CentOSBugTracker.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += rhtsupport.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += rhtsupport_event.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += uploader_event.conf.txt
|
|
Matej Habrnal |
d9fef8 |
MAN5_TXT += ureport.conf.txt
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
+MAN5_PREFORMATTED =
|
|
Matej Habrnal |
d9fef8 |
+MAN5_PREFORMATTED += centos_report_event.conf.5
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
# Manual pages are generated from .txt via Docbook
|
|
Matej Habrnal |
d9fef8 |
man1_MANS = ${MAN1_TXT:%.txt=%.1}
|
|
Matej Habrnal |
d9fef8 |
-man5_MANS = ${MAN5_TXT:%.txt=%.5}
|
|
Matej Habrnal |
d9fef8 |
+man5_MANS = ${MAN5_TXT:%.txt=%.5} ${MAN5_PREFORMATTED}
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
SUFFIXES = .1 .5
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
@@ -73,5 +82,5 @@ SUFFIXES = .1 .5
|
|
Matej Habrnal |
d9fef8 |
--conf-file ../asciidoc.conf \
|
|
Matej Habrnal |
d9fef8 |
-alibreport_version=$(PACKAGE_VERSION) -o $@ $<
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
-EXTRA_DIST = $(MAN1_TXT) $(MAN5_TXT)
|
|
Matej Habrnal |
d9fef8 |
+EXTRA_DIST = $(MAN1_TXT) $(MAN5_TXT) $(MAN5_PREFORMATTED)
|
|
Matej Habrnal |
d9fef8 |
CLEANFILES = $(man1_MANS)
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/centos_report_event.conf.5 b/doc/centos_report_event.conf.5
|
|
Matej Habrnal |
d9fef8 |
new file mode 100644
|
|
Matej Habrnal |
d9fef8 |
index 0000000..71c3fcb
|
|
Matej Habrnal |
d9fef8 |
--- /dev/null
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/centos_report_event.conf.5
|
|
Matej Habrnal |
d9fef8 |
@@ -0,0 +1 @@
|
|
Matej Habrnal |
d9fef8 |
+.so man5/report_event.conf.5
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/mantisbt.conf.txt b/doc/mantisbt.conf.txt
|
|
Matej Habrnal |
d9fef8 |
new file mode 100644
|
|
Matej Habrnal |
d9fef8 |
index 0000000..d4ba605
|
|
Matej Habrnal |
d9fef8 |
--- /dev/null
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/mantisbt.conf.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -0,0 +1,18 @@
|
|
Matej Habrnal |
d9fef8 |
+mantisbt.conf(5)
|
|
Matej Habrnal |
d9fef8 |
+===============
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+NAME
|
|
Matej Habrnal |
d9fef8 |
+----
|
|
Matej Habrnal |
d9fef8 |
+mantisbt.conf - configuration file for libreport.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+DESCRIPTION
|
|
Matej Habrnal |
d9fef8 |
+-----------
|
|
Matej Habrnal |
d9fef8 |
+This configuration file provides default configuration for 'reporter-mantisbt'.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+SEE ALSO
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+reporter-mantisbt(1)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+AUTHOR
|
|
Matej Habrnal |
d9fef8 |
+------
|
|
Matej Habrnal |
d9fef8 |
+* ABRT team
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/mantisbt_format.conf.txt b/doc/mantisbt_format.conf.txt
|
|
Matej Habrnal |
d9fef8 |
new file mode 100644
|
|
Matej Habrnal |
d9fef8 |
index 0000000..860d911
|
|
Matej Habrnal |
d9fef8 |
--- /dev/null
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/mantisbt_format.conf.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -0,0 +1,18 @@
|
|
Matej Habrnal |
d9fef8 |
+mantisbt_format.conf(5)
|
|
Matej Habrnal |
d9fef8 |
+=======================
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+NAME
|
|
Matej Habrnal |
d9fef8 |
+----
|
|
Matej Habrnal |
d9fef8 |
+mantisbt_format.conf - configuration file for libreport.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+DESCRIPTION
|
|
Matej Habrnal |
d9fef8 |
+-----------
|
|
Matej Habrnal |
d9fef8 |
+This configuration file provides definition of general formatting for new MantisBT issues.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+SEE ALSO
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+reporter-mantisbt(1)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+AUTHOR
|
|
Matej Habrnal |
d9fef8 |
+------
|
|
Matej Habrnal |
d9fef8 |
+* ABRT Team
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/mantisbt_formatdup.conf.txt b/doc/mantisbt_formatdup.conf.txt
|
|
Matej Habrnal |
d9fef8 |
new file mode 100644
|
|
Matej Habrnal |
d9fef8 |
index 0000000..a617226
|
|
Matej Habrnal |
d9fef8 |
--- /dev/null
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/mantisbt_formatdup.conf.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -0,0 +1,18 @@
|
|
Matej Habrnal |
d9fef8 |
+mantisbt_formatdup.conf(5)
|
|
Matej Habrnal |
d9fef8 |
+==========================
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+NAME
|
|
Matej Habrnal |
d9fef8 |
+----
|
|
Matej Habrnal |
d9fef8 |
+mantisbt_formatdup.conf - configuration file for libreport.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+DESCRIPTION
|
|
Matej Habrnal |
d9fef8 |
+-----------
|
|
Matej Habrnal |
d9fef8 |
+This configuration file provides definition of general formatting for duplicate MantisBT issues.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+SEE ALSO
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+reporter-mantisbt(1)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+AUTHOR
|
|
Matej Habrnal |
d9fef8 |
+------
|
|
Matej Habrnal |
d9fef8 |
+* ABRT Team
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/report_CentOSBugTracker.conf.txt b/doc/report_CentOSBugTracker.conf.txt
|
|
Matej Habrnal |
d9fef8 |
new file mode 100644
|
|
Matej Habrnal |
d9fef8 |
index 0000000..6ba35d3
|
|
Matej Habrnal |
d9fef8 |
--- /dev/null
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/report_CentOSBugTracker.conf.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -0,0 +1,45 @@
|
|
Matej Habrnal |
d9fef8 |
+report_CentOSBugTracker.conf(5)
|
|
Matej Habrnal |
d9fef8 |
+===============================
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+NAME
|
|
Matej Habrnal |
d9fef8 |
+----
|
|
Matej Habrnal |
d9fef8 |
+report_CentOSBugTracker.conf - libreport's configuration file for 'report_CentOSBugTracker' events.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+DESCRIPTION
|
|
Matej Habrnal |
d9fef8 |
+-----------
|
|
Matej Habrnal |
d9fef8 |
+This configuration file contains values for options defined in
|
|
Matej Habrnal |
d9fef8 |
+/usr/share/libreport/events/report_CentOSBugTracker.xml
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Configuration file lines should have 'PARAM = VALUE' format. The parameters are:
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_Login'::
|
|
Matej Habrnal |
d9fef8 |
+ Login to MantisBT account.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_Password'::
|
|
Matej Habrnal |
d9fef8 |
+ Password to MantisBT account.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_MantisbtURL'::
|
|
Matej Habrnal |
d9fef8 |
+ MantisBT HTTP(S) address. (default: https://bugs.centos.org)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_SSLVerify'::
|
|
Matej Habrnal |
d9fef8 |
+ Use yes/true/on/1 to verify server's SSL certificate. (default: yes)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_Project'::
|
|
Matej Habrnal |
d9fef8 |
+ Project issue field value. Useful if you needed different project than specified in /etc/os-release
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_ProjectVersion'::
|
|
Matej Habrnal |
d9fef8 |
+ Version issue field value. Useful if you needed different project version than specified in /etc/os-release
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'http_proxy'::
|
|
Matej Habrnal |
d9fef8 |
+ the proxy server to use for HTTP
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'HTTPS_PROXY'::
|
|
Matej Habrnal |
d9fef8 |
+ the proxy server to use for HTTPS
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+SEE ALSO
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+report_event.conf(5), reporter-mantisbt(1)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+AUTHOR
|
|
Matej Habrnal |
d9fef8 |
+------
|
|
Matej Habrnal |
d9fef8 |
+* ABRT team
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/report_centos.conf.txt b/doc/report_centos.conf.txt
|
|
Matej Habrnal |
d9fef8 |
new file mode 100644
|
|
Matej Habrnal |
d9fef8 |
index 0000000..23a5fde
|
|
Matej Habrnal |
d9fef8 |
--- /dev/null
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/report_centos.conf.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -0,0 +1,41 @@
|
|
Matej Habrnal |
d9fef8 |
+report_centos.conf(5)
|
|
Matej Habrnal |
d9fef8 |
+=====================
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+NAME
|
|
Matej Habrnal |
d9fef8 |
+----
|
|
Matej Habrnal |
d9fef8 |
+report_centos.conf - configuration file for libreport.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+DESCRIPTION
|
|
Matej Habrnal |
d9fef8 |
+-----------
|
|
Matej Habrnal |
d9fef8 |
+This configuration file specifies which of the reporting work flow definitions
|
|
Matej Habrnal |
d9fef8 |
+are applicable for all problems types on CentOS.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+All applicable work flows are presented to users in User Interface as
|
|
Matej Habrnal |
d9fef8 |
+possibilities for processing of any problems. A particular work flow becomes
|
|
Matej Habrnal |
d9fef8 |
+applicable if its conditions are satisfied.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+This configuration file consists from one condition per line.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Each condition line must start with EVENT=workflow_NAME where "workflow_" is
|
|
Matej Habrnal |
d9fef8 |
+constant prefix and "workflow_NAME" is base name of path to reporting work flow
|
|
Matej Habrnal |
d9fef8 |
+configuration file.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+The rest of condition line has form VAR=VAL, VAR!=VAL or VAL~=REGEX, where VAR
|
|
Matej Habrnal |
d9fef8 |
+is a name of problem directory element to be checked (for example,
|
|
Matej Habrnal |
d9fef8 |
+"executable", "package", hostname" etc). The condition may consists
|
|
Matej Habrnal |
d9fef8 |
+from as many element checks as it is necessary.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+EXAMPLES
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+Condition line::
|
|
Matej Habrnal |
d9fef8 |
+ EVENT=workflow_CentOSCCpp analyzer=CCpp
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+The condition line above expects existence of /usr/share/libreport/workflows/workflow_CentOSCCpp.xml
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+SEE ALSO
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+report-gtk(1)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+AUTHOR
|
|
Matej Habrnal |
d9fef8 |
+------
|
|
Matej Habrnal |
d9fef8 |
+* ABRT team
|
|
Matej Habrnal |
d9fef8 |
diff --git a/doc/reporter-mantisbt.txt b/doc/reporter-mantisbt.txt
|
|
Matej Habrnal |
d9fef8 |
new file mode 100644
|
|
Matej Habrnal |
d9fef8 |
index 0000000..92255b0
|
|
Matej Habrnal |
d9fef8 |
--- /dev/null
|
|
Matej Habrnal |
d9fef8 |
+++ b/doc/reporter-mantisbt.txt
|
|
Matej Habrnal |
d9fef8 |
@@ -0,0 +1,219 @@
|
|
Matej Habrnal |
d9fef8 |
+reporter-mantisbt(1)
|
|
Matej Habrnal |
d9fef8 |
+====================
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+NAME
|
|
Matej Habrnal |
d9fef8 |
+----
|
|
Matej Habrnal |
d9fef8 |
+reporter-mantisbt - Reports problem to Mantis Bug Tracker.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+SYNOPSIS
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+'reporter-mantisbt' [-vrf] [-c CONFFILE]... [-F FMTFILE] [-A FMTFILE2] -d DIR
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Or:
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'reporter-mantisbt' [-v] [-c CONFFILE]... [-d DIR] -t[ID] FILE...
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Or:
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'reporter-mantisbt' [-v] [-c CONFFILE]... -h DUPHASH
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+DESCRIPTION
|
|
Matej Habrnal |
d9fef8 |
+-----------
|
|
Matej Habrnal |
d9fef8 |
+The tool reads problem directory DIR. Then it logs in to MantisBT
|
|
Matej Habrnal |
d9fef8 |
+and tries to find an issue with the same duphash HEXSTRING in 'abrt_hash' field.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+If such issue is not found, then a new issue is created. Elements of DIR
|
|
Matej Habrnal |
d9fef8 |
+are stored in the issue as part of issue description or as attachments,
|
|
Matej Habrnal |
d9fef8 |
+depending on their type and size.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Otherwise, if such issue is found and it is marked as CLOSED DUPLICATE,
|
|
Matej Habrnal |
d9fef8 |
+the tool follows the chain of duplicates until it finds a non-DUPLICATE issue.
|
|
Matej Habrnal |
d9fef8 |
+The tool adds a new note to found issue.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+The URL to new or modified issue is printed to stdout and recorded in
|
|
Matej Habrnal |
d9fef8 |
+'reported_to' element in DIR.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Option -t uploads FILEs to the already created issue on MantisBT site.
|
|
Matej Habrnal |
d9fef8 |
+The issue ID is retrieved from directory specified by -d DIR.
|
|
Matej Habrnal |
d9fef8 |
+If problem data in DIR was never reported to MantisBT, upload will fail.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Option -tID uploads FILEs to the issue with specified ID on MantisBT site.
|
|
Matej Habrnal |
d9fef8 |
+-d DIR is ignored.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Option -r sets the last url from reporter_to element which is prefixed with
|
|
Matej Habrnal |
d9fef8 |
+TRACKER_NAME to URL field. This option is applied only when a new issue is to be
|
|
Matej Habrnal |
d9fef8 |
+filed. The default value is 'ABRT Server'"
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Configuration file
|
|
Matej Habrnal |
d9fef8 |
+~~~~~~~~~~~~~~~~~~
|
|
Matej Habrnal |
d9fef8 |
+If not specified, CONFFILE defaults to /etc/libreport/plugins/mantisbt.conf.
|
|
Matej Habrnal |
d9fef8 |
+Configuration file lines should have 'PARAM = VALUE' format. The parameters are:
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Login'::
|
|
Matej Habrnal |
d9fef8 |
+ Login to MantisBT account.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Password'::
|
|
Matej Habrnal |
d9fef8 |
+ Password to MantisBT account.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'MantisbtURL'::
|
|
Matej Habrnal |
d9fef8 |
+ MantisBT HTTP(S) address. (default: http://localhost/mantisbt)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'SSLVerify'::
|
|
Matej Habrnal |
d9fef8 |
+ Use yes/true/on/1 to verify server's SSL certificate. (default: no)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Project'::
|
|
Matej Habrnal |
d9fef8 |
+ Project issue field value. Useful if you needed different project than specified in /etc/os-release
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'ProjectVersion'::
|
|
Matej Habrnal |
d9fef8 |
+ Version issue field value. Useful if you needed different project version than specified in /etc/os-release
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'CreatePrivate'::
|
|
Matej Habrnal |
d9fef8 |
+ Create private MantisBT issue. (default: no)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Parameters can be overridden via $Mantisbt_PARAM environment variables.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Formatting configuration files
|
|
Matej Habrnal |
d9fef8 |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Matej Habrnal |
d9fef8 |
+Lines starting with # are ignored.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Lines can be continued on the next line using trailing backslash.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Format:
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ "%summary:: summary format"
|
|
Matej Habrnal |
d9fef8 |
+ "section:: element1[,element2]..."
|
|
Matej Habrnal |
d9fef8 |
+ The literal text line to be added to MantisBT Description or Additional information. Can be empty.
|
|
Matej Habrnal |
d9fef8 |
+ (Empty lines are NOT ignored!)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ Summary format is a line of text, where %element% is replaced by
|
|
Matej Habrnal |
d9fef8 |
+ text element's content, and [[...%element%...]] block is used only if
|
|
Matej Habrnal |
d9fef8 |
+ %element% exists. [[...]] blocks can nest.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ Sections can be:
|
|
Matej Habrnal |
d9fef8 |
+ - %summary: issue Summary format string.
|
|
Matej Habrnal |
d9fef8 |
+ - %attach: a list of elements to attach.
|
|
Matej Habrnal |
d9fef8 |
+ - %Additional info: issue Additional Information content.
|
|
Matej Habrnal |
d9fef8 |
+ - text, double colon (::) and the list of comma-separated elements.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ Description and Additional information MantisBT's fields:
|
|
Matej Habrnal |
d9fef8 |
+ All text, double colons (::) and lists of comma-separated elements which
|
|
Matej Habrnal |
d9fef8 |
+ are placed above the section '%Additional info::' in the configuration file are
|
|
Matej Habrnal |
d9fef8 |
+ stored in the 'Description' field in MantisBT. All text etc. which are placed
|
|
Matej Habrnal |
d9fef8 |
+ under the '%Additional info::' are stored in the 'Additional information' field.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ For example:
|
|
Matej Habrnal |
d9fef8 |
+ |:: comment | (Description)
|
|
Matej Habrnal |
d9fef8 |
+ | | (Description)
|
|
Matej Habrnal |
d9fef8 |
+ |Package:: package | (Description)
|
|
Matej Habrnal |
d9fef8 |
+ | | (Description)
|
|
Matej Habrnal |
d9fef8 |
+ |%Additional_info:: |
|
|
Matej Habrnal |
d9fef8 |
+ |%reporter% | (Additional info)
|
|
Matej Habrnal |
d9fef8 |
+ |User:: user_name,uid | (Additional info)
|
|
Matej Habrnal |
d9fef8 |
+ | | (Additional info)
|
|
Matej Habrnal |
d9fef8 |
+ |Directories:: root,cwd | (Additional info)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ Elements can be:
|
|
Matej Habrnal |
d9fef8 |
+ - problem directory element names, which get formatted as
|
|
Matej Habrnal |
d9fef8 |
+ <element_name>: <contents>
|
|
Matej Habrnal |
d9fef8 |
+ or
|
|
Matej Habrnal |
d9fef8 |
+ <element_name>:
|
|
Matej Habrnal |
d9fef8 |
+ :<contents>
|
|
Matej Habrnal |
d9fef8 |
+ :<contents>
|
|
Matej Habrnal |
d9fef8 |
+ :<contents>
|
|
Matej Habrnal |
d9fef8 |
+ - problem directory element names prefixed by "%bare_",
|
|
Matej Habrnal |
d9fef8 |
+ which is formatted as-is, without "<element_name>:" and colons
|
|
Matej Habrnal |
d9fef8 |
+ - %oneline, %multiline, %text wildcards, which select all corresponding
|
|
Matej Habrnal |
d9fef8 |
+ elements for output or attachment
|
|
Matej Habrnal |
d9fef8 |
+ - %binary wildcard, valid only for %attach section, instructs to attach
|
|
Matej Habrnal |
d9fef8 |
+ binary elements
|
|
Matej Habrnal |
d9fef8 |
+ - problem directory element names prefixed by "-",
|
|
Matej Habrnal |
d9fef8 |
+ which excludes given element from all wildcards
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ Nonexistent elements are silently ignored.
|
|
Matej Habrnal |
d9fef8 |
+ If none of elements exists, the section will not be created.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+Integration with ABRT events
|
|
Matej Habrnal |
d9fef8 |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Matej Habrnal |
d9fef8 |
+'reporter-mantisbt' can be used as an ABRT reporter. Example
|
|
Matej Habrnal |
d9fef8 |
+fragment for /etc/libreport/report_event.conf:
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+------------
|
|
Matej Habrnal |
d9fef8 |
+# Report Python crashes
|
|
Matej Habrnal |
d9fef8 |
+EVENT=report_CentOSBugTracker analyzer=Python
|
|
Matej Habrnal |
d9fef8 |
+ reporter-mantisbt -d . -c /etc/libreport/plugins/mantisbt.conf
|
|
Matej Habrnal |
d9fef8 |
+------------
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+OPTIONS
|
|
Matej Habrnal |
d9fef8 |
+-------
|
|
Matej Habrnal |
d9fef8 |
+-d DIR::
|
|
Matej Habrnal |
d9fef8 |
+ Path to problem directory.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+-c CONFFILE::
|
|
Matej Habrnal |
d9fef8 |
+ Path to configuration file.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+-f::
|
|
Matej Habrnal |
d9fef8 |
+ Force reporting even if this problem is already reported.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+-F CONF_FORMAT_FILE::
|
|
Matej Habrnal |
d9fef8 |
+ Formatting file for new issues. Default: /etc/libreport/plugins/mantisbt_format.conf
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+-A CONF_FORMAT_FILE::
|
|
Matej Habrnal |
d9fef8 |
+ Formatting file for duplicates. Default: /etc/libreport/plugins/mantisbt_formatdup.conf
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+-t[ID]::
|
|
Matej Habrnal |
d9fef8 |
+ Upload FILEs to the already created issue on MantisBT site.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+-h::
|
|
Matej Habrnal |
d9fef8 |
+--duphash DUPHASH::
|
|
Matej Habrnal |
d9fef8 |
+ Search in MantisBT by abrt's DUPHASH and print ISSUE_ID.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+-r TRACKER_NAME::
|
|
Matej Habrnal |
d9fef8 |
+ Set the last url from reporter_to element which is prefixed with TRACKER_NAME to URL field in MantisBT.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+ENVIRONMENT VARIABLES
|
|
Matej Habrnal |
d9fef8 |
+---------------------
|
|
Matej Habrnal |
d9fef8 |
+Environment variables take precedence over values provided in
|
|
Matej Habrnal |
d9fef8 |
+the configuration file.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_Login'::
|
|
Matej Habrnal |
d9fef8 |
+ Login to MantisBT account.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_Password'::
|
|
Matej Habrnal |
d9fef8 |
+ Password to MantisBT account.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_MantisbtURL'::
|
|
Matej Habrnal |
d9fef8 |
+ MantisBT HTTP(S) address. (default: http://localhost/mantisbt)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_SSLVerify'::
|
|
Matej Habrnal |
d9fef8 |
+ Use yes/true/on/1 to verify server's SSL certificate. (default: no)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_Project'::
|
|
Matej Habrnal |
d9fef8 |
+ Project issue field value. Useful if you needed different project than specified in /etc/os-release
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_ProjectVersion'::
|
|
Matej Habrnal |
d9fef8 |
+ Version issue field value. Useful if you needed different project version than specified in /etc/os-release
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+'Mantisbt_CreatePrivate'::
|
|
Matej Habrnal |
d9fef8 |
+ Create private MantisBT issue. (default: no)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+FILES
|
|
Matej Habrnal |
d9fef8 |
+-----
|
|
Matej Habrnal |
d9fef8 |
+/usr/share/libreport/conf.d/plugins/mantisbt.conf::
|
|
Matej Habrnal |
d9fef8 |
+ Readonly default configuration files.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+/etc/libreport/plugins/mantisbt.conf::
|
|
Matej Habrnal |
d9fef8 |
+ Configuration file.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+/etc/libreport/plugins/mantisbt_format.conf::
|
|
Matej Habrnal |
d9fef8 |
+ Configure formating for reporting.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+/etc/libreport/plugins/mantisbt_formatdup.conf::
|
|
Matej Habrnal |
d9fef8 |
+ Configure formating for reporting duplicates.
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+SEE ALSO
|
|
Matej Habrnal |
d9fef8 |
+--------
|
|
Matej Habrnal |
d9fef8 |
+report_event.conf(5), mantisbt_format.conf(5), mantisbt_formatdup.conf(5)
|
|
Matej Habrnal |
d9fef8 |
+
|
|
Matej Habrnal |
d9fef8 |
+AUTHORS
|
|
Matej Habrnal |
d9fef8 |
+-------
|
|
Matej Habrnal |
d9fef8 |
+* ABRT team
|
|
Matej Habrnal |
d9fef8 |
--
|
|
Matej Habrnal |
d9fef8 |
1.8.3.1
|
|
Matej Habrnal |
d9fef8 |
|