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

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