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 1658383 - no translations have been pulled into python3_syspurpose
Summary: no translations have been pulled into python3_syspurpose
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-11 22:35 UTC by John Sefler
Modified: 2019-06-14 01:23 UTC (History)
5 users (show)

Fixed In Version: subscription-manager-1.23.8-8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-14 01:23:48 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2009 0 None closed 1658383: Ensure syspurpose has translations 2021-02-10 19:26:46 UTC

Description John Sefler 2018-12-11 22:35:18 UTC
Description of problem:

Expecting translation files from https://vendors.zanata.redhat.com/iteration/view/syspurpose/RHEL-8.0 to be pulled into the builds of python3-syspurpose

Version-Release number of selected component (if applicable):
[root@ibm-x3650m4-02-vm-04 ~]# rpm -q python3-syspurpose
python3-syspurpose-1.23.8-6.el8.x86_64


How reproducible:


Steps to Reproduce:
[root@ibm-x3650m4-02-vm-04 ~]# rpm -ql python3-syspurpose | grep LC_MESSAGES
[root@ibm-x3650m4-02-vm-04 ~]# 


Actual results:
 above

Expected results:
  a list of .mo files for all the supported languages

Additional info:

Comment 3 John Sefler 2019-01-08 15:19:43 UTC
Testing version...

[root@kvm-01-guest19 ~]# rpm -q python3-syspurpose
python3-syspurpose-1.23.8-12.el8.x86_64

[root@kvm-01-guest19 ~]# rpm -q python3-syspurpose --changelog | grep 1658383
- 1658383: Sync Translations for syspurpose (csnyder)

[root@kvm-01-guest19 ~]# rpm -ql python3-syspurpose | grep LC_MESSAGES
[root@kvm-01-guest19 ~]# 

[root@kvm-01-guest19 ~]# LANG=de_DE.utf-8 syspurpose --help
usage: syspurpose [-h]
                  {set,unset,add,remove,set-role,unset-role,add-addons,remove-addons,unset-addons,set-sla,unset-sla,set-usage,unset-usage,show}
                  ...

System Syspurpose Management Tool

positional arguments:
  {set,unset,add,remove,set-role,unset-role,add-addons,remove-addons,unset-addons,set-sla,unset-sla,set-usage,unset-usage,show}
                        sub-command help
    set                 Sets the value for the given property
    unset               Unsets (clears) the value for the given property
    add                 Adds the value(s) to the given property
    remove              Removes the value(s) from the given property
    set-role            Set the system role to the system syspurpose
    unset-role          Clear set role
    add-addons          Add addons to the system syspurpose
    remove-addons       Remove addons from the system syspurpose
    unset-addons        Clear set addons
    set-sla             Set the system sla
    unset-sla           Clear set sla
    set-usage           Set the system usage
    unset-usage         Clear set usage
    show                Show the current system syspurpose

optional arguments:
  -h, --help            show this help message and exit


FAILED_QA: Despite the changelog info indicating a fix for this bug 1658383, I still do not see any syspurpose translations when running in a non english LANG.

Moving to NEW/FailedQA

Comment 4 Chris Snyder 2019-01-09 16:45:04 UTC
Turns out we've botched our packaging process for translation for syspurpose. Actively working to fix this.

Comment 15 Craig Donnelly 2019-02-07 20:41:26 UTC
VERIFIED:

[root@dhcp7-157 ~]# rpm -q python3-syspurpose
python3-syspurpose-1.23.8-19.el8.x86_64

[root@dhcp7-157 ~]# rpm -ql python3-syspurpose | grep LC_MESSAGE
/usr/share/locale/de/LC_MESSAGES/syspurpose.mo
/usr/share/locale/es/LC_MESSAGES/syspurpose.mo
/usr/share/locale/fr/LC_MESSAGES/syspurpose.mo
/usr/share/locale/it/LC_MESSAGES/syspurpose.mo
/usr/share/locale/ja/LC_MESSAGES/syspurpose.mo
/usr/share/locale/ko/LC_MESSAGES/syspurpose.mo
/usr/share/locale/pt_BR/LC_MESSAGES/syspurpose.mo
/usr/share/locale/ru/LC_MESSAGES/syspurpose.mo
/usr/share/locale/zh_CN/LC_MESSAGES/syspurpose.mo
/usr/share/locale/zh_TW/LC_MESSAGES/syspurpose.mo

[root@dhcp7-157 ~]# LANG=de_DE.utf-8 syspurpose --help
usage: syspurpose [-h]
                  {set,unset,add,remove,set-role,unset-role,add-addons,remove-addons,unset-addons,set-sla,unset-sla,set-usage,unset-usage,show}
                  ...

System Syspurpose Management Tool

positional arguments:
  {set,unset,add,remove,set-role,unset-role,add-addons,remove-addons,unset-addons,set-sla,unset-sla,set-usage,unset-usage,show}
                        sub-command help
    set                 Legt den Wert für die angegebene Eigenschaft fest
    unset               Löscht (löscht) den Wert für die angegebene
                        Eigenschaft
    add                 Fügt den/die Wert(e) zu der angegebenen Eigenschaft
                        hinzu
    remove              Entfernt den/die Wert(e) aus der angegebenen
                        Eigenschaft
    set-role            Set the system role to the system syspurpose
    unset-role          Clear set role
    add-addons          Add addons to the system syspurpose
    remove-addons       Remove addons from the system syspurpose
    unset-addons        Clear set addons
    set-sla             Setzen des Systemslaves
    unset-sla           Slaves löschen
    set-usage           Einstellen der Systemnutzung
    unset-usage         Clear set usage
    show                Zeigt den aktuellen Systemzweck an

optional arguments:
  -h, --help            show this help message and exit

[root@dhcp7-157 ~]# LANG=it_IT.utf-8 syspurpose --help
usage: syspurpose [-h]
                  {set,unset,add,remove,set-role,unset-role,add-addons,remove-addons,unset-addons,set-sla,unset-sla,set-usage,unset-usage,show}
                  ...

System Syspurpose Management Tool

positional arguments:
  {set,unset,add,remove,set-role,unset-role,add-addons,remove-addons,unset-addons,set-sla,unset-sla,set-usage,unset-usage,show}
                        sub-command help
    set                 Imposta il valore per la proprietà data
    unset               Annulla (cancella) il valore per la proprietà data
    add                 Aggiunge il valore (s) alla proprietà data
    remove              Rimuove il valore (s) dalla proprietà data
    set-role            Set the system role to the system syspurpose
    unset-role          Clear set role
    add-addons          Add addons to the system syspurpose
    remove-addons       Remove addons from the system syspurpose
    unset-addons        Clear set addons
    set-sla             Imposta il sistema sla
    unset-sla           Cancella set sla
    set-usage           Imposta l'utilizzo del sistema
    unset-usage         Clear set usage
    show                Mostra il sistema attuale condiviso

optional arguments:
  -h, --help            show this help message and exit


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