Skip to content

feat: add rattler_config crate (derived from pixi_config)#1389

Merged
wolfv merged 28 commits intoconda:mainfrom
wolfv:rattler-config-ii
Jun 23, 2025
Merged

feat: add rattler_config crate (derived from pixi_config)#1389
wolfv merged 28 commits intoconda:mainfrom
wolfv:rattler-config-ii

Conversation

@wolfv
Copy link
Contributor

@wolfv wolfv commented Jun 12, 2025

Description

Copy link
Member

@pavelzw pavelzw left a comment

Choose a reason for hiding this comment

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

this looks great! looking forward to using this in other rattler-based tools

Comment on lines +29 to +33
/// The maximum number of concurrent HTTP requests to make.
// Needing to set this default next to the default of the full struct to avoid serde defaulting
// to 0 of partial struct was omitted.
#[serde(default = "default_max_concurrent_downloads")]
pub downloads: usize,
Copy link
Member

Choose a reason for hiding this comment

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

this is great! we can also use this in rattler-index and conda-mirror 🚀

Ok(())
}
_ => {
// We don't know this key, but possibly an extension does.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// We don't know this key, but possibly an extension does.
// TODO: We don't know this key, but possibly an extension does.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think it's a TODO ... we don't know this key, but an extension might

@wolfv wolfv changed the title Add rattler_config crate feat: add rattler_config crate (derived from pixi_config) Jun 16, 2025
Copy link
Collaborator

@baszalmstra baszalmstra left a comment

Choose a reason for hiding this comment

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

Can we implement Config for all sections like S3Config etc?

wolfv and others added 5 commits June 23, 2025 13:55
Co-authored-by: Bas Zalmstra <4995967+baszalmstra@users.noreply.github.com>
@wolfv wolfv merged commit 3d1063a into conda:main Jun 23, 2025
18 checks passed
@baszalmstra baszalmstra mentioned this pull request Jun 23, 2025
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.

3 participants