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

fix rover loading code #503

Merged
merged 2 commits into from
Nov 28, 2017
Merged

fix rover loading code #503

merged 2 commits into from
Nov 28, 2017

Conversation

mikz
Copy link
Contributor

@mikz mikz commented Nov 28, 2017

It was possible for luarocks.loader to break rover scope
and load code from your home directory.
Now only rover dependencies are available after running rover.setup.
So all code has to be preloaded before running it.

@mikz mikz requested a review from davidor November 28, 2017 11:47
mikz added 2 commits November 28, 2017 12:48
because openresty directories are going to be removed
from the load paths and it won't be possible to
load libraries provided by openresty
because it would add shared paths to the load paths
and load dependencies not defined in rover
@mikz mikz merged commit de0701f into master Nov 28, 2017
@mikz mikz deleted the improve-loading branch November 28, 2017 11:53
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.

2 participants