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

fix(micromamba): anaconda private channels not working #3220

Merged
merged 1 commit into from
Mar 13, 2024
Merged

fix(micromamba): anaconda private channels not working #3220

merged 1 commit into from
Mar 13, 2024

Conversation

s22chan
Copy link
Contributor

@s22chan s22chan commented Mar 7, 2024

Similar to mamba-org/boa#81, the search key and db is slightly out of sync.

In this case, the keys are the (weakened) urls without the scheme.

The anaconda tokens are stored with the scheme, so they are ignored.

const auto key = url.pretty_str(
CondaURL::StripScheme::yes,
'/',
CondaURL::Credentials::Remove
);
if (auto it = db.find_weaken(key); it != db.end())

Similar to mamba-org/boa#81, the search key and db is slightly out of sync.

In this case, the key are the (weakened) urls without the scheme.

The anaconda tokens are stored with the scheme, so they are ignored.
@AntoinePrv AntoinePrv added the release::bug_fixes For PRs fixing bugs label Mar 13, 2024
@AntoinePrv AntoinePrv merged commit 089095f into mamba-org:main Mar 13, 2024
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release::bug_fixes For PRs fixing bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants