Jon Turney wrote:
On 17/05/17 00:14, David Rothenberger wrote:
When I use the new Direct Connection option in setup 2.878, it appears
that setup only downloads the setup.xz file from one of the three sites
I have selected.

Interesting. I don't see anything in the changes since 2.877 that would have caused this. Can you show a setup.log.full?

Attached, although I didn't see any difference in the log between using the new Direct Connection option and the old one.

Something which might give this impression is that setup will now cache setup.xz, and only download it if it has changed.

I had no idea anyone actually used this feature of setup. I'm somewhat sceptical it's making things faster or more reliable, rather than just downloading the same file 3 times... :)

I think you nailed it. I tried again this morning and the first time I ran setup, it did contact our local site, but it did not on subsequent runs (even to see if the file has changed). I then modified our web server to add a "Cache-Control: no-cache" header and cleared the Windows cache. After that, setup retrieved the setup.xz file from our server on every run.

For background, we host our own partial repository of locally built packages, so the setup.xz our server provides is not complete. It would be incorrect for setup to assume that the setup.xz downloaded from one site is identical to the ones available from the other selected sites.

--
David Rothenberger  ----  daver...@acm.org

Unfair animal names:

-- tsetse fly                   -- bullhead
-- booby                        -- duck-billed platypus
-- sapsucker                    -- Clarence
                -- Gary Larson
2017/05/17 10:02:26 Starting cygwin install, version 2.878
2017/05/17 10:02:26 User has backup/restore rights
2017/05/17 10:02:26 Current Directory: //zora/downloads/development/cygwin
2017/05/17 10:02:26 Could not open service McShield for query, start and stop. 
McAfee may not be installed, or we don't have access.
2017/05/17 10:02:51 source: network install
2017/05/17 10:02:52 root: c:\cygwin system
2017/05/17 10:02:52 Selected local directory: 
//zora/downloads/development/cygwin
2017/05/17 10:02:53 net: Direct
Loaded cached mirror list
get_url_to_membuf http://cygwin.com/mirrors.lst
getUrlToStream http://cygwin.com/mirrors.lst
2017/05/17 10:02:54 site: http://trac-dev.entomo.com/docs/cygwin-release/
2017/05/17 10:02:54 site: http://www.daveroth.dyndns.org/cygwin-release/
2017/05/17 10:02:54 site: http://mirrors.kernel.org/sourceware/cygwin/
get_url_to_membuf 
http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz.sig
getUrlToStream 
http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz.sig
get_url_to_membuf http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz
getUrlToStream http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz
get_url_to_membuf 
http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg
getUrlToStream 
http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg
get_url_to_membuf http://cygwinports.org/ports.gpg
getUrlToStream http://cygwinports.org/ports.gpg
compress_xz::bid_xz: success: 48
compress_xz::bid_xz: success: 48
INSTALLED.DB version 3
get_url_to_membuf 
http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz.sig
getUrlToStream http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz.sig
get_url_to_membuf http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz
getUrlToStream http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz
get_url_to_membuf 
http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg
getUrlToStream 
http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg
get_url_to_membuf http://cygwinports.org/ports.gpg
getUrlToStream http://cygwinports.org/ports.gpg
compress_xz::bid_xz: success: 48
compress_xz::bid_xz: success: 48
get_url_to_membuf 
http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig
getUrlToStream http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig
get_url_to_membuf http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz
getUrlToStream http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz
get_url_to_membuf 
http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg
getUrlToStream 
http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg
get_url_to_membuf http://cygwinports.org/ports.gpg
getUrlToStream http://cygwinports.org/ports.gpg
compress_xz::bid_xz: success: 48
compress_xz::bid_xz: success: 48
package calm comparing versions 20170327-1 and 20170327e-1, result was -1
package calm comparing versions 20170215-1 and 20170215e-1, result was -1
package chere comparing versions 1.4-1 and 1.2-1, result was 1
package keychain comparing versions 2.7.1-1 and 2.8.1-0, result was -1
.ini setup_version is (null), our setup_version is 2.878
2017/05/17 10:03:02 Ending cygwin install

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to