From 2d27c285726b609c537265dc2e3c50097ca218b8 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 12 Mar 2025 11:38:57 +0100 Subject: [PATCH 1/2] add Xming website to whitelist, currently broken --- scripts/link_checker/whitelist.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/link_checker/whitelist.txt b/scripts/link_checker/whitelist.txt index 0ad9a8b58fe7..fa93ad151359 100644 --- a/scripts/link_checker/whitelist.txt +++ b/scripts/link_checker/whitelist.txt @@ -51,3 +51,6 @@ https://www.tldp.org/guides.html # 403 https://www.edx.org/course/introduction-linux-linuxfoundationx-lfs101x-0 + +# gone? +http://www.straightrunning.com/XmingNotes From e9c1747e42fe12a6f5c57161aec3421791511da0 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 12 Mar 2025 12:03:22 +0100 Subject: [PATCH 2/2] add trailing slash for whitelisted Xming website --- build.sh | 12 ++++++------ scripts/link_checker/whitelist.txt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index 7e6d6a04e318..4edd3e02f167 100755 --- a/build.sh +++ b/build.sh @@ -5,20 +5,20 @@ if [ "${DEBUG:-0}" -gt 0 ]; then fi DEPSDIR="$PWD/pypkgs" -pyver=python$(python3 -c "import sys; print(\"%s.%s\" % sys.version_info[:2])") +pyver=python$(python3.12 -c "import sys; print(\"%s.%s\" % sys.version_info[:2])") export PYTHONPATH=$DEPSDIR/lib/$pyver/site-packages:$DEPSDIR/lib64/$pyver/site-packages:$PWD/custom_plugin:$PWD/computational_macros:$PYTHONPATH export PATH=$DEPSDIR/bin:$PATH if [ "${INSTALLDEPS:-0}" -gt 0 ]; then - python3 -m pip install --use-pep517 --ignore-installed --prefix "$DEPSDIR" -r requirements.txt - python3 -m pip install --use-pep517 --prefix "$DEPSDIR" "$PWD"/custom_plugin - python3 -m pip install --use-pep517 --prefix "$DEPSDIR" "$PWD"/computational_macros + python3.12 -m pip install --use-pep517 --ignore-installed --prefix "$DEPSDIR" -r requirements.txt + python3.12 -m pip install --use-pep517 --prefix "$DEPSDIR" "$PWD"/custom_plugin + python3.12 -m pip install --use-pep517 --prefix "$DEPSDIR" "$PWD"/computational_macros # not needed for actual page - python3 -m pip install --use-pep517 --ignore-installed --prefix "$DEPSDIR" linkchecker + python3.12 -m pip install --use-pep517 --ignore-installed --prefix "$DEPSDIR" linkchecker fi -python3 build.py "$@" +python3.12 build.py "$@" if [ "${WEBSERVER:-0}" -gt 0 ]; then webbase=build diff --git a/scripts/link_checker/whitelist.txt b/scripts/link_checker/whitelist.txt index fa93ad151359..ee77ea3469c2 100644 --- a/scripts/link_checker/whitelist.txt +++ b/scripts/link_checker/whitelist.txt @@ -53,4 +53,4 @@ https://www.tldp.org/guides.html https://www.edx.org/course/introduction-linux-linuxfoundationx-lfs101x-0 # gone? -http://www.straightrunning.com/XmingNotes +http://www.straightrunning.com/XmingNotes/