This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: setup libsolv UI: Silently install dependencies?
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: Ken Brown <kbrown at cornell dot edu>
- Cc: cygwin-apps at cygwin dot com
- Date: Fri, 5 Jan 2018 15:48:57 +0000
- Subject: Re: setup libsolv UI: Silently install dependencies?
- Authentication-results: sourceware.org; auth=none
- References: <053865d5-650a-ad79-e91e-4a047e09cb9d@cornell.edu>
On 24/12/2017 23:23, Ken Brown wrote:
Currently the libsolv version of setup silently installs added
dependencies. The user gets a chance to review them first only if
libsolv finds problems and has to display the prerequisite page.
I'm not sure if this was a deliberate design decision, though I
personally like it. On the other hand, I suspect that some users won't
like it because they're used to seeing a report about missing
dependencies. So I think we should make this behavior optional.
Yeah. Ideally we'd show what we're going to do, before we do it.
This is a bit more complex than before, as the solver might decide to
remove or upgrade packages, rather than just install extra ones.
The attached patch is a start in that direction. But it needs a
followup patch to implement the mechanism for selecting the option. One
possibility is a checkbox on the chooser page, which then gets saved in
setup.rc as a user option. Are there other suggestions?
But, somewhat confused by this. Isn't this just going to show the
(empty) problem report?