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

Is it possible to hook in during create-project? #103

Closed
oxyc opened this issue Jun 6, 2016 · 4 comments
Closed

Is it possible to hook in during create-project? #103

oxyc opened this issue Jun 6, 2016 · 4 comments

Comments

@oxyc
Copy link

oxyc commented Jun 6, 2016

I noticed the plugin isn't loaded during composer create-project so the first few repository packages.json files aren't downloaded in parallel. I'm not familiar with Composer codebase at all, is this a current limitation or is it a possible feature addition in Prestissimo?

@hirak
Copy link
Owner

hirak commented Jun 6, 2016

Yes. The parallel downloading packages.json function exercises only under a specific condition (now).
It's difficult in plugin's layer.

@oxyc
Copy link
Author

oxyc commented Jun 6, 2016

Thanks. At least your 3.0 release yesterday decreased my composer install step by 160 sec. Keep up the great work!

@hirak
Copy link
Owner

hirak commented Jun 13, 2016

@oxyc I released prestissimo-0.3.1 yesterday. The parallel downloading enables during composer create-project. Please try it!

$ composer global update hirak/prestissimo

@oxyc
Copy link
Author

oxyc commented Jun 13, 2016

Awesome! Haven't done any proper benchmarking but from looking at the output of -vvv --profile it looks to be working, and a lot faster now! Thanks again for an amazing project.

@oxyc oxyc closed this as completed Jun 13, 2016
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