diff options
author | Alad Wenter | 2022-02-16 12:49:23 +0100 |
---|---|---|
committer | Alad Wenter | 2022-02-16 12:49:23 +0100 |
commit | 6165bd7324420d48cb2997bfd752412117dfd698 (patch) | |
tree | edf299db135ceea553c0f6230493216e0022a52c | |
parent | 4bd2bc4846f8b12113791630a80b46a0595bb4f3 (diff) | |
download | aur-6165bd7324420d48cb2997bfd752412117dfd698.tar.gz |
changelog: update for aurutils 6
-rw-r--r-- | aurutils.changelog | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/aurutils.changelog b/aurutils.changelog index f0e6bab0ce3c..d26b572b5c17 100644 --- a/aurutils.changelog +++ b/aurutils.changelog @@ -1,13 +1,29 @@ -## 5.2 - -* `aur-seach` - + `-a` now correctly returns the union of search results - -## 5.1 - -* `aur-query` - + correctly evaluate `AUR_QUERY_RPC_SPLITNO_POST` - + lower default of `AUR_QUERY_RPC_SPLITNO_POST` to 500 +## 6 + +In previous versions, `aur search` would display an intersection of search +results, the symmetric difference with `-a` (bug), and the concatenation with +`-r`. (#918) + +`aur search -a` now correctly returns the union, and the `-r` output is +processed with jq(1) to return the intersection by default, or the union (with +duplicates removed) with `-a`. This processing is done because the RPC +interface as of aurweb 6.0.11 does not expose set operations, and so +`aur-search` performs one search for each argument. `aur search --json` was +added as an alias to `--raw`, and the latter option is now deprecated. + +The implementation is done in `aur-query`, which now takes the intersection of +search results by default. The union can be taken with `aur query --any`, or +unprocessed results shown with `-r` or `--raw`. In each case, the output is +newline delimited (JSON Lines, `jq -r`). If the search completed without +results, `aur-query` will either exit with status 0 (if no request resulted in +an error), 1 (if the `-e` option was specified), or 2 (if at least one request +resulted in an error). + +`AUR_QUERY_RPC_SPLITNO_POST` received bug fixes (#920), and the default has +been reduced to 500 after experiencing issues with a larger number of +arguments. Users looking to use `aur-query -t info` with a very large number +of arguments should instead consider `aur pkglist --info`. +`AUR_QUERY_RPC_PARALLEL` also received several bugfixes. ## 5 |