This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2] Make setup -q -P work as expected


I'm somewhat reluctant to mess with this code as it is rather convoluted, so these
patches could probably use some careful review and/or testing.

But these patches attempt to make setup -q -P work more like the naive expectation [1]
of just installing the specified package, rather than installing the specified package
and upgrading all currently installed packages to the current version.

Note that setup -q -L -P [2] probably sill doesn't work as expected, I'm guessing
that without the benefit of a setup.ini, all packages found in the local package dir
are placed in one of the special categories 'Base' or 'Misc' and thus always installed.

[1] http://cygwin.com/ml/cygwin-xfree/2011-07/msg00041.html
[2] http://cygwin.com/ml/cygwin/2011-07/msg00308.html

Jon TURNEY (2):
  Push the implementation of defaultTrust() down from the PickView
    class to packagedb class
  When packages are selected on the command line in unattended mode,
    just install those packages

 PickView.cc   |   28 ++++------------------------
 choose.cc     |   30 ++++++++++++++++++++++++++++--
 package_db.cc |   43 ++++++++++++++++++++++++++++++++++++++++++-
 package_db.h  |    5 +++++
 4 files changed, 79 insertions(+), 27 deletions(-)

-- 
1.7.5.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]