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

Bug 6084

Summary: History function
Product: Portage Development Reporter: Ole Tange <bugs.gentoo.org>
Component: CoreAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vapier
Priority: High    
Version: 2.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ole Tange 2002-08-06 07:24:49 UTC
I have asked on IRC and nobody seemed to know if emerge had a history.

If not then it would be nice to have a logfile that told:

* What was installed (uninstalled)
* Versions of (un)installed stuff
* When it was (un)installed

This is tremendously usefull for tracking down bugs that you know was not on you
system 14 days ago but that seems to be there now.

In principle it could just start out as:

date >>/var/log/emerge-history
echo $* >>/var/log/emerge-history

But a more sofisticated logging would ofcourse be better.
Comment 1 Ole Tange 2002-08-06 08:00:15 UTC
Another use for this is a question I just saw on IRC:

How long time does it take to compile gcc?

This could be answered by reading the logfiles (at least I could tell how long
it took on my machine).
Comment 2 SpanKY gentoo-dev 2002-08-06 08:05:06 UTC
im pretty sure a history function doesnt exist, and as for the 2nd comment, its 
already been filed as another bug ;)
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-09-03 15:46:34 UTC

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