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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=S1zQ3EYx8uS6v9Dh
	W+7b3ljFmazU5LJFtKgU8T/suV+Jx/jHKrrYuzuJs+3ALOFzlYqZXRRztPMijGD6
	rWaEpne4fnLnDlHR+HsMTKhAm0qdfvSLB2CuWSW8LCaJ0ULZR1pK14McymDFnmPm
	4m26596JPrrPdhMEQ2Y97d1BhMU=
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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ceySQSp1gMYiQ6upnWetGm
	zTVRU=; b=TjjlCPcOsNVs+JtOh4Unn3hzlfkVhnvpM7rGqn4Z8DQc2Bi4MYQ8Lg
	o8q7pSMEmgd+Ne09zqmm5t6dVtmUAIyBgzE1Q1nqggRrMZ+zaR7LBV5KaHi1BSDh
	2X+KHW2epuxSyZo9haJ55Lpve0VVQnVats2juuueSeulWHySnp5Ps=
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.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Cancel, Hx-spam-relays-external:sk:smtp-ou, H*RU:sk:smtp-ou, HX-HELO:sk:smtp-ou
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=J/va1EvS c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=w_pzkKWiAAAA:8 a=nXhqiK2woq1UlpL2-TcA:9 a=pILNOxqGKmIA:10 a=Ug9y8cjYg8wA:10 a=vuDqFrSk6AsA:10 a=sRI3_1zDfAgwuvI8zelB:22
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: setup takes a long time
To: cygwin@cygwin.com
References: <CAKqBF1igB-P_o__zbXwxKGtps_LaejHoQ_Qcp0OgUE2K5VjvUQ@mail.gmail.com> <f3941c58-e05a-7803-17c9-683ba0a32ddb@dronecode.org.uk> <SN6PR0901MB252836923C954CBF94A6F3979BFB0@SN6PR0901MB2528.namprd09.prod.outlook.com>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <2d8c3b52-41b4-bfd7-93a8-00d9fc98c3ca@SystematicSw.ab.ca>
Date: Wed, 31 Jan 2018 08:48:47 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <SN6PR0901MB252836923C954CBF94A6F3979BFB0@SN6PR0901MB2528.namprd09.prod.outlook.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfP+XQqq647JOEMjYW+rwCB1pbDB4x5W1CJk7yYEp0ohN9shevM1AGlGRfSyCbKZPdlBx13xrLLOCmPVBhaqUS9BirIzUDwsH2gadZRimGId5XuBMOTqm F7iUMFpYCUtxD6YgtjJ42hRUfvLGhfnRJiVVJBnyMmA9vnXCJuRv7rqXsLedXAzXRa5YB+bQKYSXMw==
X-IsSubscribed: yes

On 2018-01-31 08:34, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Jon Turney sent the following at Wednesday, January 31, 2018 9:02 AM
>> On 31/01/2018 06:18, Fergus Daly wrote: [...]
>>>
>>> The setup program does seem to take a long time, even when it just
>>> means "update" and even when there's nothing to update.  Here's what
>>> happens in unattended mode:
>>
>> These tasks are supposed to identify when they have no work to do, and
>> do nothing quickly.  It seems that is not always the case.
> 
> Recently brought up:
> https://cygwin.com/ml/cygwin/2018-01/msg00274.html
> 
> It seems that this behavior is by design.
> https://cygwin.com/ml/cygwin/2018-01/msg00275.html
> 
> FWIW, I still wouldn't mind having a command line option that skips
> rebase and postinstall scripts when nothing has been updated.

Main reason for running setup when nothing has been updated is to (re)run rebase
and other scripts that may not have completed successfully the first time for
some reason.
An option to skip might be nice for scheduled unattended updates, like hitting
Cancel at the end; as would an option to have setup find and stop cygrunsrv
server processes before starting updates, then restart cygrunsrv server
processes before exiting.

They do accept patches to setup ;^>

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

