[setup - the official Cygwin setup program] branch topic/site-speed-estimate, created. release_2.936-11-g9e812972

Jon Turney via Cygwin-apps-cvs <[email protected]> Fri, 20 Feb 2026 14:53:03 +0000 (GMT)
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>
        at  9e812972fa37e2096b0bcd6958cca73df8ed4223 (commit)


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=9e812972fa37e2096b0bcd6958cca73df8ed4223

commit 9e812972fa37e2096b0bcd6958cca73df8ed4223
Author: Jon Turney <[email protected]>
Date:   Tue Feb 17 17:07:52 2026 +0000

    Add some progress reporting for mirror speed checking

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=95b3bc7b7296cbda501590692f4b4909033b505b

commit 95b3bc7b7296cbda501590692f4b4909033b505b
Author: Jon Turney <[email protected]>
Date:   Tue Feb 10 20:38:50 2026 +0000

    Generic progress reporting

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=9ae06b4a4205ef7672d7ab483716aedaeef57009

commit 9ae06b4a4205ef7672d7ab483716aedaeef57009
Author: Jon Turney <[email protected]>
Date:   Tue Feb 17 16:31:07 2026 +0000

    Add '--auto-site' option
    
    This enables mirror spped estimation (and thus ordering of mirrors by
    speed in the mirror selection dialog).
    
    The automatically selected mirror overrides any previous site selection
    or '--site' options, if we were able to find one.

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=9db1bce5faea0ab00ffdb556e8acdc34b9dfa7e2

commit 9db1bce5faea0ab00ffdb556e8acdc34b9dfa7e2
Author: Jon Turney <[email protected]>
Date:   Sun Feb 15 21:15:37 2026 +0000

    Add speed estimation for mirror list sites
    
    Add a simple speed estimation for mirror list sites.
    
    Use it when no previous (from settings) or explicit (via --site options)
    site selection is made, to give a speed-sorted site selection dialog.
    
    Additionally, in unattended mode, automatically select the 'fastest'
    mirror site.
    
    Future work: This isn't great. We spend a maximum of 5 seconds reading
    from a mirror, but if there's a dead mirror in the mirror list, we spend
    however long trying to connect. Maybe NetIO::open() should have the
    option to specify a shorter timeout?
    
    But that shouldn't happen too often, since the dead mirror will get
    removed from the mirror list in 24 hours, or so.
    
    This also extends the meaning of the NetIO::open() cachable flag, so
    that request is neither entered into, nor retrieved from the local cache.
    
    (Otherwise, a cached setup.ini file from a previous run might be used,
    which won't give an accurate measurement of the origin server's speed).

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=ae2abf1fd9748ad5672df26dd385364410f63db0

commit ae2abf1fd9748ad5672df26dd385364410f63db0
Author: Jon Turney <[email protected]>
Date:   Mon Feb 16 14:07:13 2026 +0000

    Drop maintaining SiteList in order
    
    Drop maintaining SiteList in order. Instead, explicitly sort by the tld
    key when needed.

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=920bb1b0099d36a9871d1c4cf0d7b46dc933bce4

commit 920bb1b0099d36a9871d1c4cf0d7b46dc933bce4
Author: Jon Turney <[email protected]>
Date:   Sun Feb 15 22:55:02 2026 +0000

    Rename site_list -> selected_site_list for clarity