On Thu, Dec 07, 2006 at 01:03:53AM -0500, David Reiser wrote:
> Something that I have wished for several times is more date information:
> 
> When I most recently installed a package

In one respect that's a pretty hard one...the data isn't stored
anywhere. I've heard debian talk about adding some sort of auditing
trail to dpkg, dunno if they've implemented it yet (and obviously
*our* current dpkg doesn't have it). I've got a hacked dpkg that can
do it as well (as a side effect of another long-wanted fink feature)
but right now it's only catch *some* installs not all.

OTOH, it would be easy to write a Notify module that tracked it. The
"Syslog" Notify module would work well for this now, but the data is
stored in syslog (duh:) so it's only available within the limits of
your logfile rotation history.

> When I built it (this can be dug up from the deb build date, but it's  
> more work than it should be)

A quickie is:

  ls -l `fink dumpinfo -fdebfile SOME_PACKAGE_NAME | cut -d: -f2 ` 

If we wanted to be reliable about this, we should check the datestamp
of stuff *in* the .deb, not the .deb itself (care about build date,
not when the already-built archive was copied/downloaded/whatevered).
Maybe dumpinfo should have a "debstats" field that gives internal
datestamp and installation size of the .deb?

> When the last update was on the servers (again, available but harder  
> than it should be to find)

Not sure a good way to do this one without rolling a server facility
specifically for this request. Can't rely on CVS or rsync since no
clue which way someone's doing it. gmane is a pain in the butt to
search and parse efficiently automatically. Maybe screen-scrape the
viewcvs webpage?

> I have wanted this information mostly when I'm muttering evil things  
> wondering "what have I done _this_ time?"  My fink efforts are  
> sporadic, and when I get myself into trouble, being able to tell  
> "Yeah, that one was installed yesterday" (instead of last week or  
> last month) can help jog my memory about what I may have been  
> thinking or attempting.

Yeah:)

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to