X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=i9arJIP8XmzQja/+
	Nco5Na20Il4tRCFmrfQ3WVCL1wUBwUuqdsDOt3n9h4Usnh+iqiCIYmK19uKDM4E6
	9NcfOjaRwx190yunHnAhxigxFAi8PbMw0WNsmuqDKy8b0hAdsycoKAPG/lKhlED0
	ddcJ/R2qcd6x+kavTB7BPbgYMH0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=ZGYTczVNS7Ne75McUlIC2/
	ent2A=; b=XabnMONspHq3q4Qz4ovJXUJiDoPII3zgxtGVnfmr+f+cjPcrt3CETq
	9+GsFSK7iYIm59w0CR14o6iI9AvtLb6stZPOMaQLM4f1p4V2TndKSko/Y2UgOE4v
	Q0aVh6BFYo0qcm7/alo2GHkVcXtl86kt8MMLKl9kQgUarU0vYkWbY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 4 Feb 2015 01:13:35 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <96760416.20150204011335@yandex.ru>
To: Corinna Vinschen <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: setup.exe (Release 2.864)
In-Reply-To: <announce.20150203203556.GB14265@calimero.vinschen.de>
References: <announce.20150203203556.GB14265@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

