RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 876294 - String Updates: rhn-migrate-classic-to-rhsm terminology updates
Summary: String Updates: rhn-migrate-classic-to-rhsm terminology updates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 771481 840993
TreeView+ depends on / blocked
 
Reported: 2012-11-13 18:38 UTC by Matt Reid
Modified: 2013-02-21 09:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 09:00:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0350 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-02-20 20:53:35 UTC

Description Matt Reid 2012-11-13 18:38:45 UTC
Description of problem:

Now that we have aliases in place for the cli commands and most of the other terms have been updated, there are a few additional strings we should update within migration.


#: ../bin/rhn-migrate-classic-to-rhsm:73
msgid ""
"Service level to subscribe this system to. For no service level use --""service-level=\"\""
1. "service level followed when attaching subscriptions, for no service level use --service-level=\"\""

#: ../bin/rhn-migrate-classic-to-rhsm:455
msgid "Launching the GUI tool to manually subscribe the system ..."
msgstr ""
2. "Launching the GUI tool to manually attach subscriptions to this system..."

#: ../bin/rhn-migrate-classic-to-rhsm:458
msgid "Attempting to auto-subscribe to appropriate subscriptions ..."
3. "Attempting to auto-attach to appropriate subscriptions..."

#: ../bin/rhn-migrate-classic-to-rhsm:69
msgid   "Launch the GUI tool to subscribe the system, instead of   autosubscribing"
4. "launch the GUI tool to attach subscriptions, instead of autoattaching"

#: ../bin/rhn-migrate-classic-to-rhsm:71
msgid ""
"Don't execute the autosubscribe option while registering with subscription "
"manager."
5. "don't execute the autoattach option while registering using subscription manager"

#: ../bin/rhn-migrate-classic-to-rhsm:458
msgid "Attempting to auto-subscribe to appropriate subscriptions ..."
msgstr ""
6. "Attempting to auto-attach appropriate subscriptions..."

#: ../bin/rhn-migrate-classic-to-rhsm:467
msgid ""
"\n"
"Unable to auto-subscribe.  Do your existing subscriptions match the products "
"installed on this system?"
msgstr ""
7. "Unable to auto-attach. Do your existing subscriptions match the products installed on this system?"

Let's also make an effort to keep option description strings from starting with a capital letter, and not end with any punctuation. This means that we need to uncapitalize most of the starting words in rhn-migrate-classic-to-rhsm --help (included as part of the changes to any relevant strings above). 

Last two Options that need to be tweaked:

#: ../bin/rhn-migrate-classic-to-rhsm:67
msgid "Ignore channels not available on RHSM"
8. "ignore channels not available on RHSM"

#: ../bin/rhn-migrate-classic-to-rhsm:76 
msgid "Specify the subscription management service to migrate to."
9. "specify the subscription management service to migrate to"
(BZ 873884 already covered some alterations to this string, which I think are in now)


Version-Release number of selected component (if applicable):
subscription-manager-1.1.15-1

Additional Info:
I think these are the last updates to migration

Comment 1 Matt Reid 2012-11-13 20:33:00 UTC
If 874776 gets updated based on comment 3, and we get --auto-attach in the register module, we'll need to implement #4 and #5 from above instead as:

#: ../bin/rhn-migrate-classic-to-rhsm:69
msgid   "Launch the GUI tool to subscribe the system, instead of   autosubscribing"
4. "launch the GUI tool to attach subscriptions, instead of auto-attaching"

#: ../bin/rhn-migrate-classic-to-rhsm:71
msgid ""
"Don't execute the autosubscribe option while registering with subscription "
"manager."
5. "don't execute the auto-attach option while registering using subscription manager"

Comment 2 Bryan Kearney 2012-11-15 21:16:57 UTC
commit 4a16b295c4c17adb8150a741b72e32ce94c88e6f
Author: Bryan Kearney <bkearney>
Date:   Tue Nov 13 16:17:05 2012 -0500

    876294: Use attach instead of subscirbe in the rhn migration tooling

Comment 4 Matt Reid 2012-11-15 22:04:12 UTC
This is my fault for making the bz confusing (sorry!), but #4 and 5 should have a hyphen in auto-attach, as per comment 1, since we did update to --auto-attach in register.

Two other minor issues:

#1 needs to have the 'f' in "For no service level..." lowercased, since we have a comma there now, instead of a period.

#4 has a typo and reads 'attach subsriptions'

Other than that, looks great!

Comment 6 Matt Reid 2012-11-16 15:37:48 UTC
Couple things to clean up, and then we're set here.

