Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-16584

[foreman_azure_rm] [rubygem-foreman_azure_rm] Pull 100% completed translations from the Phrase (a.k.a Memsource), and package them into installable build, to determine readiness for Sat-6.13 L10N QA milestone

XMLWordPrintable

    • new Rocket sprint 8, Rocket Sprint 9
    • Low

      Description of problem:
      Pull 100% completed translations from the Translation Platform - Phrase (a.k.a Memsource - https://cloud.memsource.com/web/project2/show/ASQQUcSoKMp1pag1fdbooa/) for Sat-6.13 Resource: foreman_azure_rm (also listed at http://satellite.transtats.psi.redhat.com/pipelines/release/sat-6-13), and package them into an installable build, to determine readiness for Sat-6.13 L10N QA event.

      For Sat-6.13 Resource - foreman_azure_rm :

      1) Translations Statistics of 100% completed translations pulled/downloaded from the Phrase, for in-house locales: Japanese (ja), Chinese Simplified (zh_CN) and French (fr), is as follows:

      $ find . ( -name "foreman_azure_rm_fr.po" -o -name "foreman_azure_rmja.po" -o -name "foreman_azure_rm_zh_cn.po" ) -exec msgfmt -vvv -o /dev/null {} \;
      ./download_3/fr/foreman_azure_rm__fr.po: 131 translated messages.
      ./download_5/zh_cn/foreman_azure_rm__zh_cn.po: 131 translated messages.
      ./download_5/ja/foreman_azure_rm__ja.po: 131 translated messages.
      $

      2) However, as per http://satellite.transtats.psi.redhat.com/jobs/log/3f285a8f-c703-482b-8de8-e7486091d3e6/detail ,

      Calculated Stats rubygem-foreman_azure_rm-2.2.7-1.el8sat built on 2022-11-07 19:10:39.648321
      Language Total Translated Fuzzy Untranslated Complete
      Chinese (Simplified) 131 messages 15 messages 0 messages 116 messages 11%
      French 131 messages 15 messages 0 messages 116 messages 11%
      Japanese 131 messages 15 messages 0 messages 116 messages 11%

      3) On comparing 2 with 1, it appears 100% completed translations from the Phrase are not pulled and packaged yet, into the downstream build

      Version-Release number of selected component (if applicable):
      Satellite-6.13 Snap 9

      How reproducible:
      Always

      Steps to Reproduce:
      1. Pull/download the 100% translations from Translation Platform - Phrase for Sat-6.13 resource: foreman_azure_rm
      2. Calculate the Translation statistics of PO file using msgfmt utility: find . -name "*.po" -exec msgfmt -vvv -o /dev/null {} \;
      3. Now, to calculate the Translation statistics for said downstream package, either visit - (preferred) http://satellite.transtats.psi.redhat.com/jobs/log/3f285a8f-c703-482b-8de8-e7486091d3e6/detail or https://brewweb.engineering.redhat.com/brew/
      3.1 Visit the Brew build system at https://brewweb.engineering.redhat.com/brew/
      3.2 Enter the downstream package name for the aforementioned said Sat-6.13 resource: foreman_azure_rm, package: rubygem-foreman_azure_rm
      3.3 Download the said srpm
      3.4 Unpack the sprm
      3.5. Unpack the sources from the SPEC file
      3.6. Calculate the Translation statistics of PO file using msgfmt utility: find . -name "*.po" -exec msgfmt -vvv -o /dev/null {} \;
      4. Compare - Translation statistics obtained in step 3 (Package Build System) with Translation statistics obtained in step 2 (Translation Platform Phrase), and ensure they are same (and there is no difference)

      Actual results:
      1. 100% completed translations from the Phrase are not pulled and packaged yet into an installable downstream build

      Expected results:
      1. Pull 100% completed translations from the Phrase and package them into an installable downstream build

      Additional info:
      1. For aforementioned Sat-6.13 Resource, respective (Build) Changelog could possibly mention: Pull Translations from Phrase or similar, so as to figure it out if downstream Translations are packaged or not
      2. Please refer https://cloud.memsource.com/web/project2/show/ASQQUcSoKMp1pag1fdbooa - as it shows said resource being completed for in-house locales: ja, zh_CN and fr
      3. Currently, did not find downstream bugzilla component for the aforementioned Sat-6.13 Resource i.e. foreman_azure_rm, package: rubygem-foreman_azure_rm
      4. Please, suggest if there are other workarounds to know if downstream translations are ideally packaged or not (ideally: fixed_in_version of the build incorporating 100% completed translations pulled from Translation Platform - Phrase, is what is expected here, towards effective resolution of this bug)
      5. Looks like build rubygem-foreman_azure_rm-2.2.9-1.el8sat at https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2332573 should be helpful towards effective resolution of this bug
      Here's how:
      As per http://satellite.transtats.psi.redhat.com/jobs/log/7a3b8de0-4f1f-4908-9b13-eaed55238fe4/detail

      Calculated Stats rubygem-foreman_azure_rm-2.2.9-1.el8sat built on 2023-01-12 20:20:54.690355
      Language Total Translated Fuzzy Untranslated Complete
      Chinese (Simplified) 131 messages 131 messages 0 messages 0 messages 100%
      French 131 messages 131 messages 0 messages 0 messages 100%
      Japanese 131 messages 131 messages 0 messages 0 messages 100%

            jira-bugzilla-migration RH Bugzilla Integration
            sshedmak@redhat.com Sandeep Shedmake
            Sandeep Shedmake Sandeep Shedmake
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: