setup ChangeLog choose.cc choose.h package_met ...
corinna@sourceware.org
corinna@sourceware.org
Thu Jul 25 12:03:00 GMT 2013
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: corinna@sourceware.org 2013-07-25 12:03:49
Modified files:
. : ChangeLog choose.cc choose.h package_meta.cc
package_meta.h
Log message:
* choose.h (hasManualSelections): Declare new variable.
* choose.cc (ChooserPage::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 reinstalled
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 (packagemeta::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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.820&r2=2.821
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/choose.cc.diff?cvsroot=cygwin-apps&r1=2.164&r2=2.165
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/choose.h.diff?cvsroot=cygwin-apps&r1=2.41&r2=2.42
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/package_meta.cc.diff?cvsroot=cygwin-apps&r1=2.62&r2=2.63
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/package_meta.h.diff?cvsroot=cygwin-apps&r1=2.41&r2=2.42
More information about the Cygwin-apps-cvs
mailing list