Mailinglist Archive: zypp-devel (230 mails)

< Previous Next >
[zypp-devel] Re: Preliminary zypper port
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Mon, 4 Feb 2008 14:29:43 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0802041252550.20583@xxxxxxxxxxxxx>
Hi,

On Sun, 3 Feb 2008, Duncan Mac-Vicar P. wrote:

I have merged zypper changes from trunk into the sat branch, and then
ported zypper to compile with libzypp.

Excellent!

- Right now there is no store for saving patterns and patches. This will
be tricky:

current store:
store --> rpmmd2solv (xml convertor) --> /var/lib/zypp/store.solv ->
zypp repo (pool)
rpm db ---> rpmdb2solv -----> /var/cache/zypp/_rpm.solv -> zypp repo (pool)

The first step of converting the store from xml happens only once, and
from rpm every time the rpm db changes.

Now, when target reads, we have to load both solvs in the same repo,
because sat solver takes only one "installed repo", but later we need to
dump the patterns and patches to one solv, while the packages are not
dumped (because the primary source is the rpm database ). This requires
2 AIs

- integrating repo_write_solv into the library
- allowing to save by kind or better: some generic filter) so a solv.

We can already filter per attribute. I could implement also a filter per
solvable.


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

< Previous Next >
References