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()), 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 @@
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 @@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. +