Re: [RFU]: guile-1.8.7-2

2010-11-26 Thread Corinna Vinschen
On Nov 25 20:27, Jan Nieuwenhuizen wrote: Bugfix release, please update and remove the problematic 1.8.7-1, thanks! wget --force-directories --no-host-directories --cut-dirs=2 \ http://lilypond.org/cygwin/release/guile/guile-1.8.7-2-src.tar.bz2 \

[PATCH 0/4] setup.exe patches for improvements in mirror URL handling

2010-11-26 Thread Jon TURNEY
Revised patches with some small improvements to the way setup.exe handles mirror URLs. I'm really not that keen on patches 3 4. It changes a lot of stuff around just to change the name of a directory from e.g. 'http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f' to

[PATCH 1/4] Add the last element of URL path to site chooser, if interesting.

2010-11-26 Thread Jon TURNEY
Currently, for example, if I manually add the site http://mirrors.kernel.org/sources.redhat.com/cygwinports/ to setup's mirror list, I get two indistinguishable entries named http://mirrors.kernel.org. Furthermore, because the code to ensure the site just added is selected uses the string

[PATCH 2/4] Canonicalize mirror URLs to ensure they end with a '/'

2010-11-26 Thread Jon TURNEY
This prevents a mirror URL being added twice (with and without a terminal '/') This ensures that the download directory is consistently named, avoiding downloading everything again, even if an additional mirror URL is added in a form which differs in the presence of a terminal '/' from last time.

[PATCH 4/4] Use site download directory without trailing %2f if it doesn't already exist

2010-11-26 Thread Jon TURNEY
Centralize where download directory is chosen Use site download directory without trailing %2f if it doesn't already exist 2010-11-26 Jon TURNEY jon.tur...@dronecode.org.uk * package_source.h (site): Add get_local_path() method and storage * package_source.cc (get_local_path):

[PATCH 3/4] Make io_stream::exists() directory aware

2010-11-26 Thread Jon TURNEY
At the moment io_stream::exists() returns FALSE for file:// paths which refer to an existing directory. Inconsistently, for cygfile:// paths which refer to an existing directory, it returns TRUE. Return a new state, IO_STREAM_EXISTS_DIRECTORY, to indicate if pathname exists as a directory and

Re: [PATCH] A setup.exe performance enhancement

2010-11-26 Thread Jon TURNEY
On 20/11/2010 09:43, Corinna Vinschen wrote: On Nov 19 14:49, Christopher Faylor wrote: On Fri, Nov 19, 2010 at 04:07:23PM +, Jon TURNEY wrote: Change package_db collection of packages from vector to a map so we can look things up in it quickly This allows packagedb::findBinary() and

Re: [PATCH] A setup.exe performance enhancement

2010-11-26 Thread Andy Koppe
On 26 November 2010 15:22, Jon TURNEY wrote: On 20/11/2010 09:43, Corinna Vinschen wrote: On Nov 19 14:49, Christopher Faylor wrote: On Fri, Nov 19, 2010 at 04:07:23PM +, Jon TURNEY wrote: Change package_db collection of packages from vector to a map so we can look things up in it