[aur-general] Rpc Info Order
alad at mailbox.org
Sat Feb 17 20:52:37 UTC 2018
On Sat, Feb 17, 2018 at 08:30:58PM +0000, Morgan Adamiec via aur-general wrote:
> Looking around a little more It seems to be a split package thing.
> Split packages always come before normal packages. I feel like
> something like this would be pretty common and found by now so I'm
> leaning on this not being a bug and just the way it is.
> On 17 February 2018 at 20:07, Morgan Adamiec <morganamilo at gmail.com> wrote:
> > Previously when using the Rpc interface info requests would always be
> > returned in order of input but I realised this specific request 
> > returns out of order. Is order a thing that was never guaranteed and
> > just happened to be true in 99% of instances or is this a true bug?
Thankfully life is nice and you can just use jq to sort by any
$ curl -g ... | jq '[.results] | sort_by(.Name)'
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
Desc: not available
More information about the aur-general