From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N30pJ-0007Oc-9r for garchives@archives.gentoo.org; Wed, 28 Oct 2009 05:12:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9690AE0904; Wed, 28 Oct 2009 05:12:03 +0000 (UTC) Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.210.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 74FF1E0904 for ; Wed, 28 Oct 2009 05:12:03 +0000 (UTC) Received: by yxe4 with SMTP id 4so376987yxe.32 for ; Tue, 27 Oct 2009 22:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Qzbd7ppHS/evw7gg4juKhNmVh7wCotlIQWoLS8SLFLM=; b=U+wz4tcb4F0BobcYRw4/EYtNcQsbQ0KwRboxYPjkenUZ77qhiipkF3vC37WcTL6it8 pmCK9mvhmBRJVc6ktKfPIPSSckHKelo7xoRxC3tdoMeDD9MiRPIWQV9sandmLRPX/KU4 S92x0dw/b9JAlupk3zUGKsHDrYI2L3Xr7XGZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ftwYWvDGZprhQMtneqwvWDOgSSwXoYUefaV2pPEBrQtqUoVPAG16n1qSyB6s83HKLq b5AQr+fG6VIPJguQW8rmv+8YlONWKIOOY9yfAMeSavNuzdkmFJn5dHYgqgY86JKxFRSU HZf7nV5gD4v+X4uUKJK1vQC4EFd8Jmqt0OYsU= Received: by 10.91.81.18 with SMTP id i18mr11463420agl.47.1256706723121; Tue, 27 Oct 2009 22:12:03 -0700 (PDT) Received: from smtp.gmail.com (c-24-130-139-50.hsd1.ca.comcast.net [24.130.139.50]) by mx.google.com with ESMTPS id 35sm301108yxh.33.2009.10.27.22.11.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Oct 2009 22:12:01 -0700 (PDT) Received: by smtp.gmail.com (sSMTP sendmail emulation); Tue, 27 Oct 2009 22:11:57 -0700 Date: Tue, 27 Oct 2009 22:11:57 -0700 From: Brian Harring To: gentoo-dev@lists.gentoo.org Cc: zmedico@gentoo.org Subject: [gentoo-dev] Re: adding a modification timestamp to the installed pkgs database (vdb) Message-ID: <20091028051157.GA7190@hrair.hsd1.ca.comcast.net> References: <20091026015005.GA12250@hrair.hsd1.ca.comcast.net> <4AE73CBE.8010704@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <4AE73CBE.8010704@gentoo.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: c74f52a6-f205-4834-9728-ec742d730f29 X-Archives-Hash: b7c8ba2a9d0bfe53c93f34775ac12639 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > > fashion, it needs to update the mtime on a file named=20 > > '.modification_time' in the root of the vdb. >=20 > 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=20 pisser there is that modifications w/in a node don't result in a=20 category level mtime- it certainly would be nice to have it formalized=20 in some fashion so that cache regeneration could just work on the=20 areas it needs to. ~brian --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkrn0p0ACgkQsiLx3HvNzge0eACgluJieRYMrrKrzdo/HFzO/S/h GaIAoJohfFrE7r6sEFE73fkH3U0ARxAQ =xaWa -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--