Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 498338

Summary: app-portage/portage-utils: qlop: -t -c should show average merge times for current package
Product: Portage Development Reporter: DrSlony <bugs>
Component: Third-Party ToolsAssignee: Fabian Groffen <grobian>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alex_y_xu, bugs, dschridde+gentoobugs, marat
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description DrSlony 2014-01-17 10:15:05 UTC
"qlop -t foo/bar" should be synonymous with "qlop -t -c" if foo/bar is currently being emerged. This would save time typing or copying and pasting.
Comment 1 Alex Xu (Hello71) 2014-01-17 14:36:58 UTC
Uh... isn't it?
Comment 2 DrSlony 2014-01-17 14:55:36 UTC
It doesn't show the average merge time of previous merges when using -t -c
Comment 3 DrSlony 2014-10-15 10:59:22 UTC
portage-utils-v0.53

"qlop -c" shows for example:
 * media-gfx/inkscape-0.48.5
     started: Wed Oct 15 12:52:48 2014
     elapsed: 2 minutes, 59 seconds

It would be beneficial if it also showed the average time for previous merges, which you get if you do much more typing:
qlop -ctH media-gfx/inkscape
 * media-gfx/inkscape-0.48.5
     started: Wed Oct 15 12:52:48 2014
     elapsed: 4 minutes, 40 seconds
inkscape: 13 minutes, 20 seconds for 7 merges

I feel that the -current flag should imply "media-gfx/inkscape" there at the end without me having to type that again every time.
Comment 4 DrSlony 2014-11-18 06:54:11 UTC
Bump
Comment 5 SpanKY gentoo-dev 2014-11-18 19:26:34 UTC
bumping a feature request isn't really going to make it go faster, so please don't do that
Comment 6 DrSlony 2014-11-18 19:31:46 UTC
In my experience as a developer, it does, but ok :)
Comment 7 Dennis Schridde 2017-03-11 10:03:58 UTC
Is this a duplicate of bug #161244?
Comment 8 Till Schäfer 2017-11-28 15:49:57 UTC
I think this should be vice versa, as this bug is much more sane (do not always include build times for qlop -c, which requires the scanning of emerge.log)

BTW: here is a bash workaround for the current situation 

qlop -c; echo ""; for package in $(qlop -c | grep \* | sed s/\*/\ /); do echo -n "average merge time for "; qlop -Ht $(echo $package | sed s/-[^-]*$//); done
Comment 9 Fabian Groffen gentoo-dev 2018-03-28 19:35:25 UTC

*** This bug has been marked as a duplicate of bug 161244 ***