|
Matej Habrnal |
d9fef8 |
From d2affaf4d017abe83065d5401a17754ade631436 Mon Sep 17 00:00:00 2001
|
|
Matej Habrnal |
d9fef8 |
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
Matej Habrnal |
d9fef8 |
Date: Fri, 20 Feb 2015 00:27:05 +0100
|
|
Matej Habrnal |
d9fef8 |
Subject: [PATCH 1001/1003] reporter-mantisbt: change default formating file
|
|
Matej Habrnal |
d9fef8 |
for duplicate issues
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
reporter-mantisbt doesn't work well with mantisbt_format.conf as a default
|
|
Matej Habrnal |
d9fef8 |
format conf file for creating duplicate issues because the note which is added
|
|
Matej Habrnal |
d9fef8 |
doesn't contain an 'Additional information' section.
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
Default formating file for duplicate is mantisbt_formatdup.conf
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
Matej Habrnal |
d9fef8 |
---
|
|
Matej Habrnal |
d9fef8 |
src/plugins/reporter-mantisbt.c | 5 +++--
|
|
Matej Habrnal |
d9fef8 |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
diff --git a/src/plugins/reporter-mantisbt.c b/src/plugins/reporter-mantisbt.c
|
|
Matej Habrnal |
d9fef8 |
index d281cdb..dc9968f 100644
|
|
Matej Habrnal |
d9fef8 |
--- a/src/plugins/reporter-mantisbt.c
|
|
Matej Habrnal |
d9fef8 |
+++ b/src/plugins/reporter-mantisbt.c
|
|
Matej Habrnal |
d9fef8 |
@@ -253,7 +253,8 @@ int main(int argc, char **argv)
|
|
Matej Habrnal |
d9fef8 |
"\nRecognized boolean parameter (VALUE should be 1/0, yes/no): SSLVerify, CreatePrivate."
|
|
Matej Habrnal |
d9fef8 |
"\nParameters can be overridden via $Mantisbt_PARAM environment variables."
|
|
Matej Habrnal |
d9fef8 |
"\n"
|
|
Matej Habrnal |
d9fef8 |
- "\nFMTFILE and FMTFILE2 default to "CONF_DIR"/plugins/mantisbt_format.conf"
|
|
Matej Habrnal |
d9fef8 |
+ "\nFMTFILE default to "CONF_DIR"/plugins/mantisbt_format.conf."
|
|
Matej Habrnal |
d9fef8 |
+ "\nFMTFILE2 default to "CONF_DIR"/plugins/mantisbt_formatdup.conf."
|
|
Matej Habrnal |
d9fef8 |
);
|
|
Matej Habrnal |
d9fef8 |
|
|
Matej Habrnal |
d9fef8 |
enum {
|
|
Matej Habrnal |
d9fef8 |
@@ -272,7 +273,7 @@ int main(int argc, char **argv)
|
|
Matej Habrnal |
d9fef8 |
const char *dump_dir_name = ".";
|
|
Matej Habrnal |
d9fef8 |
GList *conf_file = NULL;
|
|
Matej Habrnal |
d9fef8 |
const char *fmt_file = CONF_DIR"/plugins/mantisbt_format.conf";
|
|
Matej Habrnal |
d9fef8 |
- const char *fmt_file2 = fmt_file;
|
|
Matej Habrnal |
d9fef8 |
+ const char *fmt_file2 = CONF_DIR"/plugins/mantisbt_formatdup.conf";
|
|
Matej Habrnal |
d9fef8 |
char *abrt_hash = NULL;
|
|
Matej Habrnal |
d9fef8 |
char *ticket_no = NULL;
|
|
Matej Habrnal |
d9fef8 |
const char *tracker_str = "ABRT Server";
|
|
Matej Habrnal |
d9fef8 |
--
|
|
Matej Habrnal |
d9fef8 |
1.8.3.1
|
|
Matej Habrnal |
d9fef8 |
|