Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MNT: Add symbolic link to environment.yml for user clarity#104

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
matthewfeickert wants to merge2 commits intoericmjl:master
base:master
Choose a base branch
Loading
frommatthewfeickert:mnt/use-symbolic-links-for-clarity

Conversation

@matthewfeickert
Copy link
Contributor

@matthewfeickertmatthewfeickert commentedJul 11, 2022
edited
Loading

This PR partially reverts things I did in PR#85. To make it easier for users who are not used to binder but maybe used to typical Conda workflows, add a symbolic link frombinder/environment.yml toenvironment.yml in the top level of the repository. Additionally, change all instances ofbinder/environment.yml toenvironment.yml (that is, run

git grep --name-only "binder/environment.yml" | xargs sed -i 's|binder/environment.yml|environment.yml|g'

).

This does not fully revert the work of PR#85 though, as Binder will always look for config files under thebinder/ directory in a repository if the directory exists. So this is more of a way to keep Binder config clear but also make things easier/clearer for users.

For an example of this behavior, c.f.phinate/differentiable-analysis-examples#1.

To make it easier for users who are not used to binder but maybe used totypical Conda workflows, add a symbolic link from binder/environment.ymlto environment.yml in the top level of the repository.This partially reverts parts of PR 85.
To ensure that everything is uniform across the repository, use thesymobolic link to the 'binder/environment.yml' that is in the top levelof the repository.
@matthewfeickert
Copy link
ContributorAuthor

@ericmjl@hugobowne this is ready for review, though perhaps we should get the CI running in another PR and then come back and rebase this once that is done. Though as it seems the CI isn't supporting Windows I don't think we need to be worried about symbolic links failing there so this should be fine if you want to visually review only.

@matthewfeickert
Copy link
ContributorAuthor

Gentle ping on this to see if there is anything else that needs to get done before merge.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ericmjlericmjlericmjl approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@matthewfeickert@ericmjl

[8]ページ先頭

©2009-2025 Movatter.jp