fxpio / composer-asset-plugin

NPM/Bower Dependency Manager for Composer
MIT License
893 stars 156 forks source link

composer require --prefer-dist fxp/composer-asset-plugin takes long time #265

Closed foolishnoob closed 7 years ago

foolishnoob commented 7 years ago

I just input command composer require --prefer-dist fxp/composer-asset-plugin:1.2.2 -vvv and then it takes several hours , from the feedback infomation ,i found it loop to do this thing: 1.Reading bower.json of bower-asset/XXX (vXXX-patchXXX), 2.download from https://api.github.com/ of this patch's bower.json , 3.and then download from https://api.github.com of this patch's commit, 4.Importing tag of this patch then patch minus 1, and loop above from patch 4XXX to patch 3XXX to patch 2XXX... thank you very much.

cebe commented 7 years ago

see https://github.com/fxpio/composer-asset-plugin/issues/257 and https://github.com/fxpio/composer-asset-plugin/blob/master/Resources/doc/faqs.md#how-to-reduce-the-number-of-requests-for-getting-the-package-definitions