delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/01/15:53:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Ronald Landheer" <ronald DOT landheer AT minisat DOT com>
To: <cygwin AT cygwin DOT com>
Subject: [BUG] in Setup (IMHO), concerning version scanning & extentions
Date: Thu, 1 Nov 2001 21:51:01 +0100
Message-ID: <NFBBLOMHALONCDMPGBLFAEDACFAA.ronald.landheer@minisat.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fA1Krbd14334

Hello Robert, Chris et al.

When I download a mirror tree completely (using Setup, ofcourse), 
download some more (new) stuff a couple of days later, without noticing 
that some packs have not changed version but have changed extention 
(from .tar.gz to .tar.bz2 or vice versa) Setup knows that I have the 
pack - so doesn't download it again - but when it starts unpacking, 
doesn't find it anymore.
Doing `gunzip -c mypack.tar.gz | bzip2 -c > mypack.tar.bz2` helps, but 
IMHO should not be required.
I'm getting myself familiar with the fhandlers codebase and don't want 
to mess with Setup's codebase too much, so forgive me for not sending in 
a patch (yet), but IMHO, what it should do is look for either extention 
- not just the one listed in setup.ini: the size is checked at download, 
so you already know it's OK. The name denotes the version so that's not 
a problem either..
Someone familiar with the codebase should be able to patch something 
like this up pretty quickly (Robert?), but if I hear things like "why 
don't you do it" or I don't hear anything, I'll get off my butt..

Greetz!

Ronald


--
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