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

feat: 1.29 Deprecate redeem sub-command #3408

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions man/subscription-manager.8
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Shows whether auto-attach is enabled on the systems.
.SS REMOVE OPTIONS
The
.B remove
Deprecated, this command will be removed from the future major releases. This command is no-op, when simple content access mode is used. This command tries to remove a subscription from the system. (This does not uninstall the associated products.)
command is deprecated, this command will be removed from the future major releases. This command is no-op, when simple content access mode is used. This command tries to remove a subscription from the system. (This does not uninstall the associated products.)

.TP
.B --serial=SERIALNUMBER
Expand Down Expand Up @@ -603,7 +603,7 @@ Points to a certificate PEM file which contains the subscription certificate. Th
.SS REDEEM OPTIONS
The
.B redeem
command is used for systems that are purchased from third-party vendors that include a subscription. The redemption process essentially auto-attaches the preselected subscription that the vendor supplied to the system.
command is deprecated, this command will be removed from the future major releases. This command is no-op, when simple content access mode is used. Command is used for systems that are purchased from third-party vendors that include a subscription. The redemption process essentially try to auto-attach the preselected subscription that the vendor supplied to the system.

.TP
.B --email=EMAIL
Expand Down Expand Up @@ -1355,7 +1355,7 @@ its existing subscriptions.
.PP
After registration, subscriptions on preconfigured systems can be claimed using the
.B redeem
command, which essentially auto-attaches the system to its preexisting subscriptions.
command, which essentially try to auto-attach the system to its preexisting subscriptions.

.RS
.nf
Expand Down
6 changes: 5 additions & 1 deletion src/subscription_manager/cli_command/redeem.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@

class RedeemCommand(CliCommand):
def __init__(self):
shortdesc = _("Attempt to redeem a subscription for a preconfigured system")
shortdesc = _(
"Deprecated, this command will be removed from the future major releases."
" This command is no-op in simple content access mode."
" Attempt to redeem a subscription for a preconfigured system"
)
super(RedeemCommand, self).__init__("redeem", shortdesc, False)

self.parser.add_argument(
Expand Down
Loading