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 1N2qq7-0001ro-7h for garchives@archives.gentoo.org; Tue, 27 Oct 2009 18:32:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E2CEE07DA; Tue, 27 Oct 2009 18:32:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3CF3DE07DA for ; Tue, 27 Oct 2009 18:32:06 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 15060B47E5; Tue, 27 Oct 2009 18:32:04 +0000 (UTC) Message-ID: <4AE73CBE.8010704@gentoo.org> Date: Tue, 27 Oct 2009 11:32:30 -0700 From: Zac Medico User-Agent: Thunderbird 2.0.0.23 (X11/20090907) 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 To: gentoo-dev@lists.gentoo.org CC: Brian Harring Subject: [gentoo-dev] Re: adding a modification timestamp to the installed pkgs database (vdb) References: <20091026015005.GA12250@hrair.hsd1.ca.comcast.net> In-Reply-To: <20091026015005.GA12250@hrair.hsd1.ca.comcast.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 47bc9a3a-f229-41e6-a19e-f5a69df85e4b X-Archives-Hash: 762417ab0331afabed55390371d64641 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. We can also use the mtimes of category subdirectories, in order to indicate whether a modification has occurred in any given category. -- Thanks, Zac