11 Jun
2018
11 Jun
'18
4:54 p.m.
On Mon, 11 Jun 2018 at 01:28:36, Nodiv Byzero wrote:
Hey Lukas.
This patch implements additional check for package version. Of course, all clients can search by the name and then compare the version itself. But... this small improvement can help clients a lot. Here[1] is the good example.
Looking at that GitHub issue, it seems like the prefix match would not help here, though. We would need to implement proper version comparison support. I still do not see why this should be done as part of the search request, though. The clients should have access to vercmp(8) or a proper native version comparison implementation and adding a simple check after retrieving the search results should be quite easy.