Bug 876692
Summary: | String Updates: Consistency cleanups in --helps across subscription-manager and associated tools/scripts | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Matt Reid <mreid> | |
Component: | subscription-manager | Assignee: | Alex Wood <awood> | |
Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.4 | CC: | alikins, awood, jmolet | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 876753 (view as bug list) | Environment: | ||
Last Closed: | 2013-02-21 09:00:42 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 771481, 840993, 876753 |
Description
Matt Reid
2012-11-14 18:00:00 UTC
Some of these issues we are not able to fix since the strings come from the underlying option parsing library. The issues are enumerated below 1 Fixable 2 Fixable 3 Fixable 4 Fixable 5 Fixable 6 Fixable 7 Can't fix 8 Can't fix 9 Fixable 10 Fixable 11 * I'd like to address this in a separate bug 12 Fixable 13 Fixable 14 Can't fix 15 Can't fix 16 Can't fix 17 Can't fix 18 Can't fix 19 Fixable 20 Fixable 21 Fixable 22 Fixable 23 Can't fix 24 Can't fix 25 Can't fix 26 Can't fix 27 Fixable 28 Fixable 29 Can't fix 30 Fixable 31 Can't fix 32 Fixable 33 Fixable This may be unrelated, but I found these strings that look like they might match up with some of the usage/option stuff that I couldn't match up to anything before. #: ../src/subscription_manager/i18n_optparse.py:134 #, python-format msgid "usage: %s\n" #7 & 16? #: ../src/subscription_manager/i18n_optparse.py:136 msgid "Usage" msgstr "" #: ../src/subscription_manager/i18n_optparse.py:137 msgid "%prog [options]" #27 and 30? #: ../src/subscription_manager/i18n_optparse.py:138 msgid "Options" msgstr "" #: ../src/subscription_manager/i18n_optparse.py:139 msgid "options" msgstr "" #: ../src/subscription_manager/i18n_optparse.py:140 msgid "options:" #31? Might still be unfixable, but figured I'd make note of them here, just in case. (In reply to comment #2) > This may be unrelated, but I found these strings that look like they might > match up with some of the usage/option stuff that I couldn't match up to > anything before. > Because of some weirdness with the optparse versions, we have a chunk of code that just extracts all the options variants, so they all get marked for translations: #translators: this should have the same translation as "Usage: %s\n" _("usage: %s\n") # For older versions of optparse _("Usage: %s\n") _("Usage") _("%prog [options]") _("Options") _("options") _("options:") commit 4ded0198be19dbfb188439d079924f7400e2e59b Author: Alex Wood <awood> Date: Wed Nov 14 15:59:01 2012 -0500 876692: Correct capitalization in various help messages. Should address the items marked as "Fixable" in comment 1 [root@jmolet-vm4 ~]# rpm -qa | egrep "subscription|python-rhsm" subscription-manager-1.1.10-1.el6.x86_64 python-rhsm-1.1.6-1.el6.x86_64 subscription-manager-gui-1.1.10-1.el6.x86_64 subscription-manager-firstboot-1.1.10-1.el6.x86_64 1,2 PASS) [root@jmolet-vm4 ~]# subscription-manager list --help --consumed show the subscriptions being consumed by this system --servicelevel=SERVICE_LEVEL shows only subscriptions matching the specified service level; only used with --available and --consumed 3,4 PASS) [root@jmolet-vm4 ~]# subscription-manager redeem --help --email=EMAIL email address to notify when subscription redemption is complete --locale=LOCALE optional language to use for email notification when subscription redemption is complete (Examples: en-us, de-de) 5 PASS) [root@jmolet-vm4 ~]# subscription-manager release --help --show shows current release setting; default command 6 PASS) [root@jmolet-vm4 ~]# subscription-manager environments --help --org=ORG specify organization for environment list 7,8,14,15 FAIL) [root@jmolet-vm4 ~]# rhsmcertd --help Usage: rhsmcertd [OPTION...] Help Options: -h, --help Show help options Application Options: -c, --cert-interval=MINUTES interval to run cert check (in minutes) --heal-interval=MINUTES deprecated, see auto-attach-interval -i, --auto-attach-interval=MINUTES interval to run auto-attach (in minutes) -n, --now run the initial checks immediately, with no delay -d, --debug show debug messages ^^^^^^^^ THESE ISSUES HAVE NOT BEEN ADDRESSED ^^^^^^^^^^^ From above, 9,10,11,12,13 are PASS. 16,17,18,23,24,25 FAIL) [root@jmolet-vm4 ~]# rhsm-icon --help Usage: rhsm-icon [OPTION...] Help Options: -h, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options Application Options: -c, --check-period how often to check for validity (in seconds) -d, --debug show debug messages -f, --force-icon=TYPE force display of the icon (expired, partial or warning) -i, --check-immediately run the first status check right away --display=DISPLAY X display to use ^^^^^^^^ THESE ISSUES HAVE NOT BEEN ADDRESSED ^^^^^^^^^^^ From above, 19,20,21,22 are PASS. 28 FAIL) [root@jmolet-vm4 ~]# subscription-manager-gui --help Usage: subscription-manager-gui [OPTIONS] Options: -h, --help show this help message and exit --register launches the registration dialog on startup. << CONTAINS PUNCTUATION AT END ----- From above, 27 is PASSing. 29,30,31,32,33 will be VERIFIED in RHEL5 since that only exists there. Given comment 1 , all things that could be fixed were fixed EXCEPT FOR 28 - opening new bug 881091 for that. Marking VERIFIED as all other things passing. 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 |