Navigation Menu

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

Allow to install/update only the composer.lock without installation #8551

Closed
mvorisek opened this issue Jan 25, 2020 · 1 comment
Closed
Labels
Milestone

Comments

@mvorisek
Copy link
Contributor

This is a feature request. For dependency analysises like this: https://gist.github.com/mvorisek/91ffee6254aed784daff3f1a0994d11a it is more than needed to be able to save the composer.lock file only without installing the actual files.

Of course it can be done from PHP, but this should be available via the composer CLI for easy use.

@Seldaek Seldaek added this to the 2.0 milestone Jan 27, 2020
@Seldaek
Copy link
Member

Seldaek commented Jan 28, 2020

That'd be

// TODO introduce option to set doInstall to false (update lock file without vendor install)
$res = $this->doUpdate($localRepo, true);
} else {
$res = $this->doInstall($localRepo);
(on the 2.0 branch) if anyone wants to tackle it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants