Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Ronald Landheer" To: Subject: [BUG] in Setup (IMHO), concerning version scanning & extentions Date: Thu, 1 Nov 2001 21:51:01 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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 Content-Transfer-Encoding: 8bit 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/