fxpio / composer-asset-plugin

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

Invalid version string with compound versions #146

Open YasserHassan opened 9 years ago

YasserHassan commented 9 years ago

When trying to install the font source-sans-pro which has a current release version of 2.010R-ro/1.065R-it as shown here, the following error message is produced:

[UnexpectedValueException]                    
Invalid version string "2.010R-ro/1.065R-it"  
YasserHassan commented 9 years ago

It also can not handle single versions like 1.050R from the same page above. The error message is:

[UnexpectedValueException]
Could not parse version constraint 1.050R: Invalid version string "1.050R"
francoispluchino commented 9 years ago

This pattern is not supported.

YasserHassan commented 9 years ago

Are there plans to support it in future versions?

francoispluchino commented 9 years ago

Why not, if someone wants to do.