This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: setup.exe (Release 2.864)


Greetings, Corinna Vinschen!

> - Introduce an experimental option -m/--mirror-mode.

>   If you're running a local mirror from which you're installing via the
>   "Install from Local Directory" option, you might have noticed a rather
>   long delay (sometimes in the range of minutes) prior to opening the
>   package selection dialog with an entirely unresponsive Setup.

>   This delay is spent iterating throught the full set of packages and
>   testing each package and each packageversion if the underlying package
>   file exists in the download directory.  If the download directory is,
>   in fact, a mirror, these checks don't make sense.  With the -m option
>   and the Download Source set to "Install from Local Directory", these
>   checks are skipped, and the package selection dialog will show up
>   almost instantly.

>   Please note that this option is provided on a "no guarantee" basis.
>   It requires a sane mirror with the packages in sync with its setup.ini
>   file.

Regarding this change (and the underlying behavior).
I see the key word is "full set of packages". Which makes little sense in case
of upgrading from local archive. But it also makes very little sense, if
upgrading from internet.
What if it would only check packages when it is necessary? I.e.
1. Read installed packages list.
2. Compare to setup.ini, calculate upgrades.
3. Let user make their mind.
4. Calculate dependencies.
5. Download packages. (Skipped if installing from local directory.)
6. Calculate hashes. If any selected package fail the check (damaged or
missing), notify the user and put them back to the package selection screen.
7. If all hashes checked ok' - install packages.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 04.02.2015, <00:57>

Sorry for my terrible english...


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]