Repository navigation
Mirror prefix.dev channels to the old anaconda.org channels - #205
Draft
Tobias-Fischer wants to merge 1 commit into
Draft
Tobias-Fischer wants to merge 1 commit into
Tobias-Fischer wants to merge 1 commit into
Conversation
scripts/mirror-prefix-to-anaconda.py uploads every package of a prefix.dev channel that the anaconda.org channel doesn't have yet (download, sha256 check against the prefix.dev repodata, anaconda upload). The workflow mirrors humble to robostack-staging and jazzy to robostack-jazzy; it is dispatch-only until the distributions' own prefix.dev channels exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 of 17 tasks
This branch has not been deployed
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.
Prepares the mirror from the new prefix.dev channels back to the old anaconda.org channels, for users who still install from there, once the RoboStack distributions upload to prefix.dev (Tobias-Fischer/robostack-distros#54).
scripts/mirror-prefix-to-anaconda.py SOURCE DESTINATION [--dry-run]: every package of the prefix.dev channel that the anaconda.org channel doesn't have yet is downloaded, checked against the sha256 in the prefix.dev repodata and uploaded withanaconda upload(token fromANACONDA_API_TOKEN). A failed package doesn't stop the run, but makes it fail at the end..github/workflows/mirror-prefix-to-anaconda.yml:robostack-staging;copy-staging-packages.ymlthen copies on torobostack-humbleas before.robostack-jazzy.The workflow is dispatch-only, with a dry run by default. Today prefix.dev's
robostack-staging,robostack-humbleandrobostack-jazzyare mirrors of anaconda.org, and mirroring them back would re-upload packages removed there (the dry run finds 6 such jazzy packages). Before scheduling it:ROBOSTACK_STAGING_ANACONDA_API_TOKENandROBOSTACK_JAZZY_ANACONDA_API_TOKEN.Tested with unit tests (
pixi run test) and dry runs against the live channels; nothing has been uploaded.🤖 Generated with Claude Code