Skip to content

feat: new rattler-upload functionality#5017

Merged
tdejager merged 6 commits intoprefix-dev:mainfrom
tdejager:feature/pfx-1060-use-rattler_upload-in-pixi
Dec 4, 2025
Merged

feat: new rattler-upload functionality#5017
tdejager merged 6 commits intoprefix-dev:mainfrom
tdejager:feature/pfx-1060-use-rattler_upload-in-pixi

Conversation

@tdejager
Copy link
Contributor

@tdejager tdejager commented Dec 1, 2025

Description

This is a small shim over the rattler_upload functionality, this is mostly and update to the documentation. Note, that this is a breaking change.

How Has This Been Tested?

Because its just such a small shim, I hoped the corresponding rattler code has been well tested.

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: Claude Opus 4.5

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.
  • I have verified that changes that would impact the JSON schema have been made in schema/model.py.

@tdejager tdejager requested a review from wolfv December 1, 2025 13:53
Copy link
Member

@wolfv wolfv left a comment

Choose a reason for hiding this comment

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

Looks good except the little note about using the proper pixi configuration.

#[source]
source: reqwest::Error,
},
// Get authentication storage from pixi's auth system
Copy link
Member

Choose a reason for hiding this comment

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

Is this the right way to do it in pixi? I am wondering if we have a better way through the configuration system and whether we can just load the default config (I think it might point to an auth file): https://pixi.sh/latest/reference/pixi_configuration/#authentication-override-file

@wolfv
Copy link
Member

wolfv commented Dec 4, 2025

Looks good! I was kinda thinking we had a function on the Config object that would be something like get_auth_store(&self) - but if that's not the case (and if you don't think that would be a good idea), then this is fine with me!

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