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

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