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

Ignore Provide packages #1559

Closed
lightglitch opened this Issue Feb 4, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@lightglitch

lightglitch commented Feb 4, 2013

If a package is defined in provide section:

    "provide": {
        "ext-phpiredis": "*"
    }

and the same extension is installed in the system composer gives an error.
It would be nice to give priority to installed packages and ignore the ones in this section.

PS: I'm using this because I'm developing on widows where the extension is not installed but when I used my linux test server it's there.

@Seldaek

This comment has been minimized.

Show comment
Hide comment
@Seldaek

Seldaek Oct 17, 2014

Member

There is now a --ignore-platform-reqs flag for install/update that allows you to install even if an ext is missing on windows, but #1522 would be a better fix for what you are doing I guess. Anyway I'm closing this as there is a workable solution but I'd suggest you track #1522 (should be fixed soon too).

Member

Seldaek commented Oct 17, 2014

There is now a --ignore-platform-reqs flag for install/update that allows you to install even if an ext is missing on windows, but #1522 would be a better fix for what you are doing I guess. Anyway I'm closing this as there is a workable solution but I'd suggest you track #1522 (should be fixed soon too).

@Seldaek Seldaek closed this Oct 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment