Mail Archives: cygwin/2007/08/27/10:03:27
--------------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
> <snip>
>=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--
- Raw text -