This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[BUG] in Setup (IMHO), concerning version scanning & extentions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]