[PATCH 1/1] This patch implements FS#54906. Ability to query by pkgver via RPC or web request (url)

Lukas Fleischer lfleischer at archlinux.org
Mon Jun 11 14:54:40 UTC 2018


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.

> 
> [1] https://github.com/falconindy/auracle/issues/3


More information about the aur-dev mailing list