Inconsistent `version` validation and attaching hashes
I'm using the v3 index and think there is an inconsistent handling of version.
For example, the version 5.10.92-1
is possible to be stored in the --info "version:"
field, however apk version --check
fails and --info "provides:<packagename>=5.10.92-1"
silently ignores the invalid version.
A valid version would be 5.10.92-r1
.
This makes me wonder if it would be possible to attach a hash to a version, specifically for Kernel packages I'd like to use a hash to ensure kmod
compatibility.