Skip to content
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

Allow unlimited number of arguments for history list and info #1755

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Oct 4, 2024

  1. Allow unlimited number of arguments for history list and info

    Closes: dnf history list and dnf history info do not accept multiple arguments #1721

  2. history store command: move arg verificion above user confirmation

It is a better user experience to first verify the arguments and only
then do any other actions such as creating directories or asking for
confirmation.
This code is also used for other `history` commands but they do their
own checking for number of selected transactions (because it is possible
to select multiple transaction with just one argument).

Closes: rpm-software-management#1721
@m-blaha
Copy link
Member

m-blaha commented Oct 4, 2024

I noticed that the tests for history list command are not enabled for dnf5. Should I create an issue for it?
The change itself is fine, thank you!

@m-blaha
Copy link
Member

m-blaha commented Oct 4, 2024

I noticed that the tests for history list command are not enabled for dnf5. Should I create an issue for it? The change itself is fine, thank you!

Never mind, I'm blind and you already have PR for it. Sorry for the noice.

@m-blaha m-blaha added this pull request to the merge queue Oct 4, 2024
Merged via the queue into rpm-software-management:main with commit 2594423 Oct 4, 2024
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dnf history list and dnf history info do not accept multiple arguments
2 participants