Comment 7 Bryan Kearney 2012-11-16 16:05:56 UTC
commit 11bac8dfa6476d402a35301148bba6b4a64ec023
Author: Bryan Kearney <bkearney>
Date:   Fri Nov 16 11:07:01 2012 -0500

    876294: Fix typos introduced by string updates

Comment 10 John Sefler 2012-12-18 19:34:02 UTC
Verifying Version....
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.16-1.el6.x86_64

Using one of the translated language files to verify the extracted msgids...
[root@jsefler-6 ~]# cd /usr/share/locale/ja/LC_MESSAGES


(In reply to comment #0)
> #: ../bin/rhn-migrate-classic-to-rhsm:73
> msgid ""
> "Service level to subscribe this system to. For no service level use
> --""service-level=\"\""
> 1. "service level followed when attaching subscriptions, for no service
> level use --service-level=\"\""

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "for no"
msgid "service level to follow when attaching subscriptions, for no service level use --servicelevel=\"\""

VERIFIED


> #: ../bin/rhn-migrate-classic-to-rhsm:455
> msgid "Launching the GUI tool to manually subscribe the system ..."
> msgstr ""
> 2. "Launching the GUI tool to manually attach subscriptions to this
> system..."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "launching the gui"
msgid "Launching the GUI tool to manually attach subscriptions to this system ..."

VERIFIED


> #: ../bin/rhn-migrate-classic-to-rhsm:458
> msgid "Attempting to auto-subscribe to appropriate subscriptions ..."
> 3. "Attempting to auto-attach to appropriate subscriptions..."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "Attempting to auto"
msgid "Attempting to auto-attach to appropriate subscriptions ..."

VERIFIED


> #: ../bin/rhn-migrate-classic-to-rhsm:69
> msgid   "Launch the GUI tool to subscribe the system, instead of  
> autosubscribing"
> 4. "launch the GUI tool to attach subscriptions, instead of autoattaching"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "launch the gui"
msgid "launch the GUI tool to attach subscriptions, instead of auto-attaching"

VERIFIED


> #: ../bin/rhn-migrate-classic-to-rhsm:71
> msgid ""
> "Don't execute the autosubscribe option while registering with subscription "
> "manager."
> 5. "don't execute the autoattach option while registering using subscription
> manager"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "don't"
msgid "don't execute the auto-attach option while registering with subscription manager"

VERIFIED: ("with"->"using" was not changed; no big deal; "auto-attach" was the important change)


> #: ../bin/rhn-migrate-classic-to-rhsm:458
> msgid "Attempting to auto-subscribe to appropriate subscriptions ..."
> msgstr ""
> 6. "Attempting to auto-attach appropriate subscriptions..."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "attempting to auto"
msgid "Attempting to auto-attach to appropriate subscriptions ..."

VERIFIED


> #: ../bin/rhn-migrate-classic-to-rhsm:467
> msgid ""
> "\n"
> "Unable to auto-subscribe.  Do your existing subscriptions match the
> products "
> "installed on this system?"
> msgstr ""
> 7. "Unable to auto-attach. Do your existing subscriptions match the products
> installed on this system?"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "unable to auto"
"Unable to auto-attach.  Do your existing subscriptions match the products installed on this system?"
msgid "Unable to auto-attach, server does not support service levels."
msgid "Unable to auto-attach, server does not support service levels. Please run 'Subscription Manager' to manually attach a subscription."

VERIFIED


> #: ../bin/rhn-migrate-classic-to-rhsm:67
> msgid "Ignore channels not available on RHSM"
> 8. "ignore channels not available on RHSM"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "ignore channels"
msgid "ignore channels not available on RHSM"

VERIFIED


> #: ../bin/rhn-migrate-classic-to-rhsm:76 
> msgid "Specify the subscription management service to migrate to."
> 9. "specify the subscription management service to migrate to"
> (BZ 873884 already covered some alterations to this string, which I think
> are in now)

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "specify the sub"
msgid "specify the subscription management server to migrate to"

VERIFIED


(In reply to comment #1)
> If 874776 gets updated based on comment 3, and we get --auto-attach in the
> register module, we'll need to implement #4 and #5 from above instead as:
> 
> #: ../bin/rhn-migrate-classic-to-rhsm:69
> msgid   "Launch the GUI tool to subscribe the system, instead of  
> autosubscribing"
> 4. "launch the GUI tool to attach subscriptions, instead of auto-attaching"

VERIFIED above



> #: ../bin/rhn-migrate-classic-to-rhsm:71
> msgid ""
> "Don't execute the autosubscribe option while registering with subscription "
> "manager."
> 5. "don't execute the auto-attach option while registering using
> subscription manager"

VERIFIED above

Comment 12 errata-xmlrpc 2013-02-21 09:00:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0350.html


Note You need to log in before you can comment on or make changes to this bug.