-
Notifications
You must be signed in to change notification settings - Fork 119
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
chore: Remove artifacts of removed commands #3476
Conversation
2f5674c
to
272e6a9
Compare
In this commit, I removed everything related to the |
I created this pull request as a draft, thinking that I’d put in the command removals as individual commits. If @pinotree approves, however, I think we can merge and do the other commands in (a) new pull request(s). |
strictly speaking, this also removes other references related to "attach" (eg dbus, in some old/unused tests, etc), not only in the CLI |
272e6a9
to
ab2d211
Compare
307afaf
to
43e8958
Compare
@ptoscano Thank you for the review! 🙇🏻♂️ I addressed your comments. I un-drafted the PR, so it can be merged if you approve of the changes. There are already 10 changed files. That’s enough for a single PR. |
43e8958
to
7f44ae2
Compare
After a discussion with Barbora and Matyáš, we agreed to rather put the command removals into this pull request as individual commits:
|
Matyáš suggested we can be more aggressive removing code that seems unused. The reasoning was that either integration tests would fail, or QE would find an issue when doing manual testing. Under that suggestion, I removed quite some methods from |
e85c933
to
8c3400b
Compare
Added fda942a removing artifacts of the |
Added 516d70b removing artifacts of the |
516d70b
to
1d334cc
Compare
|
b8944dc
to
818e66c
Compare
I merged all the “chore: remove artifacts” pull requests into this one. Removal of every command/option artifacts is in an individual commit. That should make a review easier even though there are many changed files and lines. I only removed artifacts remaining after what’s been removed in the referenced removal pull requests. I went through their code once more to remove deeper artifacts: methods called by methods (…) called by the removed methods.
There is more obsolete code to be removed. An example is the I’d like to ask for a real and full review, now. @ptoscano, please. 🙏🏻 |
Removed what remained after removing the `attach` command. A system is now attached upon registration. Card IDs: * CCT-603 Signed-off-by: Štěpán Tomsa <[email protected]>
Removed what remained after removing the `--auto-attach` option of `register`. A system is now always attached upon registration. Card IDs: * CCT-603 Signed-off-by: Štěpán Tomsa <[email protected]>
Removed what remained after removing the `autoheal` option from Action clients (ENT-5549). Card IDs: * CCT-603 Signed-off-by: Štěpán Tomsa <[email protected]>
Removed what remained after removing the `remove` command. Card IDs: * CCT-603 Signed-off-by: Štěpán Tomsa <[email protected]
Removed what remained after removing the `redeem` command. Card IDs: * CCT-603 Signed-off-by: Štěpán Tomsa <[email protected]>
Removed what remained after removing the `import` command. Card IDs: * CCT-603 Signed-off-by: Štěpán Tomsa <[email protected]>
818e66c
to
8ee1ebd
Compare
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.
Thanks!
Removed what remained after removing obsolete commands.
attach
and partially--auto_attach
in feat: Removed attach command #3409--auto_attach
andautodial
in feat: Remove auto-attach command #3451remove
in feat: Eliminate command 'remove' from subscription-manager #3444addons
,role
,service-level
, andusage
in feat: Remove deprecated syspurpose top-level commands #3417redeem
in feat: Removed command "redeem" from subscription-manager #3446import
in feat: Remove import command #3425There is more obsolete code to be removed, e.g. in
EntitlementDBusObject
. That’d be over the scope of this pull request, though.Card IDs: