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

Resolve ChannelSpec into a Channel #2899

Merged
merged 54 commits into from
Oct 25, 2023

Conversation

AntoinePrv
Copy link
Member

@AntoinePrv AntoinePrv commented Oct 9, 2023

@AntoinePrv AntoinePrv force-pushed the channel-spec-resolve branch 9 times, most recently from 17a0de9 to 0ad5a7f Compare October 13, 2023 16:12
@AntoinePrv AntoinePrv force-pushed the channel-spec-resolve branch 10 times, most recently from 52ce5c0 to a4fcad6 Compare October 20, 2023 16:33
@AntoinePrv AntoinePrv marked this pull request as ready for review October 23, 2023 15:07
@AntoinePrv AntoinePrv force-pushed the channel-spec-resolve branch 3 times, most recently from 8c25cdf to e002468 Compare October 24, 2023 14:53
@AntoinePrv AntoinePrv force-pushed the channel-spec-resolve branch from 56877d7 to c98210a Compare October 24, 2023 16:37
libmamba/include/mamba/specs/authentication_info.hpp Outdated Show resolved Hide resolved
libmamba/include/mamba/specs/conda_url.hpp Outdated Show resolved Hide resolved
libmamba/include/mamba/util/url.hpp Outdated Show resolved Hide resolved

#ifndef MAMBA_UTIL_TUPLE_HASH_HPP
#define MAMBA_UTIL_TUPLE_HASH_HPP

Copy link
Member

Choose a reason for hiding this comment

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

Do we want this file to be part of the public API of libmamba?

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess this discussion applies to a lot of the util library. We currently do not have a good way to both separate public/private headers and organize it by topic (util/specs/...).

libmamba/include/mamba/specs/authentication_info.hpp Outdated Show resolved Hide resolved
{
base = util::join_url(base, "t", *token());
return {};
Copy link
Member

Choose a reason for hiding this comment

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

Is an empty set expected in that case?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. At least that is what I am aiming for. When specifiying a full URL to a package https://mamba.org/somthing/pkg.conda I am not assuming any repo/channel structure.

In the future, I'd like to better separate these two cases.

@AntoinePrv AntoinePrv force-pushed the channel-spec-resolve branch 2 times, most recently from 440c423 to 6f207b2 Compare October 25, 2023 10:42
@AntoinePrv AntoinePrv merged commit c7aba97 into mamba-org:main Oct 25, 2023
@AntoinePrv AntoinePrv deleted the channel-spec-resolve branch October 25, 2023 17:06
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