Skip to content

Conversation

pavelzw
Copy link
Member

@pavelzw pavelzw commented Jun 26, 2025

Description

for rattler::install, rattler_solve and rattler_repodata_gateway i didn't support globbed matchspecs to keep this pr manageable.
instead, i behave exactly like when we had a nameless matchspec there (i.e. either skip or panic)
i don't think supporting them in rattler_solve makes much sense as there are no packages that have globbed packages as dependencies anyway.
for rattler_repodata_gateway, i do see some nice use cases (for example pixi search jupyter* which is currently handled in a custom manner). let's move this to another pr: #1723

let base_url = repo_data.info.as_ref().and_then(|i| i.base_url.as_deref());
for (package_name, specs) in &spec.into_iter().chunk_by(|spec| spec.borrow().name.clone()) {
let grouped_specs = specs.into_iter().collect::<Vec<_>>();
// TODO: support glob/regex package names
Copy link
Member Author

Choose a reason for hiding this comment

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

@pavelzw pavelzw marked this pull request as ready for review October 10, 2025 13:36
@pavelzw pavelzw requested a review from baszalmstra October 10, 2025 13:54
@pavelzw pavelzw added the enhancement New feature or request label Oct 10, 2025
@pavelzw pavelzw removed the enhancement New feature or request label Oct 10, 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.

1 participant