From 2cc17a36eb1a8a5397ba43436cb3e4d4e0d8e301 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 30 Oct 2023 19:23:46 +0000 Subject: [PATCH 1/2] Document updating IANA schemes as a release step --- doc/development.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/development.md b/doc/development.md index 94a9d449..ff5f1b1f 100644 --- a/doc/development.md +++ b/doc/development.md @@ -66,12 +66,14 @@ Release process if so create a pull request using the GitHub workflow: "Create a branch with updated man pages and application translations" -2. edit `changelog.txt` and `upgrading.txt` +2. run `scripts/update_iana_uri_schemes.sh` and commit any changes -3. confirm tests have passed +3. edit `changelog.txt` and `upgrading.txt` -4. submit a pull request +4. confirm tests have passed -5. create release (vX.Y.Z) on GitHub +5. submit a pull request -6. check release has been created on PyPI +6. create release (vX.Y.Z) on GitHub + +7. check release has been created on PyPI From 187ded1d9bc84837219b6442456ede611ad05c48 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 30 Oct 2023 19:23:46 +0000 Subject: [PATCH 2/2] Add ms-windows-store scheme https://learn.microsoft.com/en-us/windows/uwp/launch-resume/launch-store-app --- linkcheck/checker/unknownurl.py | 1 + scripts/update_iana_uri_schemes.py | 1 + 2 files changed, 2 insertions(+) diff --git a/linkcheck/checker/unknownurl.py b/linkcheck/checker/unknownurl.py index a31b9531..914abbe6 100644 --- a/linkcheck/checker/unknownurl.py +++ b/linkcheck/checker/unknownurl.py @@ -436,6 +436,7 @@ ignored_schemes_other = r""" |gemini # Gemini protocol |isbn # ISBN (int. book numbers) |javascript # JavaScript +|ms\-windows\-store # Microsoft Store |slack # Slack Technologies client |tg # Telegram |whatsapp # WhatsApp diff --git a/scripts/update_iana_uri_schemes.py b/scripts/update_iana_uri_schemes.py index 4ba3e245..c38adecb 100644 --- a/scripts/update_iana_uri_schemes.py +++ b/scripts/update_iana_uri_schemes.py @@ -16,6 +16,7 @@ iana_uri_schemes_other = { "gemini": "Gemini protocol", "isbn": "ISBN (int. book numbers)", "javascript": "JavaScript", + "ms-windows-store": "Microsoft Store", "slack": "Slack Technologies client", "tg": "Telegram", "whatsapp": "WhatsApp",