Skip to content

download-metadata: Use ndjson instead of GH releases for CPython#18406

Open
zsol wants to merge 1 commit intomainfrom
zsol/jj-qsvrkrkttmvn
Open

download-metadata: Use ndjson instead of GH releases for CPython#18406
zsol wants to merge 1 commit intomainfrom
zsol/jj-qsvrkrkttmvn

Conversation

@zsol
Copy link
Member

@zsol zsol commented Mar 11, 2026

This allows us to use our releases mirror and not fail when github flakes out. It also is 10x faster than before (no need to go through github's pagination).
Note: I haven't implemented fallback to raw.githubusercontent.com, because this script is only run on CI.

Test plan

regenerate the json and check the diff:

https://gist.github.com/zsol/cce4447fb6fa30c7bf7e6de7246298be

This shows a bunch of releases (before 20211017) completely missing - likely due to omission from the ndjson

@zsol zsol changed the title fetch-download-metadata: Use ndjson instead of GH releases fetch-download-metadata: Use ndjson instead of GH releases for CPython Mar 11, 2026
@zsol zsol changed the title fetch-download-metadata: Use ndjson instead of GH releases for CPython download-metadata: Use ndjson instead of GH releases for CPython Mar 11, 2026
@zsol zsol marked this pull request as ready for review March 11, 2026 15:23
@zsol zsol requested a review from zanieb March 11, 2026 15:23
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.

1 participant