-
Notifications
You must be signed in to change notification settings - Fork 63
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
Dont resolve symlinks in cradle discovery #219
Conversation
cc @bubba would you mind to give a review here as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really understand how canonicalising the path affected the paths in that issue but yeah if we can get away with using makeAbsolute
then we should. We should probably add a test case for this
Ah, I skimmed the last crucial sentence of that issue. You can add symbolic links in git (last time I checked), so maybe just a folder like
Where hie.yaml is
And then test that you can get the cradle for |
f8f32d4
to
18e2402
Compare
Added failing test-cases. I decided to solve it programmatically, since I can not add this symlink to the sdist tar archive (or at least, I expect troubles and pain). I verified that the test-case used to fail and doesnt anymore. |
7259b6f
to
eb40274
Compare
Prefer 'makeAbsolute' over 'canonicalizePath'
Prefer 'makeAbsolute' over 'canonicalizePath'
Solves the problem described in #218 but I am not sure if it would break something