Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552560 - app-portage/layman: get_all_info(), multi-lingua descriptions lack language key
Summary: app-portage/layman: get_all_info(), multi-lingua descriptions lack language key
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-19 15:08 UTC by Michał Górny
Modified: 2016-05-10 04:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-06-19 15:08:20 UTC
The 'description' key provided by get_all_info() seems to contain descriptions in different languages. Sadly, it doesn't provide any indicator which language the text is actually in...


In [6]: layman.get_all_info('megacoffee')
Out[6]: 
{'megacoffee': {'description': ['Mixed ebuilds from various sources: self-written missing ebuilds, more current ebuilds, ebuilds that just needed a slight update from official portage, ebuilds others posted on Gentoo Bugzilla, ebuilds with added patches, old ebuilds that were removed from official portage etc.',
   'Verschiedene ebuilds aus verschiedenen Quellen: selbsterstellte ebuilds, ebuilds mit geringfügigen Änderungen, gegenüber dem aktuellen Baum, ebuilds aus Gentoos Bugzilla, ebuilds mit erweiterten patches, alte ebuilds die nicht mehr im offiziellen Baum existieren, etc.'],
[...]
Comment 1 Devan Franchini (RETIRED) gentoo-dev 2015-09-29 00:36:11 UTC
It was decided to deprecate the get_all_info() function as it was, for all intents and purposes, replaced awhile ago. If a commit hash is required just lemme know. I'll keep this open as IN_P until the next release comes out that includes that deprecation in it.
Comment 2 Devan Franchini (RETIRED) gentoo-dev 2016-05-10 04:43:09 UTC
2.4.1 is out which resolves this issue, therefore, I'm resolving the bug.