Support OPKG/Debian version compare algorithm
Hi, while OpenWrt is overall excited moving to APK, a big blocker is the entirely different structure of versions. I already created dozens of patches to build just the base system, however much more is required to get things working. Even more so since people want hashes in their versions which is currently impossible with APK.
A more generic approach would be to use the rather simple algorithm from OPKG/Debian to compare package versions and choose the latest one, a simple implementation is available here.
Could we add this side by side with the current version comparing algorithm?
CC: @ariadne