Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5771 - Making several parts of emerge output more clean and understandable
Summary: Making several parts of emerge output more clean and understandable
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-30 08:16 UTC by Dan Naumov
Modified: 2011-10-30 22:37 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 Dan Naumov 2002-07-30 08:16:41 UTC
A good test case for this problem (which I think it is) is "emerge -u world":

==============================================================
[16:02]-jago-@-localhost-[jago]: sudo emerge -u world -p

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild    U ] x11-wm/blackbox-0.62.1-r3 to /
[ebuild    U ] app-editors/vim-6.1-r9 to /
==============================================================

Yes, we can see that the blackbox and vim packages are going to be updated, but
that's about it. Additionally, the output looks like as if emerge wants to
update blackbox-0.62.1-r3 and vim-6.1-r9 to version "/", which is not really
the case. In order to see what version of the package you have already
installed, you have to manually query the package database using qpkg or
emerge -s. I propose this to be changed, I think it would be better if the
output looked like:

==============================================================
[16:02]-jago-@-localhost-[jago]: sudo emerge -u world -p

These are the packages that I would update, in order.

Calculating world dependencies ...done!
[ebuild    U ] x11-wm/blackbox-0.62.1 to x11-wm/blackbox-0.62.1-r3
[ebuild    U ] app-editors/vim-6.1-r6 to app-editors/vim-6.1-r7
==============================================================

When emerging a new package, the following text appears:

==============================================================
[16:11]-jago-@-localhost-[jago]: sudo emerge arts
Calculating dependencies ...done!
>>> emerge x11-libs/qt-3.0.5 to /
==============================================================

I think it would look better if it said:

==============================================================
[16:11]-jago-@-localhost-[jago]: sudo emerge arts
Calculating dependencies ...done!
>>> emerging x11-libs/qt-3.0.5
==============================================================

And the following for updating a package:

==============================================================
[16:11]-jago-@-localhost-[jago]: sudo emerge -u arts
Calculating dependencies ...done!
>>> emerging x11-libs/qt-3.0.5 over x11-libs/qt-3.0.1
==============================================================

What do you think ?
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-09-03 16:54:41 UTC
I think it's ok the way it is. :) We may rework the text output in a more major
way in the future.