[PATCH v2] replace HTTP dpdk.org URLs with HTTPS
Ali Alnubani
alialnu at nvidia.com
Wed Jan 14 12:27:29 CET 2026
Required now that the Anubis traffic challenge tool
enforces HTTPS for external URLs.
Signed-off-by: Ali Alnubani <alialnu at nvidia.com>
---
V2: Resolve end of file warning.
README | 2 +-
config/artifacts.yml | 4 ++--
config/pwclientrc | 2 +-
tools/download-patch.sh | 2 +-
tools/get_reruns.py | 2 +-
tools/poll-pw | 2 +-
tools/pwclient | 2 +-
tools/send-patch-report.sh | 2 +-
tools/update-pw.sh | 4 ++--
9 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README b/README
index ecbccda..e524520 100644
--- a/README
+++ b/README
@@ -31,7 +31,7 @@ The patchwork overview shows a counter column S/W/F for Success/Warning/Failure.
A bad performance can be seen as a failure.
More details are found in the detailed view of a patch.
-Every test reports can be seen at http://dpdk.org/ml/archives/test-report/.
+Every test reports can be seen at https://dpdk.org/ml/archives/test-report/.
There is no summarized view of regular or manual tests yet.
diff --git a/config/artifacts.yml b/config/artifacts.yml
index 290c0f9..a524373 100644
--- a/config/artifacts.yml
+++ b/config/artifacts.yml
@@ -4,8 +4,8 @@
# Patchwork settings for git-pw
patchwork:
- server: http://patchwork.dpdk.org/api/1.3
- project: http://patchwork.dpdk.org/projects/dpdk/list
+ server: https://patchwork.dpdk.org/api/1.3
+ project: https://patchwork.dpdk.org/projects/dpdk/list
# token: <your PW token here>
# Git user and email.
diff --git a/config/pwclientrc b/config/pwclientrc
index 594bff0..b2b4e83 100644
--- a/config/pwclientrc
+++ b/config/pwclientrc
@@ -2,7 +2,7 @@
default=dpdk
[dpdk]
-url=http://patches.dpdk.org/xmlrpc/
+url=https://patches.dpdk.org/xmlrpc/
# credentials are useless for read-only access
#username: myuser
diff --git a/tools/download-patch.sh b/tools/download-patch.sh
index 317fb4c..80f0462 100755
--- a/tools/download-patch.sh
+++ b/tools/download-patch.sh
@@ -32,7 +32,7 @@ if [ -z "$pwid" ] ; then
fi
if $http_get ; then
- url="http://patches.dpdk.org/patch/$pwid/mbox/"
+ url="https://patches.dpdk.org/patch/$pwid/mbox/"
curl -sfL $url
else
$pwclient view $pwid
diff --git a/tools/get_reruns.py b/tools/get_reruns.py
index 7c27650..7484987 100755
--- a/tools/get_reruns.py
+++ b/tools/get_reruns.py
@@ -86,7 +86,7 @@ class RerunProcessor:
self._multipage = multipage
def process_reruns(self) -> None:
- patchwork_url = f"http://patches.dpdk.org/api/events/?since={self._time_since}"
+ patchwork_url = f"https://patches.dpdk.org/api/events/?since={self._time_since}"
comment_request_info = []
for item in [
"&category=cover-comment-created",
diff --git a/tools/poll-pw b/tools/poll-pw
index 4c7fafd..c9474b8 100755
--- a/tools/poll-pw
+++ b/tools/poll-pw
@@ -4,7 +4,7 @@
# Copyright 2017 6WIND S.A.
# Copyright 2018 Mellanox Technologies, Ltd
-URL=http://patches.dpdk.org/api
+URL=https://patches.dpdk.org/api
PAUSE_SECONDS=100
print_usage () {
diff --git a/tools/pwclient b/tools/pwclient
index 29cad89..8ce6588 100755
--- a/tools/pwclient
+++ b/tools/pwclient
@@ -47,7 +47,7 @@ import io
# This script will check the PW_XMLRPC_URL environment variable
# for the URL to access. If that is unspecified, it will fallback to
# the hardcoded default value specified here.
-DEFAULT_URL = "http://patchwork/xmlrpc/"
+DEFAULT_URL = "https://patchwork/xmlrpc/"
CONFIG_FILE = os.path.expanduser('~/.pwclientrc')
diff --git a/tools/send-patch-report.sh b/tools/send-patch-report.sh
index f4f33bb..ace57d5 100755
--- a/tools/send-patch-report.sh
+++ b/tools/send-patch-report.sh
@@ -71,7 +71,7 @@ writeheadlines () # <label> <status> <description> [pwid]
{
echo "Test-Label: $1"
echo "Test-Status: $2"
- [ -z "$4" ] || echo "http://dpdk.org/patch/$4"
+ [ -z "$4" ] || echo "https://dpdk.org/patch/$4"
echo
echo "_${3}_"
echo
diff --git a/tools/update-pw.sh b/tools/update-pw.sh
index b0f0baa..2e71b77 100755
--- a/tools/update-pw.sh
+++ b/tools/update-pw.sh
@@ -28,7 +28,7 @@ if [ -z "$1" ] ; then
exit 1
fi
-url="http://mails.dpdk.org/archives/test-report/$1"
+url="https://mails.dpdk.org/archives/test-report/$1"
mmarker='<!--beginarticle-->'
for try in $(seq 20) ; do
[ -z "$report" -o $try -ge 19 ] || continue # 2 last tries if got something
@@ -41,7 +41,7 @@ if [ -z "$report" ] ; then
exit 2
fi
-pwid=$(echo "$report" | sed -rn 's,.*http://.*dpdk.org/.*patch/([0-9]+).*,\1,p')
+pwid=$(echo "$report" | sed -rn 's,.*https?://.*dpdk.org/.*patch/([0-9]+).*,\1,p')
label=$(echo "$report" | sed -n 's,.*Test-Label: *,,p')
status=$(echo "$report" | sed -n 's,.*Test-Status: *,,p')
desc=$(echo "$report" | sed -n 's,^_\(.*\)_$,\1,p')
--
2.52.0
More information about the ci
mailing list