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]

Re: [PATCH setup v2 0/2] Improve the handling of command line package selection

On 07/06/2018 18:37, Ken Brown wrote:
Suppose an installed package A gets updated because of the "--packages
A" command line option.  If A requires a version of package B higher
than the installed version, then B will also need to be updated.
Moreover, if the "--upgrade-also" option hasn't been specified, then
the global update mode will be "Keep", so libsolv will have to add the
upgrade of B.

These two patches attempt to make sure that this process is handled
smoothly.  First, the package database needs to be set up so that it
doesn't indicate that the user chose to keep B; this would cause
libsolv to report a problem.  Second, the "confirm" dialog should
indicate that the upgrade of B was automatically added.

v2: Rebase against current HEAD.

Ken Brown (2):
   Improve the preparation of the package database
   Fix detection of automatically added packages     | 26 ++++++--------------------    |  2 +-    | 11 +++-------- | 12 ++++++++++++
  package_db.h  |  2 ++
  5 files changed, 24 insertions(+), 29 deletions(-)

Applied, thanks.

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