-
Notifications
You must be signed in to change notification settings - Fork 21
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
Load dependencies from .modules
subfolder
#726
Conversation
While working on this PR, I noticed that a couple of test cases involving I changed the behavior of the |
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.
@isc-shuliu few very minor comments. Looks great! We had discussed during the call today that this could also be supported for installing from a repo using the install command but in that case the local .modules directory would be used last in the ordering instead of first. Do you want to implement that in a separate review or this one?
Fix #721.
With this PR, a temporary fs repo will be configured for
<package-folder>/.modules
if it exists, and automatically deleted when the loading finishes (even if it returned an error status code).The temporary repo is also the first in terms of priority for discovering packages.