Gentoo Archives: gentoo-dev

From: Markus Ullmann <jokey@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [RFC] DIGESTS metadata variable for cache validation
Date: Fri, 06 Feb 2009 09:56:40
Message-Id: gmh1fq$6pa$1@ger.gmane.org
In Reply to: [gentoo-dev] [RFC] DIGESTS metadata variable for cache validation by Zac Medico
1 Zac Medico schrieb:
2 > The primary reason to use a digest for cache validation instead of a
3 > timestamp is that it allows the cache validation mechanism to work
4 > even if the tree is distributed with a protocol that does not
5 > preserve timestamps, such as git or subversion. This would make it
6 > possible to distribute metadata cache directly from git and
7 > subversion repositories (among others).
8
9 So just to make sure I understand what you're after... You want to add
10 some checksum to the cache file to make sure that all its other vars
11 (line 1-17) are still the same even though there are timestamp issues?
12 Or is that checksum for the ebuild file (which is in the Manifest file
13 in the ebuild dir)?
14
15 Greetz
16 -Jokey

Replies