From: David Allsopp <david@tarides.com>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Aborting Cygwin setup in unattended modes
Date: Sat, 22 Jun 2024 07:45:20 +0100 [thread overview]
Message-ID: <CAJQQdJgYG-4LP4gJ-4mmy8gk3yD9CY8wThn=RRBod7uRFi-GAA@mail.gmail.com> (raw)
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
reply other threads:[~2024-06-22 6:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJQQdJgYG-4LP4gJ-4mmy8gk3yD9CY8wThn=RRBod7uRFi-GAA@mail.gmail.com' \
--to=david@tarides.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).