From 498973cbc3748e2dd880173d23f31e1c3d5866fd Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Wed, 1 Nov 2023 14:59:37 -0400 Subject: [PATCH 1/3] ci: Update build-base-app.yml workflow --- .github/workflows/build-base-app.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-base-app.yml b/.github/workflows/build-base-app.yml index 161752cb56..85842d9dcf 100644 --- a/.github/workflows/build-base-app.yml +++ b/.github/workflows/build-base-app.yml @@ -6,6 +6,7 @@ on: - 'main' paths: - 'docker/base.Dockerfile' + - 'requirements.txt' workflow_dispatch: From de15f9f45f05fc35c5aea0dff1e9bb1401bdfc69 Mon Sep 17 00:00:00 2001 From: Eric Vyncke Date: Sat, 16 Mar 2024 05:35:51 +0000 Subject: [PATCH 2/3] Do not list PS in build_file_urls --- ietf/doc/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ietf/doc/utils.py b/ietf/doc/utils.py index ad1c2af223..dc11f44a25 100644 --- a/ietf/doc/utils.py +++ b/ietf/doc/utils.py @@ -1062,6 +1062,8 @@ def build_file_urls(doc: Union[Document, DocHistory]): base = settings.IETF_ID_ARCHIVE_URL file_urls = [] for t in found_types: + if t == "ps": # Postscript can still be submitted but should not be displayed in the list of URLs + continue label = "plain text" if t == "txt" else t file_urls.append((label, base + doc.name + "-" + doc.rev + "." + t)) From 46e1c7e281b18aa6af52a07a84f7d45395fa694c Mon Sep 17 00:00:00 2001 From: Eric Vyncke Date: Sat, 16 Mar 2024 14:59:03 +0900 Subject: [PATCH 3/3] Update ietf/doc/utils.py Co-authored-by: Robert Sparks --- ietf/doc/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/doc/utils.py b/ietf/doc/utils.py index dc11f44a25..4872f41fc4 100644 --- a/ietf/doc/utils.py +++ b/ietf/doc/utils.py @@ -1062,7 +1062,7 @@ def build_file_urls(doc: Union[Document, DocHistory]): base = settings.IETF_ID_ARCHIVE_URL file_urls = [] for t in found_types: - if t == "ps": # Postscript can still be submitted but should not be displayed in the list of URLs + if t == "ps": # Postscript might have been submitted but should not be displayed in the list of URLs continue label = "plain text" if t == "txt" else t file_urls.append((label, base + doc.name + "-" + doc.rev + "." + t))