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 functionality to download lockfiles from internet #2229

Merged
merged 2 commits into from
Feb 2, 2023

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Jan 17, 2023

No description provided.

@@ -656,12 +656,33 @@ namespace mamba
}
}

static std::unique_ptr<TemporaryFile> tmp_lock_file;
Copy link
Member

Choose a reason for hiding this comment

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

Why static? this makes the feature unusable in a library context since it will be destroyed at the program exit only.

Copy link
Member Author

Choose a reason for hiding this comment

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

in the micromamba context, if it gets destroyed before, the file is gone. Let's look for a better solution :)

@wolfv wolfv merged commit 500c242 into mamba-org:main Feb 2, 2023
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