Commit Graph
10 Commits
Author SHA1 Message Date
classabbyamp 9056a63701 bin/xbps-uhelper/xbps-uhelper.1: add manpage 2023-02-11 19:32:44 +01:00
classabbyamp 6010b9f091 bin/xbps-uhelper: add longopts for -CdrV
also adjust help output to be more clear, and removed examples (moving
those to the manpage)
2023-02-11 19:32:44 +01:00
classabbyamp a5cb441f45 tests/xbps/xbps-fetch: update test for changed error message 2023-02-11 14:23:51 +01:00
classabbyamp 1271a3dbed bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
classabbyamp 7391a7b213 bin/xbps-uhelper: add getname and getversion actions
these actions are kind of "meta" actions, combining getpkgdepname and
getpkgname (and the respective version actions) so that a list of mixed
pkgvers and package patterns can be interpreted. This uses the internal
format check of `xbps_pkgpattern_{name,version}()` to allow for a
fallback to `xbps_pkg_{name,version}()` for exact versions, then falls
back to displaying an error message if that also fails.
2023-02-10 21:34:16 +01:00
classabbyamp 83e66e215a bin/xbps-uhelper: allow multiple arguments for many actions 2023-02-10 21:34:16 +01:00
classabbyamp 06fbbba2e5 manpages: small formatting improvements
- use `.Os` to show "Void Linux" in the footer
- use `Aq Mt` to display email addresses
- use `.Lk` for the bug link
- remove unnecessary use of `.Nm <name>` when already defined
- add xbps-alternatives(1) to SEE ALSO where missing
- bump date
2023-02-10 21:33:51 +01:00
classabbyamp 6de3c0f1fd lib/repo.c: add user-facing error message when repodata doesn't exist
Instead of just cryptically exiting 0 when opening a non-existant
repodata or stagedata, with the only message existing in the debug
output, show an error to the user on stderr.

mentioned in #519
2023-01-30 15:32:55 +01:00
classabbyamp 0d0a2b9657 bin/xbps-rindex/remove-obsoletes.c: always opendir() pwd
If repodir is given as a relative path, it will not work because it will
try to open the dir relative to itself because it already chdir()ed into
repodir. This fixes xbps-rindex -r when relative paths are specified.

fixes #519
2022-12-09 20:45:29 +01:00
classabbyamp 0990b2ec81 CI: minor improvements to build/test workflow
- add a concurrency group so things aren't run on push *and*
  pull_request update
- add a name to steps missing one
2022-12-09 20:32:54 +01:00