Blame SOURCES/0220-reporter-ureport-change-default-URL-to-FAF.patch

e7f1a6
From ee2446d94b1355b4c5cbfce97a126e6ddc0c8241 Mon Sep 17 00:00:00 2001
e7f1a6
From: Matej Habrnal <mhabrnal@redhat.com>
e7f1a6
Date: Wed, 9 Aug 2017 16:16:51 +0200
e7f1a6
Subject: [PATCH] reporter-ureport: change default URL to FAF
e7f1a6
e7f1a6
Since internal FAF migrated from ITOS, the default
e7f1a6
URL (http://bug-report.itos.redhat.com) is deprecated.
e7f1a6
e7f1a6
Related to #1463313
e7f1a6
e7f1a6
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
e7f1a6
---
e7f1a6
 src/plugins/report_uReport.xml.in |  2 +-
e7f1a6
 src/plugins/reporter-ureport.c    |  2 +-
e7f1a6
 src/plugins/ureport.conf          |  2 +-
e7f1a6
 tests/make_description.at         | 10 +++++-----
e7f1a6
 4 files changed, 8 insertions(+), 8 deletions(-)
e7f1a6
e7f1a6
diff --git a/src/plugins/report_uReport.xml.in b/src/plugins/report_uReport.xml.in
e7f1a6
index b997851..49ba8ce 100644
e7f1a6
--- a/src/plugins/report_uReport.xml.in
e7f1a6
+++ b/src/plugins/report_uReport.xml.in
e7f1a6
@@ -12,7 +12,7 @@
e7f1a6
             <_label>uReport Server URL</_label>
e7f1a6
             <allow-empty>no</allow-empty>
e7f1a6
             <_description>Address of uReport webservice</_description>
e7f1a6
-            <default-value>http://bug-report.itos.redhat.com</default-value>
e7f1a6
+            <default-value>http://bug-report.redhat.com</default-value>
e7f1a6
         </option>
e7f1a6
         <option type="text" name="uReport_ContactEmail">
e7f1a6
             <_label>Contact email address</_label>
e7f1a6
diff --git a/src/plugins/reporter-ureport.c b/src/plugins/reporter-ureport.c
e7f1a6
index 6dcce81..8c77700 100644
e7f1a6
--- a/src/plugins/reporter-ureport.c
e7f1a6
+++ b/src/plugins/reporter-ureport.c
e7f1a6
@@ -22,7 +22,7 @@
e7f1a6
 #include "ureport.h"
e7f1a6
 #include "libreport_curl.h"
e7f1a6
 
e7f1a6
-#define DEFAULT_WEB_SERVICE_URL "http://bug-report.itos.redhat.com"
e7f1a6
+#define DEFAULT_WEB_SERVICE_URL "http://bug-report.redhat.com"
e7f1a6
 
e7f1a6
 int main(int argc, char **argv)
e7f1a6
 {
e7f1a6
diff --git a/src/plugins/ureport.conf b/src/plugins/ureport.conf
e7f1a6
index 2256a7f..7037010 100644
e7f1a6
--- a/src/plugins/ureport.conf
e7f1a6
+++ b/src/plugins/ureport.conf
e7f1a6
@@ -1,5 +1,5 @@
e7f1a6
 # Base URL to uReport server
e7f1a6
-# URL = http://bug-report.itos.redhat.com
e7f1a6
+# URL = http://bug-report.redhat.com
e7f1a6
 
e7f1a6
 # no means that ssl certificates will not be checked
e7f1a6
 # SSLVerify = no
e7f1a6
diff --git a/tests/make_description.at b/tests/make_description.at
e7f1a6
index e606065..358be30 100644
e7f1a6
--- a/tests/make_description.at
e7f1a6
+++ b/tests/make_description.at
e7f1a6
@@ -47,14 +47,14 @@ int main(int argc, char **argv)
e7f1a6
             "Bugzilla: URL=https://bugzilla.redhat.com/1000000\n"
e7f1a6
             "ABRT Server: BTHASH=81680083BIGBOOBS\n"
e7f1a6
             "RHTSupport: TIME=12345678 URL=https://access.redhat.com/home MSG=The world's best IT support\n"
e7f1a6
-            "ABRT Server: URL=https://bug-report.itos.redhat.com\n");
e7f1a6
+            "ABRT Server: URL=https://bug-report.redhat.com\n");
e7f1a6
 
e7f1a6
     description = make_description(pd, /*skipped names*/NULL, CD_MAX_TEXT_SIZE, MAKEDESC_SHOW_URLS);
e7f1a6
     expected = xasprintf(
e7f1a6
            /*0123456789ABCDEF*/
e7f1a6
             "Reported:       https://bugzilla.redhat.com/1000000\n"
e7f1a6
             "                https://access.redhat.com/home\n"
e7f1a6
-            "                https://bug-report.itos.redhat.com\n");
e7f1a6
+            "                https://bug-report.redhat.com\n");
e7f1a6
 
e7f1a6
     if (strcmp(expected, description) != 0)
e7f1a6
     {
e7f1a6
@@ -91,7 +91,7 @@ int main(int argc, char **argv)
e7f1a6
             "Bugzilla: URL=https://bugzilla.redhat.com/1000000\n"
e7f1a6
             "ABRT Server: BTHASH=81680083BIGBOOBS\n"
e7f1a6
             "RHTSupport: TIME=12345678 URL=https://access.redhat.com/home MSG=The world's best IT support\n"
e7f1a6
-            "ABRT Server: URL=https://bug-report.itos.redhat.com\n");
e7f1a6
+            "ABRT Server: URL=https://bug-report.redhat.com\n");
e7f1a6
 
e7f1a6
     description = make_description(pd, /*skipped names*/NULL, CD_MAX_TEXT_SIZE, MAKEDESC_SHOW_ONLY_LIST | MAKEDESC_SHOW_URLS);
e7f1a6
 
e7f1a6
@@ -102,7 +102,7 @@ int main(int argc, char **argv)
e7f1a6
            /*0123456789ABCDEF*/
e7f1a6
             "Reported:       https://bugzilla.redhat.com/1000000\n"
e7f1a6
             "                https://access.redhat.com/home\n"
e7f1a6
-            "                https://bug-report.itos.redhat.com\n",
e7f1a6
+            "                https://bug-report.redhat.com\n",
e7f1a6
             FILENAME_REASON,     14 - strlen(FILENAME_REASON),     "", "will_segfault killed by SIGSEGV",
e7f1a6
             FILENAME_PACKAGE,    14 - strlen(FILENAME_PACKAGE),    "", "libreport",
e7f1a6
             FILENAME_COUNT,      14 - strlen(FILENAME_COUNT),      "", "0");
e7f1a6
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
e7f1a6
            /*0123456789ABCDEF*/
e7f1a6
             "Reported:       https://bugzilla.redhat.com/1000000\n"
e7f1a6
             "                https://access.redhat.com/home\n"
e7f1a6
-            "                https://bug-report.itos.redhat.com\n"
e7f1a6
+            "                https://bug-report.redhat.com\n"
e7f1a6
             "\n"
e7f1a6
             "%s: %*sText file, %llu bytes\n"
e7f1a6
             "%s: %*sText file, %llu bytes\n",
e7f1a6
-- 
e7f1a6
1.8.3.1
e7f1a6