-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Create isolated environment for each framework #995
Comments
I have implemented a Carton deployment solution for the Mojolicious app in #1019 |
A number of the PHP apps use composer, so it's now mentioned on the PHP readme |
Should Isolated environments be in |
@methane Either |
OK. Python has 3 interpreters (CPython 2, CPython 3 and PyPy) and I should create |
This sounds perfect! In case this idea assists you : I commonly make the first commit in my branch a modification to the |
That's a nice hack! |
This is now the overarching design of the tests, and while probably still not perfect it is essentially in the master branch. |
As mentioned in #966, most languages with package systems also have tools to isolate environments (e.g. environment A has packages foo-v1,bar-v1.2,zlib-v0.6 while environment B has foo-v3,bar-v4.4,zlib-v0.6). We should use this! The first step is to separate all the framework-specific requirements out into their respective directories. @methane is making huge strides for python over in #984, @jberger basically finished this for perl with #986. This leaves languages like scala, php, etc, many of which already have some of their dependencies declared inside each framework folder.
The next step is to choose an environment isolation framework for each language. In #966 we discuss this step for Perl. @jberger prefers Carton, but also mentions local::lib and some other stuff I don't know (perlbrew, plenv). Once we settle on an environment manager for that language, we can apply it to all the tests.
Personally I think we should delay this until #448 is completed as it will become much cleaner to implement with a language-based directory structure (e.g. stuff likeDoneframeworks/php/...
andframeworks/perl/...
)The text was updated successfully, but these errors were encountered: