Mailinglist Archive: zypp-devel (70 mails)

< Previous Next >
Re: [zypp-devel] Satsolver & solvable install size
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Mon, 29 Oct 2007 16:30:03 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0710291623570.23011@xxxxxxxxxxxxx>
Hi Matt,

On Mon, 29 Oct 2007, Matt Barringer wrote:

I'm using libsatsolver in a project right now (the first non-zypp usage?)
and while it works perfectly, I have a few questions:

* Would it be possible to add an install size for solvables? This would
be really useful for generating the install size of solutions after the
dependency resolution is performed.

I'm currently working on a sort of attribute store, where you can, well,
store attributes for each solvable (as form of name,value pairs). One of
the attributes could be the installed size. It's (planned to be) stored
fairly space-efficient, and also will have a small query interface for
searching (of course not as elaborate as sqlite). See tools/attr_store*
for the work in progress.

I wouldn't want to bloat the Solvable data structure even more whenever
some new wish for an interesting attribute comes up. It should hold only
the information essential for solving the dependency problem.


Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References