Skip to content

Commit

Permalink
🎁 PACK: Bump to latest version
Browse files Browse the repository at this point in the history
On branch main
  - Changes to be committed:
   - modified:   .SRCINFO
   - deleted:    .vscode/settings.json
   - modified:   PKGBUILD
   - modified:   aurutils.changelog
   - modified:   aurutils.install
  • Loading branch information
rossclarkartist committed Mar 12, 2022
1 parent 3cea259 commit 46c6c87
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 50 deletions.
13 changes: 6 additions & 7 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
pkgbase = aurutils
pkgdesc = Helper tools for the arch user repository
pkgver = 6.1
pkgver = 8.2
pkgrel = 1
url = https://github.com/AladW/aurutils
install = aurutils.install
changelog = aurutils.changelog
arch = any
license = custom:ISC
depends = curl
depends = expect
depends = git
depends = jq
depends = pacutils
depends = curl
depends = expect
depends = gawk
optdepends = bash-completion: bash completion
optdepends = zsh: zsh completion
optdepends = devtools: aur-chroot
optdepends = vifm: default pager
source = aurutils-6.1.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/6.1.tar.gz
sha512sums = 089b0860ce104b057cef262aa8f14bf66c6d20b1fcb61cfd42d35cb0b1bb19064c047645ccc2e7aaee37b6d66efeb857bbb0a4fd6222d50c666aebd4ce0af79c
optdepends = zsh: zsh completion
source = aurutils-8.2.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/8.2.tar.gz
sha512sums = ed31372cd615b2a0b4e3a60525d44b8e78faef3545283107dcdd490dbcacd8da0028beffe6a94c173ca94729138c50b1197d43727224e84f8d5717c7dfceb873

pkgname = aurutils
37 changes: 0 additions & 37 deletions .vscode/settings.json

This file was deleted.

15 changes: 9 additions & 6 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
# rules should be added to the .shellcheckrc file located in the
# repository root directory, see https://github.com/koalaman/shellcheck/wiki
# and https://archiv8.github.io for further information.
# ToDo: Add files: user documentation
# Todo: Add files: tooling
# Todo: Fix namcap warnings and errors

# Maintainer: Alad Wenter <https://github.com/AladW>
# Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: Ross Clark <https://github.com/archiv8/aurutils>

pkgname=aurutils
pkgver=6.1
pkgver=8.2
pkgrel=1
pkgdesc="Helper tools for the arch user repository"
url="https://github.com/AladW/aurutils"
Expand All @@ -22,22 +25,22 @@ source=(
changelog=aurutils.changelog
install=aurutils.install
sha512sums=(
"089b0860ce104b057cef262aa8f14bf66c6d20b1fcb61cfd42d35cb0b1bb19064c047645ccc2e7aaee37b6d66efeb857bbb0a4fd6222d50c666aebd4ce0af79c"
"ed31372cd615b2a0b4e3a60525d44b8e78faef3545283107dcdd490dbcacd8da0028beffe6a94c173ca94729138c50b1197d43727224e84f8d5717c7dfceb873"
)
depends=(
"git"
"jq"
"pacutils"
"curl"
"expect"
"gawk"
"git"
"jq"
"pacutils"
)
# makedepends=()
optdepends=(
"bash-completion: bash completion"
"zsh: zsh completion"
"devtools: aur-chroot"
"vifm: default pager"
"zsh: zsh completion"
)

prepare() {
Expand Down
165 changes: 165 additions & 0 deletions aurutils.changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,168 @@
## 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 renamed 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`
Expand Down
2 changes: 2 additions & 0 deletions aurutils.install
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

post_upgrade() {
if (( $(vercmp '2.0.0-1' "$2") == 1 )); then
cat >&2 <<-EOF
Expand Down

0 comments on commit 46c6c87

Please sign in to comment.