From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LVNRw-00084E-H0 for garchives@archives.gentoo.org; Fri, 06 Feb 2009 09:56:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61D8BE0367; Fri, 6 Feb 2009 09:56:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3B87BE0367 for ; Fri, 6 Feb 2009 09:56:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id CC6C56484A for ; Fri, 6 Feb 2009 09:56:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.475 X-Spam-Level: X-Spam-Status: No, score=-2.475 required=5.5 tests=[AWL=1.124, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VmGw4B4bNRoB for ; Fri, 6 Feb 2009 09:56:31 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 036DF647DC for ; Fri, 6 Feb 2009 09:56:28 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LVNRe-000833-Q3 for gentoo-dev@gentoo.org; Fri, 06 Feb 2009 09:56:22 +0000 Received: from e176108239.adsl.alicedsl.de ([85.176.108.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2009 09:56:22 +0000 Received: from jokey by e176108239.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2009 09:56:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Markus Ullmann Subject: [gentoo-dev] Re: [RFC] DIGESTS metadata variable for cache validation Date: Fri, 06 Feb 2009 10:55:58 +0100 Message-ID: References: <498758E6.5080609@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: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e176108239.adsl.alicedsl.de User-Agent: Thunderbird 2.0.0.19 (X11/20081209) In-Reply-To: <498758E6.5080609@gentoo.org> Sender: news X-Archives-Salt: 2b0ec481-02cb-4c0b-81e1-e93e3a72622c X-Archives-Hash: f745aeba40217affd668c1fd2af19aa5 Zac Medico schrieb: > The primary reason to use a digest for cache validation instead of a > timestamp is that it allows the cache validation mechanism to work > even if the tree is distributed with a protocol that does not > preserve timestamps, such as git or subversion. This would make it > possible to distribute metadata cache directly from git and > subversion repositories (among others). So just to make sure I understand what you're after... You want to add some checksum to the cache file to make sure that all its other vars (line 1-17) are still the same even though there are timestamp issues? Or is that checksum for the ebuild file (which is in the Manifest file in the ebuild dir)? Greetz -Jokey