-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify errors and exit codes of query commands #1075
Labels
Priority: MEDIUM
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
Comments
I am not sure about exit codes, but I think a message on stderr about unmatched arguments would be good in all cases. Not sure about repoquery, though. |
jan-kolarik
added
Priority: MEDIUM
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
labels
Dec 11, 2023
kontura
added a commit
to kontura/ci-dnf-stack
that referenced
this issue
Nov 12, 2024
dnf5 exits with 0, unlike dnf4. There is a general issue about exit codes of query commands: rpm-software-management/dnf5#1075
kontura
added a commit
to kontura/ci-dnf-stack
that referenced
this issue
Nov 12, 2024
dnf5 exits with 0, unlike dnf4. There is a general issue about exit codes of query commands: rpm-software-management/dnf5#1075
kontura
added a commit
to kontura/ci-dnf-stack
that referenced
this issue
Nov 13, 2024
dnf5 exits with 0, unlike dnf4. There is a general issue about exit codes of query commands: rpm-software-management/dnf5#1075
kontura
added a commit
to kontura/ci-dnf-stack
that referenced
this issue
Nov 13, 2024
dnf5 exits with 0, unlike dnf4. There is a general issue about exit codes of query commands: rpm-software-management/dnf5#1075
pkratoch
pushed a commit
to rpm-software-management/ci-dnf-stack
that referenced
this issue
Nov 13, 2024
dnf5 exits with 0, unlike dnf4. There is a general issue about exit codes of query commands: rpm-software-management/dnf5#1075
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Priority: MEDIUM
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
The behavior of query commands should be unified in these cases:
These commands currently in all the cases return exit code 0 and don't print any error message:
These commands are different:
Search is not included, as it's a little bit different. Similar is also repoquery. It might make sense for these to behave differently.
The text was updated successfully, but these errors were encountered: