Modernise the download page - #334
Merged
Merged
Conversation
slachiewicz
force-pushed
the
modernize-download-page
branch
from
August 9, 2026 23:20
bbd89f2 to
d3d4e27
Compare
slachiewicz
force-pushed
the
modernize-download-page
branch
from
August 9, 2026 23:28
d3d4e27 to
04270d3
Compare
This page was last touched in 2018 and still carried the ASF mirror-selection form. The mirror network was retired in favour of a single CDN, so that form now renders a "choose a mirror" dropdown offering exactly one entry, dlcdn.apache.org. The checksum, signature and KEYS links still pointed at www.apache.org/dist, which has been a 301 to downloads.apache.org for years. The page now matches the form the majority of the Maven estate already uses, finishing the sweep started in 2023 that stopped part-way through: - the artifact from dlcdn.apache.org - the .sha512, .asc and KEYS from downloads.apache.org - older releases from archive.apache.org The ASF licence header is left exactly as it was. The rendered download.html keeps the same headings and the same generated anchors, apart from the mirror section that is being removed. Generated-by: Claude Opus 5 (1M context)
slachiewicz
force-pushed
the
modernize-download-page
branch
from
August 10, 2026 00:04
04270d3 to
6b7ab16
Compare
slachiewicz
marked this pull request as ready for review
August 10, 2026 08:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This page was last touched in 2018 and still carries the ASF mirror-selection form. The mirror network was retired in favour of a single CDN, so that form currently renders a "choose a mirror" dropdown offering exactly one entry,
dlcdn.apache.org. The checksum, signature and KEYS links still point atwww.apache.org/dist, which has been a 301 todownloads.apache.orgfor years.This finishes, for this repo, the "Refresh download page" sweep started in 2023 that stopped part-way through the estate. The page now matches the form the majority of Maven components already use:
dlcdn.apache.org.sha512/.asc/KEYSfromdownloads.apache.orgarchive.apache.org(and over https, not http)Format is unchanged — this stays xdoc.
Rendered before/after
Built the site both ways and diffed the generated HTML.
Removed (all mirror-system leftovers):
[preferred],[if-any logo/http/ftp/backup], theSelectMirrorform,www.apache.org/mirrors/.Added: the real
dlcdn.apache.orgartifact link — note the old page had no usable artifact href in the static HTML at all, only the[preferred]placeholder — plushttps://www.apache.org/info/verification.html.Headings and anchors:
#Download_…and#Previous_Versionsare unchanged. Two anchors do go away with the mirror section:#mirrorand the version-numbered subsection anchor (#Apache_Maven_GPG_Plugin_3.2.9-SNAPSHOT), which is replaced by the stable#Files. The version-numbered one was never stable — it changed on every release — but#mirrorwas, so flagging it explicitly.download.cgiis deliberately left in place.Verified by local site build and HTML diff only — not claiming CI is green; draft until it is.
Licence header: left byte-for-byte as it was. My first pass spliced in a canonical header and silently downgraded an
https://LICENSE-2.0 URL tohttp://in a sibling repo; the generator now preserves each file's existing preamble and never rewrites it.Format: this stays xdoc. Converting the page to Markdown was evaluated separately and shown to round-trip losslessly, and was then deliberately declined — noting that here so the question does not get reopened from scratch later.