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

Do not allow 1 as installonly_limit value (RhBug:1926261) #1155

Merged

Conversation

m-blaha
Copy link
Member

@m-blaha m-blaha commented Mar 5, 2021

Value 1 is confusing for users and should not be allowed as installonly_limit value.
Also handling of negative values is fixed - std::stoul() does not fail on negative input in the string.

= changelog =
msg: do not allow 1 as installonly_limit value
type: enhancement
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1926261

Requires: rpm-software-management/dnf#1740

Value 1 is confusing for users and should not be allowed as
installonly_limit value.
Also handling of negative values is fixed - std::stoul() does not fail
on negative input in the string.

= changelog =
msg:           do not allow 1 as installonly_limit value
type:          enhancement
resolves:      https://bugzilla.redhat.com/show_bug.cgi?id=1926261
@pkratoch
Copy link
Contributor

pkratoch commented Apr 6, 2021

Looks good and the tests passed locally.

@pkratoch pkratoch merged commit a6e943b into rpm-software-management:dnf-4-master Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants