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

feat: allow conda environment names to be detected from environment.yml #909

Merged
merged 1 commit into from Apr 17, 2022

Commits on Mar 18, 2022

  1. feat: allow conda environment names to be detected from environment.yml

    Currently an error is encountered if an environment name is not
    specified to `layout anaconda`. This change attempts to detect
    the environment name from the environment.yml file by grepping
    for the `name` property and processing the result.
    
    The result is that .envrc files can now simply contain
    `layout anaconda` as long as the local environment.yml
    file specifies a `name`.
    
    No new dependencies are introduced as `grep` is already used
    and additional processing is performed using Bash parameter
    expansion.
    srstsavage committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    77a33a0 View commit details
    Browse the repository at this point in the history