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

Add PrefixData, SubdirData, and PackageCacheData to conda/api.py #5610

Closed
msarahan opened this issue Jun 29, 2017 · 3 comments · Fixed by #6922
Closed

Add PrefixData, SubdirData, and PackageCacheData to conda/api.py #5610

msarahan opened this issue Jun 29, 2017 · 3 comments · Fixed by #6922
Labels
locked [bot] locked due to inactivity
Milestone

Comments

@msarahan
Copy link
Contributor

69f1b7a#diff-aa516f421733d7851d878e08d4bf7464R408

This is used in conda-build at https://github.com/conda/conda-build/blob/master/conda_build/render.py#L210

Please provide an interface (ideally in conda's exports) that I can use to ask Conda to download packages for me.

@kalefranz
Copy link
Contributor

Conda 4.4 provides the Solver class in conda/api.py. In turn, that provides an instance of UnlinkLinkTransaction via the solve_for_transaction() method, which in turn provides an instance of ProgressiveFetchExtract via the get_pfe() method.

Perhaps that's progress. I don't think it's enough though.

In conda 4.5 we should target adding the PrefixData, SubdirData (representing repodata), and PackageCacheData classes to conda/api.py.

I'm still not sure that's enough.

I'd like to spend some time auditing all of conda-build's interactions with conda--with a lot of help from @msarahan--to see which pieces of conda-build could be dramatically simplified by preferring these interfaces over all of the legacy interfaces that are still being supported in conda.

@kalefranz
Copy link
Contributor

I'm going to bump the milestone here to 4.5. I don't think it should block the 4.4.0 release.

@kalefranz kalefranz modified the milestones: 4.4.0, 4.5 Nov 14, 2017
@kalefranz kalefranz changed the title ProgressiveFetchExtract signature changed in 4.4.0beta1 Add PrefixData, SubdirData, and PackageCacheData to conda/api.py Feb 22, 2018
kalefranz added a commit to kalefranz/conda that referenced this issue Feb 22, 2018
kalefranz added a commit that referenced this issue Feb 23, 2018
resolve #5610 add PrefixData, SubdirData, and PackageCacheData to conda/api.py
@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Sep 19, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants