public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Shaddy Baddah <lithium-cygwin@shaddybaddah.name>
To: cygwin@cygwin.com
Subject: Possible Cygwin setup regression with --prune-install
Date: Thu, 29 Aug 2019 06:02:00 -0000	[thread overview]
Message-ID: <158109b5-8d13-9e88-05b5-0eb581839e81@shaddybaddah.name> (raw)

Hi,

I have a use-case for Cygwin setup, which I admit will seem strange,
whereby I want it to do an "Install" with no packages selected at all.
ie., just setup a "skeleton" of a Cygwin install. I value it, because
based my own experience with the Cygwin setup code, it seems to
"bootstrap" the Cygwin root directory, using only the Win32api, without
a reliance of a Cygwin DLL at the early stage.

I note that the last Cygwin setup enhanced the handling of dependencies
greatly. I have nothing but praise for that change, setup is definitely
much more modern and stable now.

Previous to this change, I could achieve the "skeleton" install by
choosing the totally new Cygwin root to install to, and selecting "Keep"
so that no package were selected.

With the new setup, even if I select "Keep", with no packages selected,
the tight dependency checking will autoselect all the "base" packages,
after clicking next.

I don't even question that there would be a good rationale to this. But
I considered that since this is a very niche thing I do, I should
explore my own workaround. So I looked into the other command-line
options, and noticed this one:

  -Y --prune-install                Prune the installation to only the 
requested
                                    packages 


My reading of that is that this should defeat any packages from being
(automatically added). However, even with this option, the base packages
are still autoselected.

Admittedly, I didn't try this with Cygwin setup from before the
redesign, so it may not classify as a regression on the command-line
option.

But can someone talk to what --prune-install is exactly supposed to do?
And can any consideration be given to a "skeleton/template" install?

-- 
Regards,
Shaddy

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

             reply	other threads:[~2019-08-29  4:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-29  6:02 Shaddy Baddah [this message]
2019-08-29  6:52 ` Achim Gratz
2019-08-29  8:08   ` Shaddy Baddah
2019-08-29 15:34 ` szgyg

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=158109b5-8d13-9e88-05b5-0eb581839e81@shaddybaddah.name \
    --to=lithium-cygwin@shaddybaddah.name \
    --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).