fxpio / composer-asset-plugin

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

Option to skip update? #316

Closed Sarke closed 5 years ago

Sarke commented 6 years ago

As updating NPM and Bower dependencies are relatively slow (needs to hit many versions), I would appreciate an option when running composer update that skips checking the plugin updates, and only does a packagist.org update.

Many times I just want to update a specific private repo or fix the composer.lock file. Skipping these long updates would be nice.

brucebnu commented 5 years ago

Nobody knows?

brucebnu commented 5 years ago

config.fxp-asset.git-skip-update (root-only) The plugin can skip updating meta-data in git repositories for given amount of time, i.e. 6 hours, 3 days or 1 week.

"config": { "fxp-asset": { "git-skip-update": "2 days" } }

https://github.com/fxpio/composer-asset-plugin/blob/master/Resources/doc/schema.md#multiple-version-of-depdendency-in-the-same-project