fix(mirror): discover versions from upstream sources#209
Merged
Conversation
af7beff to
543af71
Compare
Refactor mirror-binaries to fetch version lists directly from upstream sources instead of reading from local manifests. This fixes the chicken-and-egg problem where new releases were never discovered. Upstream sources: - Node.js: nodejs.org/dist/index.json (comprehensive) - Python: python-build-standalone (GitHub releases) - Ruby: rubyinstaller2 (Windows) + ruby-builder (Linux/macOS) Changes: - Add sources.go with UpstreamSource interface and retry logic - Add node.go for Node.js official source - Add python.go for Python standalone builds - Add ruby.go for RubyInstaller and ruby-builder - Update main.go to use upstream discovery - Remove --manifest-dir flag from workflow (no longer needed) Closes #208
543af71 to
fd51310
Compare
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.
Summary
mirror-binariesto fetch version lists directly from upstream sources instead of reading local manifestsUpstream Sources
Changes
sources.gowithUpstreamSourceinterface and HTTP retry logicnode.gofor Node.js official source with SHASUMS256 parsingpython.gofor Python standalone buildsruby.gofor RubyInstaller and ruby-buildermain.goto use upstream discovery instead of local manifest--manifest-dirflag from workflow (no longer needed)Test Plan
Closes #208