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

[RFC] virtual env. like. #2325

Closed
liuggio opened this issue Oct 13, 2013 · 2 comments
Closed

[RFC] virtual env. like. #2325

liuggio opened this issue Oct 13, 2013 · 2 comments

Comments

@liuggio
Copy link
Contributor

liuggio commented Oct 13, 2013

A very common and useful command especially in python is changing environment,
it is used also to see how the application reacts with different versions of dependencies.

It would be very useful to be able to switch 'env' in composer, especially during debugging and testing.

I see 2 solutions for doing this:

A require section for each env.

 "require-sf2.4":  { ...

Or adding a new json file called composer-{env} containing only the differences with the original composer file.

Do you really think that debugging and testing are weaks use cases?

@liuggio
Copy link
Contributor Author

liuggio commented Oct 13, 2013

found another use case #2129, different application env. with different dependecies.

@Seldaek
Copy link
Member

Seldaek commented Oct 16, 2013

This should be possible to handle with the COMPOSER env var (which loads a new composer.json) and #1013 for extending the file.

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

No branches or pull requests

2 participants