-
Notifications
You must be signed in to change notification settings - Fork 120
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
feat: Remove useless CLI options from list command #3456
Conversation
Coverage (computed on Fedora latest) •
|
e432ea7
to
5240636
Compare
Note: not sure about CLI option |
Let's keep it for now, and in case remove it later on (which will be easy to do). |
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.
Mostly LGTM; added a couple of notes.
Thanks!
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.
Mostly LGTM too, I agree with Pino's change requests
and I've added my own questions/comments.
5240636
to
2529472
Compare
* Card ID: CCT-734 * Removed --available and --consumed CLI options and other options related to listing available and consumed subscriptions * Only --installed (default) and --matches remains * Modified man page * Modified bash completion scripts * Removed many unit tests and modified existing unit tests related to installed products. Unit tests consider only SCA mode
2529472
to
286c3b2
Compare
thanks for the updates; my two notes are still valid even in the current version |
286c3b2
to
bb2ae4b
Compare
* Card ID: CCT-734 * Removed show_autosubscribe_output() and usage of this method, because it does not make sense to use it in SCA mode
* Card ID: CCT-734 * cli_command/list.py contained several definitions of lists not related to list command. These definitions were moved to right Python modules. One list was renamed, because it is used only for testing ATM.
bb2ae4b
to
a7cdd11
Compare
Sorry, I overlooked your notes ... it should be addressed now. |
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.
LGTM, thanks; not merging it in case @DuckBoss wants to take another look
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.
LGTM now, thanks for the changes 👍
--available
and--consumed
CLI options and other optionsrelated to listing available and consumed subscriptions
--installed
(default) and--matches
remainrelated to installed products. Unit tests consider only
SCA mode
show_autosubscribe_output()
and usage of thismethod, because it does not make sense to use it in SCA mode
cli_command/list.py
contained several definitions of listsnot related to list command. These definitions were moved
to right Python modules. One list was renamed, because it
is used only for testing ATM.