summaryrefslogtreecommitdiff
path: root/esc-reporting
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@libreoffice.org>2020-02-16 19:47:20 +0100
committerGuilhem Moulin <guilhem@libreoffice.org>2020-02-22 00:17:34 +0100
commit5256b396a984024a3815594847e4b4203faee836 (patch)
tree98eeba780482c020adb645482223f8110519c401 /esc-reporting
parent84a335d47a0b0e49f88447135d6d8ae60c198344 (diff)
Upgrade links to HTTPS
Convert http:// URLs to https:// when there is a 301-redirect from the former to the latter. There is no reason to leak data here :-) * Our own (sub-)domains: .libreoffice.org, .documentfoundation.org * .google.com * License headers: mozilla.org, gnu.org, apache.org This commit also upgrades git:// URLs (whether hosted at TDF or at FreeDesktop) to https://git.libreoffice.org . And same thing for GitHub-hosted repos. Change-Id: Ia129eb1448a5263153c4b7cc1d03699052540ba2 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88818 Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org> Tested-by: Guilhem Moulin <guilhem@libreoffice.org>
Diffstat (limited to 'esc-reporting')
-rw-r--r--esc-reporting/common.py2
-rwxr-xr-xesc-reporting/esc-analyze.py2
-rwxr-xr-xesc-reporting/esc-automate.py2
-rwxr-xr-xesc-reporting/esc-collect.py10
-rwxr-xr-xesc-reporting/esc-report.py2
-rwxr-xr-xesc-reporting/esc-tocsv.py2
-rwxr-xr-xesc-reporting/license-analyze.py2
7 files changed, 11 insertions, 11 deletions
diff --git a/esc-reporting/common.py b/esc-reporting/common.py
index 327db68d..e325bfe8 100644
--- a/esc-reporting/common.py
+++ b/esc-reporting/common.py
@@ -5,7 +5,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
from subprocess import Popen, PIPE
diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 5bf0848d..dabca7c1 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -5,7 +5,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index 77cf5eeb..28c7c7a2 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -4,7 +4,7 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index 26a84817..d89f1f45 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -4,7 +4,7 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
@@ -698,24 +698,24 @@ def get_crash(cfg):
fileName = cfg['homedir'] + 'dump/crash_dump.json'
rawList = {'crashtest': {}, 'crashreport': {}}
print("Updating crashtest dump")
- dirList = util_load_url('http://dev-builds.libreoffice.org/crashtest/?C=M&O=D', useRaw=True)
+ dirList = util_load_url('https://dev-builds.libreoffice.org/crashtest/?C=M&O=D', useRaw=True)
# find newest entry by using sort - in nginx' fancyindex first row is parent-directory
# the second ones is most recent dir that was created. Only regular entries have a title
# attribute though, so use that as a shortcut, skip
inx = dirList.find('title="', 0)
if inx == -1:
- print("ERROR: http://dev-builds.libreoffice.org/crashtest/?C=M&O=D not showing DIR list")
+ print("ERROR: https://dev-builds.libreoffice.org/crashtest/?C=M&O=D not showing DIR list")
return
inx = inx + 7
end = dirList.find('"', inx)
- url = 'http://dev-builds.libreoffice.org/crashtest/' + dirList[inx:end] + '/'
+ url = 'https://dev-builds.libreoffice.org/crashtest/' + dirList[inx:end] + '/'
for type in 'crashlog', 'exportCrash':
tmp = util_load_url(url + type + '.txt', useRaw=True).split('\n')
rawList['crashtest'][type] = len(tmp) - 1
print("Updating crashreport dump")
- rawList['crashreport'] = util_load_url('http://crashreport.libreoffice.org/api/get/crash-count')
+ rawList['crashreport'] = util_load_url('https://crashreport.libreoffice.org/api/get/crash-count')
rawList['newest-entry'] = datetime.datetime.now().strftime('%Y-%m-%d %H')
util_dump_file(fileName, rawList)
diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index 7e1b6307..d9711d7d 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -4,7 +4,7 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
diff --git a/esc-reporting/esc-tocsv.py b/esc-reporting/esc-tocsv.py
index 9048434d..fe576d5e 100755
--- a/esc-reporting/esc-tocsv.py
+++ b/esc-reporting/esc-tocsv.py
@@ -4,7 +4,7 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
diff --git a/esc-reporting/license-analyze.py b/esc-reporting/license-analyze.py
index 584d5c67..8e8b36e8 100755
--- a/esc-reporting/license-analyze.py
+++ b/esc-reporting/license-analyze.py
@@ -4,7 +4,7 @@
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#