public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [PATCH setup 0/3] Improve the handling of packagesource::sites
@ 2018-03-17 15:00 Ken Brown
  2018-03-17 15:00 ` [PATCH setup 1/3] Make sure that the IniDBBuilderPackage destructor is called when needed Ken Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ken Brown @ 2018-03-17 15:00 UTC (permalink / raw)
  To: cygwin-apps

If several setup.ini files contain the same version of a package, we
currently create several packageversions in the libsolv pool, each of
which knows about one site.  This patchset consolidates those
packageversions into a single one, whose packagesource::sites vector
contains all the sites.

In the course of working on this, I found a problem with the way the
IniDBBuilderPackage destructor is called.  The first patch fixes that
problem.

Ken Brown (3):
  Make sure that the IniDBBuilderPackage destructor is called when
    needed
  Internalize the libsolv repo attribute data after each setup.ini
  Keep track of all known sites for a given version of a package

 IniDBBuilderPackage.cc | 13 ++++++++++++-
 ini.cc                 |  8 ++++----
 package_db.cc          |  2 --
 package_meta.cc        |  8 ++++++++
 4 files changed, 24 insertions(+), 7 deletions(-)

-- 
2.16.2

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

end of thread, other threads:[~2018-07-10 16:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-17 15:00 [PATCH setup 0/3] Improve the handling of packagesource::sites Ken Brown
2018-03-17 15:00 ` [PATCH setup 1/3] Make sure that the IniDBBuilderPackage destructor is called when needed Ken Brown
2018-06-10 20:58   ` Jon Turney
2018-03-17 15:00 ` [PATCH setup 3/3] Keep track of all known sites for a given version of a package Ken Brown
2018-07-09 18:17   ` Jon Turney
2018-07-09 18:19     ` [PATCH setup 1/2] Add Vendor() accessor method to SolvableVersion Jon Turney
2018-07-09 18:19       ` [PATCH setup 2/2] Keep track of all known sites for a given version of a package Jon Turney
2018-07-10 16:12     ` [PATCH setup 3/3] " Ken Brown
2018-03-17 15:00 ` [PATCH setup 2/3] Internalize the libsolv repo attribute data after each setup.ini 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).