Commit Graph
3 Commits
Author SHA1 Message Date
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