[zypp-devel] Re: [zypp-commit] r8586 - /trunk/sat-solver/tools/repo_rpmmd.c
Hi, On Sun, 10 Feb 2008, dmacvicar@svn.opensuse.org wrote:
Author: dmacvicar Date: Sun Feb 10 23:24:05 2008 New Revision: 8586
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8586&view=rev Log: - store location, dunno why it does not work yet
Your lastsolvableid handling missed some cases where the solvable also is changed to the next one. In fact in the rpm-md case it's easier to calculate the solvable Id when we need it, from the (certainly correct) pd->solvable. Works now. Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Michael Matz wrote:
Your lastsolvableid handling missed some cases where the solvable also is changed to the next one. In fact in the rpm-md case it's easier to calculate the solvable Id when we need it, from the (certainly correct) pd->solvable. Works now.
Ciao, Michael.
originally I used pd->solvable - pd->pool->solvables and it segfaulted ;-) Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Hi, On Mon, 11 Feb 2008, Duncan Mac-Vicar P. wrote:
Michael Matz wrote:
Your lastsolvableid handling missed some cases where the solvable also is changed to the next one. In fact in the rpm-md case it's easier to calculate the solvable Id when we need it, from the (certainly correct) pd->solvable. Works now.
originally I used pd->solvable - pd->pool->solvables and it segfaulted ;-)
You also need to use repo_set_str, not repodata_set_str, otherwise you need to also subtract data->start. Yes, yes, that's all a result of the missing documentation :-) Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Duncan Mac-Vicar P.
-
Michael Matz