X-Spam-Check-By: sourceware.org Message-ID: <46D2D972.9090705@ukf.net> Date: Mon, 27 Aug 2007 15:02:26 +0100 From: Max Bowsher User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050923 Thunderbird/1.0.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Suggestion for Setup.exe: Implement resume feature References: <7d347e4e0708251623n6fa34416ma1060391430e693e AT mail DOT gmail DOT com> <46D2C4ED DOT 3040305 AT cygwin DOT com> In-Reply-To: <46D2C4ED.3040305@cygwin.com> OpenPGP: id=C0F2C580 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6E63A85CE4D12DA0E0C7CF6D" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig6E63A85CE4D12DA0E0C7CF6D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Larry Hall (Cygwin) wrote: > Scott Shell wrote: >> I am brand new to all things Cygwin so I am writing from the >> prospective of the complete newbie. I did read the FAQs and search >> this newsgroup first though, like a good newbie. >> >> Setup.exe lacks a resume feature as far as I can tell. I was in the >> process of "Install from Internet" for the first time, downloading >> many MBs which took over 45 minutes. I know now to select far fewer >> packages. But anyway, something urgent came up and I had to shut down >> my computer, so I had to click the Cancel button. >> >> Later, I ran Setup again and was dismayed when it did not remember >> where it left off. It began to download the same files from the >> beginning. Taking up about an hour of my time is of course negligible >> but it is a waste of bandwidth for the mirrors. >> >> On the "Choose A Download Site" screen on this second run of Setup I >> selected a site at random=20 >=20 > >=20 > That's your problem. 'setup.exe' keeps track of what you downloaded > previously by mirror. Choose a different mirror than last time (and > more specifically, NOT including the mirror you specified last time - > you can have up to 4) will cause 'setup.exe' to download all selected > packages again. Arguably, this is a silly design. I imagine it's done that way to separate off custom mirrors from the main distro, and other custom mirrors, but AFAICS using different directory trees for different official mirrors is in no way useful. Here's a possible solution: Add a new field to setup.ini, called "origin-url" - if present, it overrides the directory name that setup uses to store the packages locally. Since, in the official distro's case, there is no downloading allowed directly from cygwin.com, we could set it to some dummy URL. The result would be a single local collection of packages that doesn't get ignored when mirror selection is changed. Max. --------------enig6E63A85CE4D12DA0E0C7CF6D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iD8DBQFG0tl3fFNSmcDyxYARAnYTAJ9/bSfwqxMmSlW66/MsKeRSexgapgCgl7I1 /1ikkfeJbYRitdpOGU0pa14= =cGp3 -----END PGP SIGNATURE----- --------------enig6E63A85CE4D12DA0E0C7CF6D--