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

Document how to use hotfix_source_repo #3513

Closed
dhirschfeld opened this issue May 19, 2019 · 5 comments
Closed

Document how to use hotfix_source_repo #3513

dhirschfeld opened this issue May 19, 2019 · 5 comments
Labels
locked [bot] locked due to inactivity

Comments

@dhirschfeld
Copy link
Contributor

IIUC the raw output from conda index is no longer useful as conda won't be able install packages based on it - instead, the raw output must be patched with the hotfixes in a given repo.

It appears that for anaconda packages the hotfixes live at:

...whereas for conda-forge the hotfixes live at:

Am I correct so far?

I was then trying to grok how to apply these hotfixes when I came accross the hotfix_source_repo argument in the update_index function:

def update_index(dir_path, check_md5=False, channel_name=None, patch_generator=None, threads=MAX_THREADS_DEFAULT,
verbose=False, progress=False, hotfix_source_repo=None, subdirs=None, warn=True,
shared_format_cache=True, current_index_versions=None, debug=False):
"""

It seems like this might do exactly what I'm after but I'm not too sure how to use it.

@dhirschfeld
Copy link
Contributor Author

I'm imagining a syntax such as:

conda index --hotfix-source-repo=https://github.com/AnacondaRecipes/repodata-hotfixes

...but maybe that's not correct and it needs a local checkout?

It would be good if someone could let me know if I'm on the right track.

@dhirschfeld
Copy link
Contributor Author

Just waiting on the cloudflare CDN issue before I can install the latest and actually test it out...

@dhirschfeld
Copy link
Contributor Author

Confirmation from gitter:
https://gitter.im/conda-forge/conda-forge.github.io?at=5dcb1943fd6fe41fc07209e3

The hotfixing logic is part of conda index which is included in conda-build. The fixes are passed via the -p or --hotfix-source-repo arguments.

@dhirschfeld
Copy link
Contributor Author

Closed by #3931

@github-actions
Copy link

github-actions bot commented Mar 6, 2022

Hi there, thank you for your contribution!

This issue has been automatically locked because it has not had recent activity after being closed.

Please open a new issue if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Mar 6, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 6, 2022
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

No branches or pull requests

1 participant