From c9d2b2dc2e4b3a00cef9338305f473a026da38cb Mon Sep 17 00:00:00 2001 From: Dave Verwer Date: Fri, 18 Apr 2025 17:43:39 +0100 Subject: [PATCH 1/2] Added a note about collection signing being temporarily disabled. --- Sources/App/Views/Author/AuthorShow+View.swift | 4 ++++ Sources/App/Views/Keyword/KeywordShow+View.swift | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Sources/App/Views/Author/AuthorShow+View.swift b/Sources/App/Views/Author/AuthorShow+View.swift index c666cc87c..95c859f30 100644 --- a/Sources/App/Views/Author/AuthorShow+View.swift +++ b/Sources/App/Views/Author/AuthorShow+View.swift @@ -57,6 +57,10 @@ enum AuthorShow { ), .text(".") ), + .p( + .strong("Note:"), + .text(" Package collection signing is temporarily disabled. Package collections generated by Swift Package Index will still work, but you may get a certificate or security warning when using them."), + ), .copyableInputForm(buttonName: "Copy Package Collection URL", eventName: "Copy Package Collection URL Button", valueToCopy: SiteURL.packageCollectionAuthor(.value(model.owner)).absoluteURL()), diff --git a/Sources/App/Views/Keyword/KeywordShow+View.swift b/Sources/App/Views/Keyword/KeywordShow+View.swift index 64dcae58a..f3124064b 100644 --- a/Sources/App/Views/Keyword/KeywordShow+View.swift +++ b/Sources/App/Views/Keyword/KeywordShow+View.swift @@ -56,6 +56,10 @@ enum KeywordShow { ), .text(".") ), + .p( + .strong("Note:"), + .text(" Package collection signing is temporarily disabled. Package collections generated by Swift Package Index will still work, but you may get a certificate or security warning when using them."), + ), .copyableInputForm(buttonName: "Copy Package Collection URL", eventName: "Copy Package Collection URL Button", valueToCopy: SiteURL.packageCollectionKeyword(.value(model.keyword)).absoluteURL()), From 4e2885acecc3718950ef9eefe5892e3eda5599ad Mon Sep 17 00:00:00 2001 From: Dave Verwer Date: Fri, 18 Apr 2025 18:19:17 +0100 Subject: [PATCH 2/2] Snapshots. --- .../WebpageSnapshotTests/AuthorShow_document.1.html | 3 +++ .../WebpageSnapshotTests/KeywordShow_document.1.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/AuthorShow_document.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/AuthorShow_document.1.html index 47637f9dd..1ebe49686 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/AuthorShow_document.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/AuthorShow_document.1.html @@ -86,6 +86,9 @@

Packages authored by Test Author

These packages are available as a package collection, usable in Xcode or SwiftPM.

+

+ Note: Package collection signing is temporarily disabled. Package collections generated by Swift Package Index will still work, but you may get a certificate or security warning when using them. +

diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/KeywordShow_document.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/KeywordShow_document.1.html index d04869ed6..23a74dec7 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/KeywordShow_document.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/KeywordShow_document.1.html @@ -86,6 +86,9 @@

Packages for keyword “networking”

These packages are available as a package collection, usable in Xcode or SwiftPM.

+

+ Note: Package collection signing is temporarily disabled. Package collections generated by Swift Package Index will still work, but you may get a certificate or security warning when using them. +