package version formatting
The issue has mutated to a discussion about the version formatting in general.
Related !144, #7100, #10816 (closed)
Old description
The version format for virtual packages (YYYYmmdd.HHMMSS
) doesn't include a pkgrel
like packages normally have (<pkgver>-r<pkgrel>
).
This creates ambiguity in the output of the apk list
command. Normally it is enough the strip the last 2 dashes but that doesn't work with the version format of virtual packages:
<pkgname>-<pkgver>-r<pkgrel>
<pkgname>-YYYYmmdd.HHMMSS
I suggest adding -r0
to the version of virtual packages app_add.c#L118
. !132 (closed) does fix the apk list
problem too but a consistent version format would still be better.
Edited by Sertonix