Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 21 Apr 2002 17:04:36 -0700 (Pacific Daylight Time) From: Michael A Chase Subject: Re: Bug in setup.exe 2.194.2.24 To: Cliff Hones , cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE References: In-Reply-To: Reply-To: Michael A Chase Message-Id: On Mon, 22 Apr 2002 09:19:01 +1000 Robert Collins wrote: > > -----Original Message----- > > From: Cliff Hones [mailto:cliff AT aonix DOT co DOT uk] > > Sent: Sunday, April 21, 2002 11:55 PM > The download process iterates over all known packages, and calls > download_one for the binary (if the binary is selected for > install/download) and source packages (likewise, only if selected). The > first thing that download_one does is call check_for_cached and returns > success if check_for_cached succeeds. Check_for_cached checks both the > non-prefixed directories, and the directories in each mirror > prefix. This means that changing mirrors will cause repeated downloads, > and that selecting all the mirrors you want to use is the most efficient > approach. I've tried to look into this, but it's slow going because I'm having trouble following the process flow. It appears that only the base directory tree and prefix directories for the currently selected mirror sites are checked. That means if a file was downloaded for a mirror that isn't selected in the current run, it won't get noticed in check_for_cached(). Perhaps a separate class should be defined for tracking files found and their possible package associations. This could be used later for removing obsolete versions of package archive files. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/