delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/06/22/02:46:30

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 45M6kTfm622305
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=aWoSbQad
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C92A382EF1D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1719038788;
bh=Y/eWKxXGLAUIhqRa9vhtrQeD8GM6G+4ScMMyndZhSG4=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=aWoSbQadqHM1G/EhyM2rnnLwuFDN7D407eCTiwau4d+UvIBnZqzDnr6ZhgdhOYXwz
zKDQ2qKCvizqOJU0Nvrh70T3cRprVL73iaUFMcVSIFRnuNtJIlg8oMOQaQUXzJVCEu
R8ZaYy7PquTkZ0Bx+bcgvMrpWtKmLax2Ywc4/AOc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 86EB33858C98
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 86EB33858C98
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719038736; cv=none;
b=ec/xCqFs4qjXON48a7VBsrK8UOb315q/z7mfAHbU0x4mTQtZKHO8src5myAIzcC4X80n7edtTsyAwG2WskVsaBcrfkICP88gNeKM5khJ3hiA2Mijy6HrafFvdo2AcMcmDfEVcyVHq1oyXtYrVuMHd2fktDCsEli9Oe+K7NCsAiE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1719038736; c=relaxed/simple;
bh=xYvU9sDpP9oww23vzhF3QyWhxOUb5fw9AnfEcC61Npk=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=M4UA4iW6JIlP8jYS9Ea6eaamGvCCfofAeZLpdy7erci+tJAyfiAsdiYQtvF77Enwgdh5x6YGUeLHzPii/9LkNX0MWg+MD+ytZf71HsG1jLaA/+JULptZzMSFNC0M7Fd6lURdG6uPx6PP3jimETY1qZpeNuAMTZebTT+/NxVr05s=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1719038732; x=1719643532;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=xYvU9sDpP9oww23vzhF3QyWhxOUb5fw9AnfEcC61Npk=;
b=MJGCsF7WmJP/3PNo9tCAA+yv33dP55y1D+emiuMDOSIZCYLsCeUR8DmGDXRBfCbW+Y
hkSKjITE2PyeuYg66YIygfdo76S8yF9FFkCdmoeMrx+My6nAfMPZNhYDL9UIqY/rtSux
PNcEbaj8cclnRsX9+zoXNSTBudAZFkI4Y1Vffg6a+bE/IaqtDMfiiTHRCcycXnC6hoCz
n3zSrmh3eWD/pnBbNXEndIc6bim7Jk6aTLQ8D695prUTxGr3zwowNagIW9F/sdtzQ8sV
V6c4Xj8I7yPXGjf1VyaYpF5jw6UdGK4R2JTMfpyXLqjPZ1yQ9TZ3HnHcJ+x5vMDbI6K+
JLpg==
X-Gm-Message-State: AOJu0Yy2F6CoiIm3zSOTljEyX/8ynutHN304i95yuKsg17ZHOdkV34ZI
AezKLxks+c1dbh/Ayo4o/b8/XGCwRoLTBpxSQDHFpZLD2CqPwnSR3aBb3FOdHa8NQW48mpR0PuU
cma7n3f9CJPk2JvpgUXdyPyiC3olZHL/HlMn/ehZ73rB/M6S2
X-Google-Smtp-Source: AGHT+IGLcVhoqchRz+5mvJqaUFd9pc0th5ls2xOthj+2t0JuAp2EZ2wA3oX3rRC++TnDzwIbVGCG5RyjlWZGHm7Mk6M=
X-Received: by 2002:a17:907:d383:b0:a68:eb4d:3963 with SMTP id
a640c23a62f3a-a6fab7d7ca5mr631454166b.67.1719038732002; Fri, 21 Jun 2024
23:45:32 -0700 (PDT)
MIME-Version: 1.0
Date: Sat, 22 Jun 2024 07:45:20 +0100
Message-ID: <CAJQQdJgYG-4LP4gJ-4mmy8gk3yD9CY8wThn=RRBod7uRFi-GAA@mail.gmail.com>
Subject: Aborting Cygwin setup in unattended modes
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: David Allsopp via Cygwin <cygwin AT cygwin DOT com>
Reply-To: David Allsopp <david AT tarides DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

If Cygwin's setup requires input (for example, to select a mirror),
with --quiet-mode hidden it simply terminates (there's no apparent
exit status or message, though).

With --quiet-mode noinput, Cygwin setup sits at the appropriate
dialog, but it's of course non-responsive.

Would it be possible in these situations for Cygwin to abort,
preferably with a non-zero exit code?

The background to this was running Cygwin setup in GitHub Actions (so
UI not visible), _without_ specifying --site, where the Cygwin
installation had been restored by actions/cache but not the registry
setting in HKLM\SOFTWARE\Cygwin\setup meaning that setup could not
find setup.rc and consequently determine the last-used mirror. The GUI
therefore invisibly froze at mirror selection.

That issue has obviously been fixed, but it would seem sensible that
Cygwin's setup doesn't ever display a dialog _requiring_ input where
all that input has been disabled!


David

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019