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

Migrate Channel::make_channel to resolve multi channels #2986

Merged
merged 31 commits into from
Nov 21, 2023

Conversation

AntoinePrv
Copy link
Member

  • Add one to many get_channels
  • Refactor ChannelContext params
  • ChannelContext::make_channel migration 1

@AntoinePrv AntoinePrv force-pushed the channel-resolve branch 7 times, most recently from 2e36559 to f0e721c Compare November 20, 2023 18:12
@AntoinePrv AntoinePrv changed the title ChannelContext remove make_channel Migrate Channel::make_channel to resolve multi channels Nov 20, 2023
platform_urls(bool with_credential = true) const;
util::flat_set<std::string> urls(bool with_credential = true) const;
[[nodiscard]] auto platform_urls(bool with_credential = true) const
-> util::flat_set<std::pair<std::string, std::string>>;
Copy link
Member

Choose a reason for hiding this comment

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

The return type deserves a typename

Copy link
Member Author

Choose a reason for hiding this comment

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

This part still needs improvement overall, such as not converting URL to strings.
However, I will first rework the tests, since it is heavily (and unnecessarily anymore) used there.

@AntoinePrv AntoinePrv marked this pull request as ready for review November 21, 2023 09:27
@AntoinePrv AntoinePrv merged commit e874e7e into mamba-org:main Nov 21, 2023
27 checks passed
@AntoinePrv AntoinePrv deleted the channel-resolve branch November 21, 2023 11:07
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