public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Setup.exe suggestions
Date: Wed, 28 Feb 2024 20:19:00 +0000	[thread overview]
Message-ID: <DM8PR09MB7095FAD132325E6D1801B148A5582@DM8PR09MB7095.namprd09.prod.outlook.com> (raw)

Hi All,

I already tried to bring this up, but it looks like it was either ignored or just slipped
through the cracks...

I have a few suggestions that IMHO would make Setup a teeny-bit user-friendlier.

Having to (re-)install Cygwin is probably the most dreaded action for everybody, and
dealing with Setup is not to be taken light-heartedly when you have to go through
thousands of packages.  The version upgrade would probably be the only exception,
which is rather seamless.

There are a few challenges with Setup interactions...

For new installations, it'd be great to have the most suitable (in most cases, the most
recent) version shown as the first selection in all those pulldown version lists in
the "New" columns.  The logical order would be "the preferred (latest) version",
"the version previous to that" ... "test version(s)", and then all the actions like
"Uninstall"(grayed out), "Skip" (checked) etc coming last, so that one doesn't have to
hover different distances when selecting the packages.

There's always a challenge to reinstall Cygwin from an earlier setup (esp. a different
host).  The recipe to make a package list from a cygcheck dump and then to stuff it
into the -P argument of Setup does not seem always doable, because there's an obvious
restriction for how long the command line can be.  My list of packages (which is still
a tiny fraction of "everything") does not simply fit in there!

So the suggestion is to allow the @ syntax for at least the -P, -x options:
if there's only one argument given that starts with @, treat the rest as a file name,
which contains the list...  If there's a problem accessing that file, add the entire
argument 'as is' as a "package", and the package name verifier should catch that as
an error later.

For existing installations, in the "Unneeded" view it'd be best to have the packages'
"New" dispositions as "Uninstall" rather than "Keep", which they presently have showing
by default.  So that one does not have to go through (sometimes quite many) packages in
that view to mark them all.  If someone wants to retain some, it's easier to change
those few back to "Keep".

IDK how difficult it is all to implement -- I have no intimate knowledge of the
Setup code, but at least the package list files do not sound too complex...

These suggestions come from my personal experience with this utility, so your mileage
may vary.

The "patches welcome" suggestion in return is well understood.  I just thought there
might be folks with better understanding of the code, before me trying to jump in.

Thanks!

Anton Lavrentiev
Contractor NIH/NLM/NCBI


             reply	other threads:[~2024-02-28 20:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 20:19 Lavrentiev, Anton (NIH/NLM/NCBI) [C] [this message]
2024-02-29  7:21 ` Christian Franke
2024-02-29 15:07   ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
  -- strict thread matches above, loose matches on Subject: below --
2001-11-11  8:26 setup.exe suggestions Le Chat Noir
2001-11-11  8:26 ` Robert Collins
2001-11-11  8:26   ` Ralf Habacker
2001-11-11  8:26     ` Robert Collins
2001-11-11  8:26       ` Ralf Habacker
2000-05-26 10:24 Earnie Boyd
2000-05-26  4:03 Svein Erling Seldal
2000-05-26  9:35 ` Terry Lincoln
2000-05-26 11:20   ` DJ Delorie
2000-05-26 14:29   ` Chris Faylor

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=DM8PR09MB7095FAD132325E6D1801B148A5582@DM8PR09MB7095.namprd09.prod.outlook.com \
    --to=lavr@ncbi.nlm.nih.gov \
    --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).