From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18944 invoked by alias); 31 Jan 2018 15:48:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 18935 invoked by uid 89); 31 Jan 2018 15:48:55 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Jan 2018 15:48:50 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id gucxeqdoDb3YIgucye4sBu; Wed, 31 Jan 2018 08:48:48 -0700 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: From: Brian Inglis Message-ID: <2d8c3b52-41b4-bfd7-93a8-00d9fc98c3ca@SystematicSw.ab.ca> Date: Wed, 31 Jan 2018 15:48:00 -0000 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: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfP+XQqq647JOEMjYW+rwCB1pbDB4x5W1CJk7yYEp0ohN9shevM1AGlGRfSyCbKZPdlBx13xrLLOCmPVBhaqUS9BirIzUDwsH2gadZRimGId5XuBMOTqm F7iUMFpYCUtxD6YgtjJ42hRUfvLGhfnRJiVVJBnyMmA9vnXCJuRv7rqXsLedXAzXRa5YB+bQKYSXMw== X-IsSubscribed: yes X-SW-Source: 2018-01/txt/msg00298.txt.bz2 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