action #25074

update rpm-groups.pot

Added by lnussel over 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:15/03/2018
Priority:NormalDue date:23/03/2018
Assignee:sbrabec% Done:

0%

Category:Translations
Target version:Stabilized
Duration: 7

Description

rpm-groups.pot is not created automatically. Run once to generate the pot file

https://github.com/yast/yast-translations

add_group.patch Magnifier - patch that extrracts RPM Group (2.06 KB) sbrabec, 07/05/2018 08:18 pm


Related issues

Copied from openSUSE Leap 42.3 Release - action #19180: update rpm-groups.pot Closed 16/05/2017 17/05/2017
Copied to openSUSE Leap 15.1 - action #39455: update rpm-groups.pot Closed 04/03/2019 20/04/2019

History

#1 Updated by lnussel over 2 years ago

#2 Updated by lnussel about 2 years ago

  • Due date changed from 31/01/2018 to 16/03/2018
  • Start date changed from 30/01/2018 to 15/03/2018

#3 Updated by lnussel almost 2 years ago

  • Due date changed from 16/03/2018 to 23/03/2018
  • Category changed from Translations to Translations
  • Assignee set to sbrabec

not sure who takes care of this. The script to extract the groups still expects suse tags

#4 Updated by sbrabec almost 2 years ago

lnussel wrote:

not sure who takes care of this. The script to extract the groups still expects suse tags

It is part of yast-translations. Last update was:

commit 6ed908f72b0ff152fe9b7331299b200602cd5659
Author: Stanislav Brabec sbrabec@suse.com
Date: Fri Mar 23 17:54:27 2018 +0100

Update rpm-groups

There is a problem now.

yast-translations/tools/rpm-groups-pot-update.sh depends on the old suse/setup/descr/packages.gz. This is no more generated. The script needs rewrite.

#5 Updated by lnussel almost 2 years ago

so any chance to fix that?

#6 Updated by sbrabec almost 2 years ago

lnussel wrote:

so any chance to fix that?

Do you know, where the current ZYPP stores the repository package list including group?

#7 Updated by lnussel almost 2 years ago

sbrabec wrote:

lnussel wrote:

so any chance to fix that?


Do you know, where the current ZYPP stores the repository package list including group?

Not sure what you mean. primary.xml?

Maybe https://github.com/openSUSE/packages-i18n/blob/master/50-tools/repomd2gettext.py can be extended to just dump the groups as by product too.

#8 Updated by lnussel almost 2 years ago

I guess this is not going to make it for 15.0

#9 Updated by sbrabec almost 2 years ago

lnussel wrote:

Maybe https://github.com/openSUSE/packages-i18n/blob/master/50-tools/repomd2gettext.py

Yes, it looks possible. repodata/*-primary.xml.gz indeed contains rpm:group. After a modification, it is possible to extract and split these strings.

We need to merge that code with https://github.com/yast/yast-translations/blob/master/tools/rpm-groups-pot-update.sh

#10 Updated by lnussel almost 2 years ago

  • Status changed from New to Closed

leap 15 is done

#11 Updated by lnussel over 1 year ago

Also available in: Atom PDF