Actions
action #25074
closedupdate rpm-groups.pot
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
Files
Actions
Added by lnussel over 7 years ago. Updated over 6 years ago.
0%
Description
rpm-groups.pot is not created automatically. Run once to generate the pot file
Files
add_group.patch (2.06 KB) add_group.patch | patch that extrracts RPM Group | sbrabec, 2018-05-07 20:18 |
not sure who takes care of this. The script to extract the groups still expects suse tags
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.
lnussel wrote:
so any chance to fix that?
Do you know, where the current ZYPP stores the repository package list including group?
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.
I guess this is not going to make it for 15.0
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