From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19905 invoked by alias); 25 Jul 2013 12:04:23 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 19884 invoked by uid 89); 25 Jul 2013 12:04:23 -0000 X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Jul 2013 12:04:21 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 313055200A1; Thu, 25 Jul 2013 14:04:13 +0200 (CEST) Date: Thu, 25 Jul 2013 12:04:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [PATCH 2/4 setup] package re-/de-installation from CLI Message-ID: <20130725120413.GC5086@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <87a9lexyk8.fsf@Rainer.invalid> <20130724115129.GT9689@calimero.vinschen.de> <874nbjbsbw.fsf@Rainer.invalid> <87zjtb8ysv.fsf_-_@Rainer.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87zjtb8ysv.fsf_-_@Rainer.invalid> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-07/txt/msg00316.txt.bz2 On Jul 24 22:53, Achim Gratz wrote: > >From baab3c913d87a06b62dd14c442a15dc8c2aa9361 Mon Sep 17 00:00:00 2001 > From: Achim Gratz <...> > Date: Wed, 24 Jul 2013 22:00:36 +0200 > Subject: [PATCH 2/4] Allow deletion of packages and categories from CLI, > re-implement install from CLI > > * choose.h (hasManualSelections): Declare new variable. > * choose.cc (OnInit): Re-implement package handling depending on > options given on CLI using package actions instead of > package_meta low-level functions. When no CLI package or > category options have been given, upgrade installed packages. > Do not check for updates when packages are to be added or > removed from the CLI, but this behaviour can be requested with > --upgrade-also. A package that is requested to be removed and > also added at the same time gets re-installed or upgraded (when > version curr != installed). Uninstalled packages in categories > "Base" or "Misc" are always selected for installation; installed > packages in these categories are not eligible for deletion and > will be reinstalled or upgraded instead. > * package_meta.h (ismanuallyDeleted): Declare new method. > * package_meta.cc (DeletePackageOption): Add new CLI option > -x/--remove-packages, packages listed here are considered > candidates for deletion. > (DeleteCategoryOption): Add new CLI option > -c/--remove-categories, packages belonging to categories listed > here are considered candidates for deletion. > (hasManualSelections): Additional boolean to record if any > manual installations or deletions have been requested. > (packagemeta::isManuallyDeleted): Implement along the same lines > as isManuallyWanted, but for deletion candidates. Applied. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat