fxpio / composer-asset-plugin

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

asset-pattern-skip-version #240

Closed loveorigami closed 8 years ago

loveorigami commented 8 years ago

After composer global require fxp/composer-asset-plugin:^1.2.0 I am added in composer extra

"asset-pattern-skip-version": "(-build|-patch)" 

and run composer update -vv

Now downloads all patches from bower-angular

001

francoispluchino commented 8 years ago

Try with:

"asset-pattern-skip-version": "(-patch)" 
loveorigami commented 8 years ago

Nothing 002

downloads all tags very-very easy

francoispluchino commented 8 years ago

Ok, you use github-no-api option (I hadn't noticed on your first screenshot). asset-pattern-skip-version option work only with the Github API, not with native GIT for the moment.

loveorigami commented 8 years ago

I am try false and true for github-no-api

rob006 commented 8 years ago

Your config is incorrect - you have this settings inside asset-installer-paths key.

francoispluchino commented 8 years ago

@rob006 It's exact. Thanks. And I say a stupidity... asset-pattern-skip-version work with native GIT normally.

francoispluchino commented 8 years ago

@loveorigami See the doc Change/Disable the skip of versions by pattern for the right configuration.

loveorigami commented 8 years ago

thanks, I am changed it. Sorry for my mistake.

francoispluchino commented 8 years ago

No problem.

nadar commented 8 years ago

In the docs is written:

By default, the plugin does not import the patch versions for increase dramatically performance. However, it is possible to change the pattern or to disable this feature.

By default, the plugin does not import the patch

So why do i have to set the

"asset-pattern-skip-version": "(-patch)"

option in order to speed up the compser update process? (Before Version 1.2 patches has been disabled by default maybe?).