delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/19/14:31:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=BAYES_50,SARE_MSGID_LONG45
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 19 Apr 2010 14:31:18 -0400
Message-ID: <s2sa13b5a591004191131gfa54e147z687f907c530d3308@mail.gmail.com>
Subject: Proposal for changes to behavior in package list
From: Robert Pendell <shinji AT elite-systems DOT org>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I have a proposal to the package list.

First the issue at hand.  Packages that have additional dependencies
add those dependencies without notifying the user indicating such.
This also makes it difficult to remove packages which have cycling
dependencies such as the X11 package set.  In the event of a removal
the package selection has you click through package options in the
order of Keep, Reinstall, Source, then Uninstall.

The first suggestion would potentially affect all package entries but
is equally useful for the issue however the latter option would only
affect currently installed packages.  They both could be potentially
implemented as they could be equally useful.

First suggestion: Implement a prompt when a selected package has
caused other packages to be marked as well.  This dialog would include
the newly marked packages with a Yes/No prompt if the user wants them
marked.  A warning could note that the packages may be required for
the currently selected package to function.  The user could pick no
and continue clicking away in the event they are going to uninstall it
anyways which is a couple more clicks away.

Second suggestion: Change the order of package options to Keep,
Uninstall, Reinstall, Source.  This loop should prevent packages from
being re-selected during intended uninstall actions such as may happen
with the X11 packages.

I would of gladly made the changes myself but I don't have any real
programming experience.  I only dabble in shell scripting.

Robert Pendell
shinji AT elite-systems DOT org
CAcert Assurer
"A perfect world is one of chaos."

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

- Raw text -


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