Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618562 - Some GNOME(?) script is writing invalid atoms in stabilisation requests that have a version but lacks an equal/greather than/littler than sign
Summary: Some GNOME(?) script is writing invalid atoms in stabilisation requests that ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 19:12 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-05-16 00:20 UTC (History)
0 users

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 Jeroen Roovers (RETIRED) gentoo-dev 2017-05-15 19:12:16 UTC
GNOME team has been using a script for ages that creates neat lists of atoms. Sadly, the atoms it generates lack the equal sign, which makes sys-apps/portage reject them. This should obviously be fixed.
Comment 1 Mart Raudsepp gentoo-dev 2017-05-15 19:57:56 UTC
I create them manually, with the script only as a "check if I missed anything" tool. Equal sign in "Package list" is legacy compatibility and deprecated, and should not be used on new package list entries.
Comment 2 Mart Raudsepp gentoo-dev 2017-05-16 00:20:31 UTC
Oh, and of course the script obviously also appends arch columns too, so it is definitely not a neat list of atoms you could put into anything portage accepts without applying filtering first. That's been the case always with the gnome script really. So together with the per-arch filter the equal sign can be easily added in the same arch specific post-processing run.
Additionally in case of the package list field, one line might be having arch specifications, another not, in the same field value. If any architecture is listed behind a pkgname-revision, then for a given arch if not listed, then that line is not applicable. But if no architecture is listed for a line, then it's applicable to all arches CC'ed. https://github.com/kensington/bugbot/blob/master/getatoms.py takes care of all this as an example code for any different script needs. And a script is needed either way, so...