Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Sources/App/Views/Author/AuthorShow+View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down
4 changes: 4 additions & 0 deletions Sources/App/Views/Keyword/KeywordShow+View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ <h2 class="trimmed">Packages authored by Test Author</h2>
<p>These packages are available as a package collection,
<a href="/package-collections">usable in Xcode or SwiftPM</a>.
</p>
<p>
<strong>Note:</strong> 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.
</p>
<form class="copyable-input">
<input type="text" data-button-name="Copy Package Collection URL" data-event-name="Copy Package Collection URL Button" value="http://localhost:8080/test-author/collection.json" readonly/>
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ <h2 class="trimmed">Packages for keyword “networking”</h2>
<p>These packages are available as a package collection,
<a href="/package-collections">usable in Xcode or SwiftPM</a>.
</p>
<p>
<strong>Note:</strong> 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.
</p>
<form class="copyable-input">
<input type="text" data-button-name="Copy Package Collection URL" data-event-name="Copy Package Collection URL Button" value="http://localhost:8080/keywords/networking/collection.json" readonly/>
</form>
Expand Down
Loading