Git Product home page Git Product logo

conda-protect's Introduction

Travis' neck of the GitHub woods...

Welcome to my GitHub profile! Plenty of stuff to check out, so take a look ๐Ÿ‘€.

conda-protect's People

Contributors

travishathaway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

centaurioun

conda-protect's Issues

Discontinue use of `context.active_prefix`

Based on discussions from conda/conda#12704, this project should instead do this:

def custom_plugin_pre_commands_action(command: str, args):
    if is_environment_locked(context.target_prefix):
        raise CondaEnvLockError(
            f"Environment \"{context.target_prefix}\" is currently locked. "
            f"Run `conda envlock '{context.target_prefix}'` to unlock it"
        )

Don't block `--dry-run` (`-d`) updates

When I have an environment protected, I still sometimes want to see what is out of date and can be updated.

In such a case I usually run conda update --all --dry-run which since its not actually changing the environment would be useful to see that supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.