Page 1 of 1

add-on update site xt:version status

Posted: Tue Dec 05, 2017 11:14 am
by bwbohl
The oXygen extension schema has the xt:verison for encoding the version of an add-on.
While this field only allows "\d+.\d+.\d+." a version numeral can be much more complex. at least a status suffix like "-alpha" or "-beta" should be allowed, alas build information or the like.
My favourite versioning system is https://semver.org

What about adding those possibilities to the xt:version?
If I enter a more complex version like those described on the website I provided, would it break something (besides rendering the Add-ons update site file invalid?

any thanks,
Benjamin

Re: add-on update site xt:version status

Posted: Tue Dec 05, 2017 4:22 pm
by alex_jitianu
Dear Benjamin,
If I enter a more complex version like those described on the website I provided, would it break something (besides rendering the Add-ons update site file invalid?
Unfortunately, an invalid update site will not be loaded so the user can't install anything from it.

I will add an issue to update the xt:version to permit more complex versions. A compatibility problem will remain, though. Update sites that contain such complex versions will not be loaded in previous Oxygen versions... I guess we shouldn't have made the error handling so draconian...

Thank

Re: add-on update site xt:version status

Posted: Thu Dec 07, 2017 4:24 am
by bwbohl
Thanks for adding the issue ;-)