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

Implement --prune flag for mamba env update #1343

Merged
merged 1 commit into from
Jan 20, 2022

Commits on Dec 10, 2021

  1. Implement --prune flag for mamba env update

    This fixes mamba-org#688 and the similar issue for conda conda/conda#7279.
    
    The prune flag is implemented by running the solver as if it was given
    an empty prefix and then computing the diff between the current prefix
    and the newly solved target and executing those resulting links and
    unlinks.
    
    This assumes that it is always possible to transform a given prefix to
    any other consistent set of packages, since the solver never sees the
    list of currently installed packages.
    
    Furthermore a small fix for leaking temporary files is included.
    adament committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    1590a5e View commit details
    Browse the repository at this point in the history