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

Use relative paths for checkouts symlinks #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gordonsyme
Copy link

@gordonsyme gordonsyme commented Oct 12, 2018

I run a lot of code in docker containers, in a VM on my laptop while using the
host machine for editing. Using relative paths for checkouts allows the
symlinks to remain valid when mounted into other filesystems.

I've assumed that modules must always be child directories of the parent
project, if that's not the case I also have a version of this that uses
relative paths when that's true and absolute paths otherwise.

This allows the symlinks to continue to work when mounted into other
filesystems, such as performing development in a docker container.
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.

1 participant