delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/21/20:05:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <mchase AT ix DOT netcom DOT com>
Subject: Re: Bug in setup.exe 2.194.2.24
To: Cliff Hones <cliff AT aonix DOT co DOT uk>, cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <FC169E059D1A0442A04C40F86D9BA7600C5EB2 AT itdomain003 DOT itdomain DOT net DOT au>
In-Reply-To: <FC169E059D1A0442A04C40F86D9BA7600C5EB2@itdomain003.itdomain.net.au>
Reply-To: Michael A Chase <mchase AT ix DOT netcom DOT com>
Message-Id: <E16zRKL-0003GA-00@barry.mail.mindspring.net>

On Mon, 22 Apr 2002 09:19:01 +1000 Robert Collins <robert DOT collins AT itdomain DOT com DOT au> 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 <known> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019