Skip to content

Serve machine-readable download.json at site root#3017

Merged
roidelapluie merged 1 commit into
prometheus:mainfrom
roidelapluie:roidelapluie/download-json
Jun 17, 2026
Merged

Serve machine-readable download.json at site root#3017
roidelapluie merged 1 commit into
prometheus:mainfrom
roidelapluie:roidelapluie/download-json

Conversation

@roidelapluie

Copy link
Copy Markdown
Member

Add a download.json, served at https://prometheus.io/download.json, listing the releases of every repository shown on the downloads page. The per-release shape mirrors Go's version.json (version, stable, files with os/arch/sha256/ size), with Prometheus-specific "latest" and "lts" flags added.

The file is generated by fetch-downloads-info.ts into generated/ and exposed at the site root via a committed symlink in public/, matching the existing repo-docs-assets mechanism.

Add a download.json, served at https://prometheus.io/download.json, listing
the releases of every repository shown on the downloads page. The per-release
shape mirrors Go's version.json (version, stable, files with os/arch/sha256/
size), with Prometheus-specific "latest" and "lts" flags added.

The file is generated by fetch-downloads-info.ts into generated/ and exposed
at the site root via a committed symlink in public/, matching the existing
repo-docs-assets mechanism.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
@roidelapluie roidelapluie force-pushed the roidelapluie/download-json branch from 3dd2f04 to 32ecab6 Compare June 17, 2026 12:51

@bwplotka bwplotka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, makes sense!

Image

@roidelapluie roidelapluie merged commit bd8a3f4 into prometheus:main Jun 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants