[PATCH 0/3] setup.exe patches

2010-11-06 Thread Jon TURNEY
Fix a couple of issues which caused me some frustration when trying to install packages from cygwinports Jon TURNEY (3): Compare package versions, not setup.ini timestamps Remove now-unused member variables for storage of timestamp of the setup the package version came from Add the last

[PATCH 1/3] Compare package versions, not setup.ini timestamps

2010-11-06 Thread Jon TURNEY
Currently, when two mirrors offer different versions of a package for a stability level, the one from the setup.ini with the latest timestamp is chosen. This works adequately when the mirrors are exactly that, so the one which has been updated most recently has the most up-to-date version for

[PATCH 2/3] Remove now-unused member variables for storage of timestamp of the setup the package version came from

2010-11-06 Thread Jon TURNEY
2010-11-06 Jon TURNEY jon.tur...@dronecode.org.uk * package_meta.h (packagemeta): Remove unused member variables for storing timestamp of the setup.ini that package version came from. * package_meta.cc (packagemeta): Ditto. --- package_meta.cc |8

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

2010-11-06 Thread Jon TURNEY
Currently, if, for example, 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

Re: [PATCH 1/3] Compare package versions, not setup.ini timestamps

2010-11-06 Thread Christopher Faylor
On Sat, Nov 06, 2010 at 05:05:13PM +, Jon TURNEY wrote: Currently, when two mirrors offer different versions of a package for a stability level, the one from the setup.ini with the latest timestamp is chosen. This works adequately when the mirrors are exactly that, so the one which has been

Re: [PATCH 3/3] Add the last element of URL path to site chooser, if interesting.

2010-11-06 Thread Christopher Faylor
On Sat, Nov 06, 2010 at 05:05:15PM +, Jon TURNEY wrote: Currently, if, for example, 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

Re: [PATCH 1/3] Compare package versions, not setup.ini timestamps

2010-11-06 Thread Ken Brown
On 11/6/2010 1:52 PM, Christopher Faylor wrote: On Sat, Nov 06, 2010 at 05:05:13PM +, Jon TURNEY wrote: Currently, when two mirrors offer different versions of a package for a stability level, the one from the setup.ini with the latest timestamp is chosen. This works adequately when the