Project

General

Profile

action #25074

update rpm-groups.pot

Added by lnussel about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Translations
Target version:
Start date:
2018-03-15
Due date:
2018-03-23
% Done:

0%

Estimated time:

Description

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

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

add_group.patch (2.06 KB) add_group.patch patch that extrracts RPM Group sbrabec, 2018-05-07 20:18

Related issues

Copied from openSUSE Leap 42.3 Release - action #19180: update rpm-groups.potClosed2017-05-162017-05-17

Copied to openSUSE Leap 15.1 - action #39455: update rpm-groups.potClosed2019-03-042019-04-20

History

#1 Updated by lnussel about 4 years ago

#2 Updated by lnussel over 3 years ago

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

#3 Updated by lnussel over 3 years ago

  • Due date changed from 2018-03-16 to 2018-03-23
  • 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 over 3 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 over 3 years ago

so any chance to fix that?

#6 Updated by sbrabec over 3 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 over 3 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 over 3 years ago

I guess this is not going to make it for 15.0

#9 Updated by sbrabec over 3 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 over 3 years ago

  • Status changed from New to Closed

leap 15 is done

#11 Updated by lnussel about 3 years ago

Also available in: Atom PDF