shyim / store-plugin-installer

Install store.shopware.com Plugins automatically in your Shopware Composer Setup
36 stars 7 forks source link

FR: Support simple version number constraints #15

Closed RobertLang closed 5 years ago

RobertLang commented 5 years ago

It would be great if the plugin could support simple version number constraints like 3.*

I know this could lead to the use of unspecific plugin versions. Our use case would be to use wildcard version numbers to check the latest version of a plugin during development but to narrow down to an exact version for production/staging.

Example:

"extra": {
        "plugins": {
            "dev": {
                "SwagPromotion": "3.*",
                "SwagFuzzy": "3.2.*"
            },
            "production": {
                "SwagPromotion": "3.0.0",
                "SwagFuzzy": "3.2.1"
            }
        }
    },
mitelg commented 5 years ago

should be easy to find the maximum allowed version, as you already use composer components