|
From: | Aaron Bentley |
Subject: | Re: [Gnu-arch-users] Preliminary Arch Cache available |
Date: | Tue, 14 Sep 2004 07:51:38 -0400 |
User-agent: | Mozilla Thunderbird 0.5 (X11/20040306) |
David Allouche wrote:
On Tue, 2004-09-14 at 00:45 -0400, Aaron Bentley wrote:David Allouche wrote:As a complement to disconnected operation, I would like a command to fill the cache with the contents of an archive. Typically, one would fill the cache before going offline or at the beginning of a day of work, when there might be a lot of new stuff.That's definitely part of the plan for disconnected operation. The issue I'm looking at is: "What's required to fill the cache for a version?"I guess the answer is "whatever is required to build any revision in the version". So you'd want a cacherev at base-0, or possibly in an ancestor, so long as the base-0 could be built from that ancestor, plus deltas for every revision in the version.That can have unintended side effects.
I'm not sure whether you're reading me correctly. There should definitely be a way to fill a version by itself. I'm just wondering what that "filling a version" should involve.
Should we grab all available cacherevs? Should we ensure the version has one cacherev? What if the version has an ancestor in the cache with a cacherev? Does it matter whether that ancestor's in the same archive, since the cache spans multiple archives?
Questions about what versions to mirror strike me as different questions, and the archive-mirror stuff would be a good starting point.
Aaron
[Prev in Thread] | Current Thread | [Next in Thread] |