Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: parse matchspec url into NamedChannelOrUrl [skip ci] #964

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wolfv
Copy link
Contributor

@wolfv wolfv commented Dec 2, 2024

I think it would be good to stop the weird channel parsing in matchspecs because it's subtly wrong. We always create a "default" channel config.

However, now we have two problems:

  • we need a channel config in the resolvo context so that we can continue comparing matchspecs
  • the matches(...) function needs a second matches_with_channel_config(...) function or a second parameter with a optional channel config to properly evaluate the channels from config.

Wanted to ask for early feedback before going down this path further.

@baszalmstra
Copy link
Collaborator

Perhaps we should have a "ResolvedMatchSpec" and a non-resolved one. Also a big refactor..

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