Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Brian Harring <ferringb@...>
Subject: Re: adding a modification timestamp to the installed pkgs database (vdb)
Date: Tue, 27 Oct 2009 22:11:57 -0700
On Tue, Oct 27, 2009 at 11:32:30AM -0700, Zac Medico wrote:
> Brian Harring wrote:
> > The proposal is pretty simple; if code modifies the vdb in any 
> > fashion, it needs to update the mtime on a file named 
> > '.modification_time' in the root of the vdb.
> 
> I'd to prefer using the mtime of the /var/db/pkg directory itself,
> since existence of a '.modification_time' file isn't going to prove
> that an programs that don't recognize that file haven't made any
> modifications.

Grumble.  Works for me.


> We can also use the mtimes of category subdirectories, in order to
> indicate whether a modification has occurred in any given category.

Pkgcore already relies on that for old style virtuals cache.  The 
pisser there is that modifications w/in a node don't result in a 
category level mtime- it certainly would be nice to have it formalized 
in some fashion so that cache regeneration could just work on the 
areas it needs to.

~brian
Attachment:
pgp73ddPaDkLh.pgp (PGP signature)
References:
adding a modification timestamp to the installed pkgs database (vdb)
-- Brian Harring
Re: adding a modification timestamp to the installed pkgs database (vdb)
-- Zac Medico
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: adding a modification timestamp to the installed pkgs database (vdb)
Next by thread:
gdata-build eclass proposal
Previous by date:
Re: Unused ebuild built_with_use cleanup
Next by date:
Re: Re: perl-5.10.1 status update


Updated Nov 23, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.