[aur-general] Rpc Info Order

Morgan Adamiec morganamilo at gmail.com
Sat Feb 17 20:57:54 UTC 2018


Yes there's a few easy ways around it, was just wondering if it's a
bug or not before making a bug report.

On 17 February 2018 at 20:52, Alad Wenter via aur-general
<aur-general at archlinux.org> wrote:
> 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 [1]
>> > 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
> field.
>
>   $ curl -g ... | jq '[.results[]] | sort_by(.Name)'
>
> Alad


More information about the aur-general mailing list