diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | aurutils.changelog | 926 | ||||
-rw-r--r-- | aurutils.install | 11 | ||||
-rw-r--r-- | aurutils.pub | 2 |
5 files changed, 962 insertions, 30 deletions
@@ -1,26 +1,27 @@ pkgbase = aurutils pkgdesc = helper tools for the arch user repository - pkgver = 3.1.2 + pkgver = 19.3 pkgrel = 1 url = https://github.com/AladW/aurutils + install = aurutils.install changelog = aurutils.changelog arch = any license = custom:ISC - makedepends = signify depends = git - depends = jq depends = pacutils depends = curl + depends = perl + depends = perl-json-xs + depends = bash optdepends = bash-completion: bash completion optdepends = zsh: zsh completion optdepends = devtools: aur-chroot optdepends = vifm: default pager - source = https://github.com/AladW/aurutils/releases/download/3.1.2/aurutils-3.1.2.tar.gz - source = https://github.com/AladW/aurutils/releases/download/3.1.2/aurutils-3.1.2.tar.gz.signify - source = aurutils.pub - sha256sums = 86a80ae8327aeeb4932c7709767b2be5fae19281a5bcc78b2b10197e97c32afb - sha256sums = SKIP - sha256sums = a2c32b0dba4da40b83ff31cce48a00faed5ed2f663c060a865d31caeb1e4ed39 + optdepends = ninja: aur-sync ninja support + optdepends = bat: view-delta example script + optdepends = git-delta: view-delta example script + optdepends = python-srcinfo: sync-rebuild example script + source = aurutils-19.3.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/19.3.tar.gz + sha256sums = b49636092e17d4daec129fc4cf86a436145c5acc91df80f1e3dd72bf99846ed6 pkgname = aurutils - @@ -1,36 +1,34 @@ # Maintainer: Alad Wenter <https://github.com/AladW> +# Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr> +# Co-Maintainer: zoorat <zoorat [at] protonmail [dot] com> + pkgname=aurutils -pkgver=3.1.2 +pkgver=19.3 pkgrel=1 pkgdesc='helper tools for the arch user repository' url='https://github.com/AladW/aurutils' arch=('any') license=('custom:ISC') -source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" - "$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.signify" - 'aurutils.pub') +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") changelog=aurutils.changelog -sha256sums=('86a80ae8327aeeb4932c7709767b2be5fae19281a5bcc78b2b10197e97c32afb' - 'SKIP' - 'a2c32b0dba4da40b83ff31cce48a00faed5ed2f663c060a865d31caeb1e4ed39') -depends=('git' 'jq' 'pacutils' 'curl') -makedepends=('signify') +install=aurutils.install +sha256sums=('b49636092e17d4daec129fc4cf86a436145c5acc91df80f1e3dd72bf99846ed6') +depends=('git' 'pacutils' 'curl' 'perl' 'perl-json-xs' 'bash') optdepends=('bash-completion: bash completion' 'zsh: zsh completion' 'devtools: aur-chroot' - 'vifm: default pager') - -prepare() { - signify -V -p aurutils.pub -m "$pkgname-$pkgver".tar.gz \ - -x "$pkgname-$pkgver".tar.gz.signify -} + 'vifm: default pager' + 'ninja: aur-sync ninja support' + 'bat: view-delta example script' + 'git-delta: view-delta example script' + 'python-srcinfo: sync-rebuild example script') build() { cd "$pkgname-$pkgver" - make + make AURUTILS_VERSION="$pkgver" } package() { cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + make AURUTILS_VERSION="$pkgver" PREFIX=/usr ETCDIR=/etc DESTDIR="$pkgdir" install } diff --git a/aurutils.changelog b/aurutils.changelog index 6d7dd4b0343e..cc20546592a1 100644 --- a/aurutils.changelog +++ b/aurutils.changelog @@ -1,4 +1,928 @@ -## 3.0.0 - 2020-10-26 +## 19.1 + +* `aur-sync` + + pass `--root` to `aur-build` (#1148, #1149) + +## 19 + +* `aur-build` + + add `--cleanbuild` + + do not shell quote `--status` paths + + early check for buildscript + +* `aur-chroot` + + do not shell quote `--status` paths + +* `aur-depends` + + only include `Self` targets for command-line arguments (`--table`, #1136) + + verify dependency version requirements (`--verify`) + +* `aur-graph` + + prevent unwanted matches in certain URLs (#1134) + +* `aur-repo` + + add `-m` / `--missing` + + add `--ignore`, `--ignore-by` + + do not shell quote `--status` paths + + fix invalid output with `--json --search` (#1126) + +* `aur-sync` + + document `aur-view` options + + detect local repositories with `--chroot` configuration (#1135) + + add `--clean` / `-C`, `--cleanbuild` + - default build command changed to `aur build --syncdeps` + + add `aur-sync--filter` helper (#1136, #1140) + +* `aur(1)` + + use `git-clean -ixd` to clean directories with `aur-gc` + +* `perl` + + add `Depends.pm`, `Repo.pm` + +## 18.5 + +* `aur-repo` + + prefix pacman.conf in error messages (#1118) + +* `aur-build` + + propagate `--pacman-conf` to local repository upgrade + +## 18.4 + +* `aur-repo` + + fix incomplete output with `--search` (`--json`, #1120) + +## 18.3 + +* `aur-build--pkglist` + + do not source `PKGBUILD` in `$PATH` (#1115) + +* `aur-repo` + + use pacman `DBPath` as `root` (`--sync`) + +* `aur-depends` + + skip lines with equal `pkgbase` (`--pkgbase`) + +## 18.2 + +* `aur-repo` + + do not require `file://` path for specified repository (#1113) + +* `aur-depends` + + fix regression introduced in v18 (#1112) + +* `aur-build` + + fix `--temp` (#1111) + +## 18.1 + +* `aur-chroot` + + remove `/usr/share/devtools/pacman.conf.d/aurutils.conf` path introduced in v18 + +## 18 + +* `aur-build` + + add `--dbext` + + shell escape file paths in diagnostics + +* `aur-chroot` + + take file paths in `/etc/aurutils` into account + + add `--build` options (`-A`, `--nocheck`, `--namcap`, `--checkpkg`, `--temp`, `--user`) + + add `--status` + + `--path` is now deprecated + + `--suffix` no longer defaults to `extra` + +* `aur-depends` + + `RequiredBy` is now a flat dictionary (`--json`, `--jsonl`) + +* `aur-fetch` + + only run git-rebase/merge on new upstream commits + +* `aur-repo` + + shell escape printed file paths + + add `--dbext` + + require a configured pacman repository (`--database`) + +## 17.3 + +* `aur-build` + + use `printf` instead of `warning` (#1101) + +## 17.2 + +* `aur-sync` + + remove repository write check + +* `examples` + + rename `sync-rebuild --vcs` to `--pkgver` + +## 17.1 + +* `examples` + + add `--vcs` for `sync-rebuild` + +## 17 + +* `aur-sync` + + `--no-build` now prints `AURDEST` paths regardless of `AUR_SYNC_USE_NINJA` (#1096) + +* `examples` + + remove `python-pyxdg` dependency (#1096) + + fixes for `sync-rebuild` (#1096) + +## 16.5 + +* `examples` + + add `--chroot`, `--user` for `sync-rebuild` + +## 16.4 + +* `aur-repo-parse` + + improve `Repository` field + + check database extension + +* `examples` + + add AUR dependency resolution for `sync-rebuild` + +## 16.3 +* `aur-sync` + + only print queue with `--no-build` to standard output + +## 16.2 + +* `aur-sync` + + `--save` now applies when building packages + +## 16.1 + +* `examples` + + fixes for `sync-rebuild` + +## 16 + +* `aur-repo` + + `--status` is now the default + + add `Repository` to `--json` / `--jsonl` output + +* `aur-format` + + add `%R` format option + +* `perl` + + `write_json()` now returns a string + +* `aur` + `--env` now prints `PERL5LIB` + +## 15.7 + +* `aur-repo` + + add `--search`, `--search-by` (#1057) + +* `aur-sync` + + `--save`: do not use `/dev/stdout` (#1083) + +## 15.6 + +* `examples` + + remove `AUR_EXEC_PATH` from `sync-asroot` [fixup] + +## 15.5 + +* `aur-build` + + support makepkg configuration in `/etc/aurutils` (#1076) + +* `aur-depends` + + add `--jsonl` + +## 15.4 + +* `aur-sync` + + add `--save` + +* `examples` + + `sync-asroot` now works with `AUR_PAGER=ranger` (#1077) + + `sync-rebuild` python rewrite + +## 15.3 + +* `aur-pkglist`, `aur-view`, `aur-search` + + prefix errors with command name + +## 15.2 + +* `aur-chroot` + + adjust default `makepkg`, `pacman` paths depending on `devtools` version (#1072) + +## 15.1 + +* `aur-pkglist` + + remove deprecated options (`-J` (`--json`), `-I`, `-S`) [fixup] + +## 15 + +* `aur-repo` + + add `--format` (`-f`), `--delim` + +* `aur-format` + + support `aur-repo-parse --jsonl` input (`AUR::Json.pm`) + +* `aur-pkglist` + + remove deprecated options (`-J` (`--json`), `-I`, `-S`) + + update documentation + +* `examples` + + `sync-rebuild` now respects package `epoch` + +## 14.1 + +* `aur-sync` + + fix exit codes for `tsort`, `aur-repo-parse` + +## 14 + +* `aur-depends` + + add `Self` dependency for every target (#1065) + +* `aur-sync` + + `--rebuild-tree` now implies `--no-provides` (#1068) + + add `--no-sync` (`aur-build --no-sync`) (#1064) + +## 13.8 + +* `aur-depends` + + add `--show-all` (alias for `--all`) + + prune virtual targets with `--all` + +## 13.7 + +* `aur-depends` + + fix regression in 13.6 + +## 13.6 + +* `aur-depends` + + fix output when non-AUR targets are specified on the command-line (#1062) + +## 13.5 + +* `aur-build` + + use /etc/aurutils/pacman-<db_name>.conf only with `--database` or `AUR_REPO` set + +## 13.4 + +* `aur-fetch` + + exit 0 on empty stdin (`-`, `/dev/stdin`) + +* `aur-depends` + + exit 0 on empty stdin (`-`, `/dev/stdin`) + +* `aur-query` + + exit 0 on empty stdin (`-`, `/dev/stdin`) + +* `aur-view` + + evaluate `AUR_CONFIRM_PAGER` + +## 13.3 + +* `Makefile` + + correctly install to `AUR_LIB_DIR` + +* `aur-build` + + get local repository state before `--chroot` configuration + +* `aur-graph` + + add `PRINTALL` + +* `aur.1` + + fixes for `aur-format` + +## 13.2 + +* `build--pkglist` + + set `pkgname` as fallback for `pkgbase` (#1058) + +## 13.1 + +* `aur-fetch` + + fix regression for `aur-fetch--mirror` + +## 13 + +* `aur-build` + + add `--null` (`-z`) + + add `AUR_BUILD_PKGLIST` environment variable + +* `aur-build--pkglist` + + remove `--user` (`-U`) + + only run as root with `AUR_ASROOT` set + +* `aur-depends` + + add `--assume-installed` + +* `aur-srcver` + + accept arbitrary source directories as arguments + + add `--arg-file` (`-a`), `--null` (`-z`), `--margs` + + add `AUR_MAKEPKG` environment variable + + only run as root with `AUR_ASROOT` set + + exit 1 if any `makepkg` job failed + +* `aur-sync` + + `--ignore` now removes dependencies of ignored targets + +* `examples` + + update `sync-asroot` to use `AUR_BUILD_PKGLIST` + +## 12.1 + +* `AUR.pm` + + call `urlencode()` when retrieving URIs with `AUR::Query` (#1053) + +* `aur-depends` + + documentation updates + +## 12 + +* `aur-build` + + merge helper `aur-build--sync` back to `aur-build` + + avoid errors with PKGBUILDs that fail to source with `set -e` + +* `aur-repo-filter` + + `unbuffer` is now optional (#1052) + +* `aur-view` + + use null seperated lists as input to vifm(1) + +* `examples` + + add `sync-rebuild` + +* `lib` + + unset `CDPATH` where needed + + use `getopt` instead of `parseopts.sh` from libmakepkg + +* `man1` + + documentation updates + +## 11 + +* `aur-build` + + add `aur-build--sync` helper for local repository upgrades + - `sudo pacman -Syu --config` is replaced by `sudo pacsync <repo>` and `sudo pacman -S <repo>/<pkg>` + - local repository upgrades are now unaffected by `--pacman-conf` + + add `exist:` to `--results` output + - remove `--dry-run` + + fallback to `/etc/aurutils/pacman-<machine>.conf` if `pacman-<database>.conf` does not exist + + rename `MAKEPKG` environment variable to `AUR_MAKEPKG` + + replace experimental `AUR_ASROOT` functionality (#1023) + - add `examples/sync-asroot` + - add `--user` to `aur-build--pkglist` + - add `AUR_GPG`, `AUR_REPO_ADD`, `AUR_MAKEPKG` environment variables + +* `aur-chroot` + + remove `--packagelist` (deprecated in v8) + + run `sudo --preserve-env` when `AUR_PACMAN_AUTH` is empty or `sudo` + +* `aur-depends` + + perl rewrite + + add `--json`, `--reverse` + + take provides on the command-line into account (#837) + - add `--no-provides` + + default output changed to `--graph --pkgbase` + - ordered output with `aur-depends --reverse | tsort` + +* `aur-fetch` + + add `aur-fetch--mirror` helper for `aur.git` mirrors + - defaults to `github.com/archlinux/aur` + - enable with `AUR_FETCH_USE_MIRROR=1` + + run flock(1) when modifying existing repositories + + run git-checkout(1) when using `--sync=rebase` with `--discard` (#1006) + +* `aur-graph` + + selectively disable/enable depends with `aur graph -v <TYPE>=[0|1]` + - supported types: `DEPENDS`, `MAKEDEPENDS`, `CHECKDEPENDS`, `OPTDEPENDS` + - forwarded by `aur-sync` (`--optdepends`, `--no-check`) + +* `aur-repo` + + add `--json`, `--jsonl` + +* `aur-query` + + perl rewrite + + remove support for parallel (`AUR_QUERY_PARALLEL`) and `GET` requests + + set operations (union, intersection) are moved to `aur-search` + - remove `--any`, `--exit-if-empty` + - `--raw` is noop + + remove `--dump-curl-config` + - print command-lines with `AUR_DEBUG=1` + + `-t` / `--type` is now a required parameter + +* `aur-search` + + perl rewrite + + add `--reverse` + - `-r` is now an alias to `--reverse` + + add `--submitter`, `--provides`, `--conflicts`, `--replaces`, + `--keywords`, `--comaintainers` + + exit 4 on AUR response errors such as `query too small` (was: exit 2) + +* `aur-sync` + + add diagnostic for missing packages with `--continue` + + save `ninja.build` files in `XDG_STATE_HOME/aurutils/sync` + + add `--columns` + +* `aur-view` + + add `--exclude`, `--prefix` + +* `aur-format` + + new helper + +* `aur-repo-parse` + + new helper + +* `completion` + + support extending `zsh` completion for third party commands (#1016) + +* `examples` + + add `view-delta` (requires: `bat`, `git-delta`) + + add `sync-asroot` + +## 10 + +* `aur` + + support environment files (`$AUR_ENV`, defaults to `$XDG_CONFIG_HOME/aurutils/env`) + + add `--env` + +* `aur-build` + + use `AUR_PACMAN_AUTH` as elevation command (prior: `PACMAN_AUTH`) + + use `$PWD` as default value for `$LOGDEST` + + bug fixes for gpg signing (`--sign`) + +* `aur-chroot` + + use `AUR_PACMAN_AUTH` as elevation command (prior: `PACMAN_AUTH`) + +* `aur-fetch` + + `--sync=auto`: run `git-merge` instead of `git-reset` + - add `--ff`, `--ff-only`, `--no-ff`, `--no-commit` options + - fix a bug where setting `aurutils.rebase` affected unrelated targets + - set default author for merge commits to `aurutils@localhost` + + `--sync=auto` now preserves local changes by default + - `--discard` (`-f`) resets the branch on new upstream commits + + add `--reset`, `--rebase`, `--auto` (`--sync=reset`, `--sync=rebase`, `--sync=auto`) + + support multiple branches, with commits merged from `origin/master` + +* `aur-pkglist` + + output is now independent of command-line argument order + + deprecate `-I`, `-S`, `-u` + - renamed to: `-i` (`--info`), `-s` (`--search`) `-q` (`--quiet`) + + deprecate `-J` (`--json`) + - behaves like `--plain`, remove pretty-printing with `jq` + + add `--systime` + +* `aur-repo` + + `-q` now applies to `--list` and `--upgrades` + + add `--list-attr` + + deprecate `--status-file` + +* `aur-search` + + add `--color` (`auto`, `always`, `none`) + +* `aur-srcver` + + remove `-E`, `--env` (deprecated in v8) + +* `aur-sync` + + use pkgspec `<REPOSITORY>/<PACKAGE>` format for `--ignore-file` + - support for sections (introduced with v6.3) is removed (#880) + - <PACKAGE> ignores apply to all local repositories + + add `--rebase`, `--reset` options for `aur-fetch` + + exit 22 on dependency cycles (v7 regression) + + filter dependency graph by pkgname, not depends (v7 regression) + + store `build.ninja` files in `$XDG_RUNTIME_DIR/aurutils` + +* `completions` + + major overhaul of zsh completions (#990) + +## 9.6 + +* `aur-pkglist` + + add `AUR_METADEST` (directory where metadata archives are stored) + + add `--quiet` + +* `aur-fetch` + + write `git-merge` to `results_file` if the command is run + +## 9.5 + +* `aur-build` + + add `--results-append` + + write results file as build user + +* `aur-query` + + support `--type=suggest` + +## 9.4 + +* `aur-build` + + revert "retrieve local repository before setting --chroot paths" + +## 9.3 + +* `examples` + + rework `sync-list` + +## 9.2 + +* `aur-build` + + deprecate `--results` + + retrieve local repository before setting `--chroot` paths + + unset `PKGEXT` when using `--chroot` + +* `aur-search` + + use OSC8 terminal hyperlinks (#849) + +## 9.1 + +`aur-build` now uses `setpriv(1)` to run unprivileged commands (`makepkg`, `gpg`, +`repo-add`) when `AUR_ASROOT` is combined with `--user`. This change has no +effect when running `aur-build` as a regular user. + +Usage: + + $ sudo env AUR_ASROOT=1 aur build --chroot --user <build_user> ... + +The above works with `--chroot` (`makechrootpkg -U`). Environment variables in +the root environment are preserved for user commands, similar to `runuser -c`. +Host builds using `makepkg --syncdeps` to install dependencies require further +configuration. + +┌──────────────────────────────────────────────────────────────────────────────┐ +│ WARNING! │ +│ │ +│ Running `aur-build` as root is experimental and disabled by default. If your │ +│ install breaks, you get to keep both pieces. │ +└──────────────────────────────────────────────────────────────────────────────┘ + +## 9 + +* `examples` + + add `chroot-batch` + +* `lib` + + add `aur-build--pkglist` + +* `aur-build` + + add `--dry-run` + + redirect `makepkg -od` output (`--pkgver`) to stderr + + sign existing packages (#967) + +* `aur-fetch` + + add `--no-pager` to the `git log` command (#969) + + `--existing`: clone instead of skip targets if they exist + +* `aur-sync` + + redirect `aur-fetch` output to stderr (#974) + +## 8.3 + +* `aur-fetch` + + add `--revision` + + add `--no-patch` + +* `aur-repo` + + add `--field` + +* `examples` + + add `vercmp-devel`, `sync-list` + + rename `aur-sync-devel` to `sync-devel` + +## 8.2 + +* `aur-srcver` + + add separator before first failed package + +* `aur-fetch` + + handle empty `git` repositories (#959) + +* `man7` + + remove `aurvcs.7`, move `aur-sync-devel` to `examples` + +## 8.1 + +* `aur-srcver` + + fix directory to source the build script from (#958) + +## 8 + +* `aur-chroot` + +The `aur-chroot` command-line was changed so that `--create`, `--build` and +`--update` can be used in a single command. Command-line arguments are now +exclusively used for packages passed to `mkarchroot` and `arch-nspawn`. +To set `makechrootpkg` options, the new `--margs` and `--cargs` options are +available. As `aur-build --margs`, these take a comma-delimited string and +can be specified multiple times. (Issues: #950, #807) + +The `--packagelist` command is now deprecated. The container path can be +retrieved with the `--path` option, e.g for use with `makepkg --config`. + +* `aur-build` + + Consider all repositories (`Usage = Install`) for local repository upgrade (#956) + +* `aur-srcver` + + add `--buildscript` + + deprecate `-E` / `--env` + - `get_full_version` from `libmakepkg` is now used after running `makepkg` + + take arguments from `stdin` if `-` is specified + +* `aurvcs.7` + + run `aur-fetch` and `aur-view` before `aur-srcver` + + sample code remaned to `aur-sync-devel` + +## 7.2 + +* `aur-search` + + add `OptDepends` to `--info` output (#945) + + handle empty keywords in `--info` output (#946) + +* `aur-depends` + + add `--optdepends` (#945) + +* `aur-sync` + + add `--optdepends` (#945) + +## 7.1 + +* `aur-build` + + pass --nocheck to chroot (#942) + +* `aur-sync` + + avoid off-by-one in ninja build summary (#940) + +* `aur-query` + + do not abort if `-t` is unspecified (#938) + +## 7 + +This release adds optional support for the `ninja` build system. If the +`AUR_SYNC_USE_NINJA` environment variable is set to a positive value, +`aur-sync` will generate `build.ninja` where each target has an `aur-build` +command-line. This allows to continue building a series of packages when +several failed, with the maximum of failed targets controlled by the `-k` / +`--keep-going` option. On failure, a summary of successful ("OK") and failed +("FAIL") package builds is printed. The `--no-build` option in turn only +generates `build.ninja`, and prints the corresponding directory to `stdout`. + +The logic to generate `build.ninja` files is exposed in the `aur-sync--ninja` +script. It can be used with other `aur` programs that output `pkgbase +depends_pkgbase` pairs, for example: + + $ aur depends --graph "$@" | aur sync--ninja "$PWD" -- aur build + +When running `ninja` on the resulting file, each successfully built `pkgbase` +will result in a `pkgbase.stamp` file. If the corresponding `PKGBUILD` is +modified, it will be marked for rebuilding by `ninja`. This can for example be +used for a git repository which hosts multiple `PKGBUILD` directories. + +## 6.4 + +* `aur-depends` + - add `--graph` + - checkdepends are now removed during dependency resolution, not afterwards (#882) + +## 6.3 + +* `aur-sync` + - `--ignore-file` now supports per-repository sections (INI-style) + - do not ignore targets when specified on the command-line + +## 6.2 + +* `aur-pkglist` + - add `-v` / `--verify` (verifies published sha256sums) + +* `aur-repo-filter` + - add repository to dependency messages ("dependency foo satisfied by repo/bar") + - deduplicate results on stdout + +## 6.1 + +* `aur-search` + - do not print additional messages on errors or no results + +* `aur-query` + - add `-a` alias for `--any` + - add missing newline in case of errors (`jq -r`) + +## 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 + +* `aur-srcver` + + add `-E` / `--env` (#898) + +* `aur-query` + + support HTTP POST for info-type requests + + use `aurutils` user agent (`curl -A`) + +* `aur-pkglist` + + use `aurutils` user agent (`curl -A`) + +* `aur-repo-filter` + + add `--config` to set pacman configuration + +## 4.4 + +* `aur-sync` + + fix regressions with `--ignore` from 4.3 release + +## 4.3 + +* `aur-build` + + wordsplit MAKEPKG and PACMAN_AUTH + +* `aur-sync` + + improve error handling + +## 4.2 + +* `aur-build` + + support PACMAN_AUTH environment variable for custom elevation command + +* `aur-repo` + + improve error handling + + remove extraneous `--` on `--path` output + +## 4.1 + +* `aur-build` + + handle absolute paths in `--arg-file` + +* `aur-pkglist` + + add `--users` (`-U`) to retrieve a list of AUR users + + update aur-pkglist(1) man page + +* `aur-repo` + + fix formatting for `--table` and packages with no dependencies + +## 4 + +* `aur-build` + + add `--no-check` (`makepkg --nocheck`) + +* `aur-search` + + add `--table` + +* `aur-fetch` + + add compatibility options (`--recurse`) + +* `aur-repo` + + add compatibility options (`--path`, `--path-list`, `--repo-list`) + + fix regression with `AUR_QUERY_PARALLEL` + +* `aur-sync` + + add `--no-check` (short for `--no-checkdepends`) + - implies `aur-build --no-check` + + apply `--ignore` to local repository targets + + `--ignore-file` now works with process substitution (#880) + + remove `--no-depends`, `--no-makedepends` + +## 3.3.0 + +`aur-query` and `aur-fetch` now take arguments from the command-line +by default. If `-` or `/dev/stdin` is the first (and only) arguments, +they are taken from `stdin` instead. In particular, `aur fetch --recurse` +is now written as `aur depends --pkgbase ... | aur fetch -`, and the +explicit `--recurse` option was removed. + +The `-` argument propagates to `aur-depends` and `aur-search` +transparently. Additionally, `aur-sync` no longer calls `aur-depends` +and `aur-fetch` with `xargs`, avoiding the 123 exit code on failure of +these commands. + +## 3.2.1 + +* `aur-query` + + support AUR_LOCATION + + preserve `curl --parallel` exit codes (requires curl >=7.77.0) + + complete aur-query(1) man page + +* `aur-pkglist` + + support multiinfo and search dumps (`--info`, `--search`) + + support HTTP Last-Modified + +* `aur-fetch` + + add `--existing` + +* `aur-view` + + new script that includes the package inspection logic from `aur-sync` + +## 3.2.0 + +* `aur-build` + + retrieve database extension from `AUR_DBEXT` (defaults to .db) (#700) + + resolve path argument to `--results` + + use `aur repo --status` for repository selection + - allows specifying `--root` without `--database` + + print diagnostic if packages were not moved to local repository (#794) + + merge `--config` and `--pacman-conf` (#808, #824) + + fallback to /etc/aurutils/pacman-<arch>.conf if --chroot is used without --database (#846) + + add diagnostic if chroot pacman.conf is non-existing (#783) + +* `aur-depends` + + add `--no-depends`, `--no-makedepends`, `--no-checkdepends` (#826) + + add dependency kind column to `--table` output + +* `aur-chroot` + + preserve `SSH_AUTH_SOCK` to support ssh-based operations (#832) + +* `aur-repo` + + retrieve database extension from `AUR_DBEXT` (defaults to .db) (#700) + + add `--status` + - `repo:<NAME>\nroot:<PATH>\npath:<PATH/NAME.DBEXT>` output format + - replaces `--path` + + rename `--repo-list` to `--list-repo` + + rename `--path-list` to `--list-path` + +* `aur-repo-filter` + + run `pacsift` with `unbuffer` (#804) + +* `aur-vercmp` + + remove colon from `checkupdates` and `equal_or_newer` format (#833) + +## 3.1.2 - 2020-11-09 + +This releases fixes a regression in 3.1.1 where `AUR_LIB_DIR` was not +subsituted in `aur`. + +## 3.1.1 - 2020-11-09 + +* `aur` + + add `--version` + +## 3.1.0 - 2020-11-09 + +* `aur` + + fix example `aur-remove` script (#785) + +* `aur-build` + + change default pacman-conf for chroot builds to /etc/aurutils/pacman-<dbname>.conf + + clarify conditions on pacman-conf for chroot builds in `aur-build.1` + +* `aur-chroot` + + add `--create` + - seperate mode which runs `mkarchroot` with packages taken from the command-line + - defaults to base-devel (and multilib-devel, if applicable) if no packages are specified + - `--update` no longer runs `mkarchroot` + + `--packagelist` now uses `makepkg.conf` inside the container + + add `Devtools limitations` section to `aur-chroot.1` (#782) + + add additional error messages for missing pacman configuration + +* `aur-repo` + + add `--path-list` + + update man page for new arguments (#784) + + remove `--ini` (only offered pacman.conf information) + +## 3.0.3 - 2020-11-02 + +* fix broken `zsh` completion (#776) +* use `/tmp/aurutils-$UID` as default temporary directory (#775) + +## 3.0.2 - 2020-10-30 + +* `aur-sync` + + add missing `--suffix` option (#773) + +## 3.0.1 - 2020-10-29 + +The commits: + ++ aur-sync: use XDG_RUNTIME_DIR for view directory (5341c059736d3eff59daea5cb52b7d35c98d0824) ++ aur-repo: simplify command line (57c1b2157806e645e7de85bf24e2c28b7d5f4458) + +were part of the 3.0.0 release tarball, but not the 3.0.0 tag. The 3.0.1 tag now includes these commits. + +## 3.0.0 - 2020-10-29 * `aur` + add `AUR_EXEC_PATH` environment variable diff --git a/aurutils.install b/aurutils.install index bf936df3d7d8..a7813e0c0fd5 100644 --- a/aurutils.install +++ b/aurutils.install @@ -35,4 +35,15 @@ moved from /usr/share/devtools/pacman-aur.conf to More information about this file was added to the aur-build man page. EOF fi + + if (( $(vercmp '3.2.0-1' "$2") == 1 )); then + cat >&2 <<-EOF +As of 3.2.0, if --chroot is specified without --database, aur-build assumes +pacman.conf is located in /etc/aurutils/pacman-$(uname -m).conf. + +See the 3.2.0 changelog for more information: + +https://github.com/AladW/aurutils/releases/tag/3.2.0 +EOF + fi } diff --git a/aurutils.pub b/aurutils.pub deleted file mode 100644 index c0dd794692cf..000000000000 --- a/aurutils.pub +++ /dev/null @@ -1,2 +0,0 @@ -untrusted comment: signify public key (aurutils 3.1) -RWSiKm8qeKjPfppkN7lm/N4qENa3Racl7DRMfWK4JQS7bl2i/NuI3ZZG |