-
Notifications
You must be signed in to change notification settings - Fork 410
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
Add dnf option --noclean (RhBug:1361424) #867
Conversation
dnf/cli/option_parser.py
Outdated
@@ -262,6 +262,9 @@ def _main_parser(self): | |||
metavar='[repo,path]', | |||
help=_("label and path to additional repository," | |||
" can be specified multiple times.")) | |||
main_parser.add_argument("--noclean", action="store_false", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think better option name would be --no-autoremove
Cleaning is very vague term |
It could be --noautoremove like --nogpgcheck |
@j-mracek fine with me |
The option sets clean_requirements_on_remove to false from commandline. The cleaning is pretty strong behavior that is handy to be easily be switched off. https://bugzilla.redhat.com/show_bug.cgi?id=1361424
@dnf-bot r+ |
📌 Commit d6111c6 has been approved by |
obviously, having test for new option would be good, but not blocking on it now |
☀️ Test successful - status-jenkins |
The option sets clean_requirements_on_remove to false from commandline. The
cleaning is pretty strong behavior that is handy to be easily be switched off.
https://bugzilla.redhat.com/show_bug.cgi?id=1361424