Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560320 - app-portage/portage-utils - have qatom -v always print out the same number of parts
Summary: app-portage/portage-utils - have qatom -v always print out the same number of...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-09-13 07:48 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-09-15 18:28 UTC (History)
0 users

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


Attachments
portage-utils-0.56-qatom-verbose-fix.patch (portage-utils-0.56-qatom-verbose-fix.patch,492 bytes, patch)
2015-09-13 07:48 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-09-13 07:48:45 UTC
Created attachment 411780 [details, diff]
portage-utils-0.56-qatom-verbose-fix.patch

Depending on whether SLOT is found, qatom -v will print out a different number of sub-atomical parts. It would be nice to be able to parse that output without needing to check how many it printed.
Comment 1 SpanKY gentoo-dev 2015-09-15 18:28:55 UTC
this patch is obviously correct, so merged:
http://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=e275dfedc41cecf51d96484eb34505d12dca5678

thinking bigger, i've never really been happy with the ad-hoc output.  i was thinking something like a -F/--format flag would be nice so you could extract the exact parts you wanted all the time.  wdyt ?