dmacias72 / unRAID-plugins

unRAID plugins and packages
GNU General Public License v2.0
18 stars 6 forks source link

NerdPack: package availability based on unRAID version #7

Closed eschultz closed 8 years ago

eschultz commented 8 years ago

Just adding this issue as a FYI. Some of the package versions currently in NerdPack are not compatible with unRAID 6.2. There are newer package versions available but a couple of them won't work with unRAID 6.1.x.

Maybe specify a min_version and/or max_version on certain packages in packages.json?:

[
    {
        "name": "apr-1.5.0-x86_64-1.txz",
        "max_version": "6.1.99",
        "......"
    },
    {
        "name": "apr-1.5.2-x86_64-1.txz",
        "min_version": "6.2",
        "......"
    }
]

Meaning:

PHP has a pretty useful version_compare function to help out comparing the min/max_version with what's in /etc/unraid-version

dmacias72 commented 8 years ago

Thanks for the heads up. How much time do I have :)

dmacias72 commented 8 years ago

I ended up setting up separate github repos for 6.1 and 6.2