public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [PATCH setup 0/2] Improve the handling of command line package selection
@ 2018-04-04 15:51 Ken Brown
  2018-04-04 15:51 ` [PATCH setup 1/2] Improve the preparation of the package database Ken Brown
  2018-04-04 15:51 ` [PATCH setup 2/2] Fix detection of automatically added packages Ken Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Ken Brown @ 2018-04-04 15:51 UTC (permalink / raw)
  To: cygwin-apps

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.

Ken Brown (2):
  Improve the preparation of the package database
  Fix detection of automatically added packages

 choose.cc     | 26 ++++++--------------------
 confirm.cc    |  2 +-
 libsolv.cc    | 11 +++--------
 package_db.cc | 12 ++++++++++++
 package_db.h  |  2 ++
 5 files changed, 24 insertions(+), 29 deletions(-)

-- 
2.16.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-04 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-04 15:51 [PATCH setup 0/2] Improve the handling of command line package selection Ken Brown
2018-04-04 15:51 ` [PATCH setup 1/2] Improve the preparation of the package database Ken Brown
2018-04-04 15:51 ` [PATCH setup 2/2] Fix detection of automatically added packages Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).