You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pkgcheck scan of non-existence target doesn't raise errors #721
Note that the error is actually handled generically in the shared CLI support so it's consistent across all tools if they parse arguments using the same underlying functionality.
Activity
ferringb commentedon Dec 15, 2025
Re-opening since I think there is something to change here.
You're running a scan against any package that matches the pattern; no packages, no scans. I updated the
--helpto be clearer on this.Admittedly it may be surprising if you tell it "scan these non-existant atoms" and it doesn't scan anything. It's doing what was asked.
@mgorny, @thesamesam what's your thoughts on tweaking
pkgcheck scanto give a unique non zero exit code if nothing could possibly be scanned?radhermit commentedon Dec 15, 2025
If you want to match pkgcruft (or use it for inspiration):
Note that the error is actually handled generically in the shared CLI support so it's consistent across all tools if they parse arguments using the same underlying functionality.
clarify pkgcheck scan <targets> in it's --help