<div class="gmail_quote">On Mon, Jul 27, 2009 at 1:01 PM, Michael Schroeder <span dir="ltr"><<a href="mailto:mls@suse.de">mls@suse.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi folks,<br>
<br>
I'm the author of the "libsatsolver" library, a library solves<br>
package dependencies with a SAT algorithm.<br>
This library is currently used in SUSE by YaST/zypp. I'm currently<br>
trying to make it less SUSE specific like adding support for package<br>
coloring and different repo handling, but I'm pretty sure I didn't<br>
catch all things where Fedora is different from SUSE.<br>
<br>
To test things I've written a small application called "solv" that<br>
works like a very tiny package manager. It's available via:<br>
<br>
<a href="http://software.opensuse.org/search?baseproject=Fedora:11&q=libsatsolver-demo" target="_blank">http://software.opensuse.org/search?baseproject=Fedora:11&q=libsatsolver-demo</a><br>
<br>
(To get the src rpm search for "libsatsolver")<br>
<br>
The package contains just a single file, "/usr/bin/solv". It can<br>
be run as normal user, but then the transaction can't be commited.<br>
Also, the repository metadata caching mechanism needs write access<br>
to /var/cache/solv. If it can't write there, it still works but<br>
downloads the metadata again every time it is called.<br>
<br>
So, if you have some spare time, could you give it a try and tell<br>
me where it works well/ does stupid things/ doesn't work at all?<br>
<br>
Thanks,<br>
  Michael.<br>
</blockquote><div><br></div></div>BTW, if you want a wider audience for your project, outside the narrow
circle of people involved in  rpm development :=) for example, so that it can  be
considered for inclusion in different distributions from OpenSUSE, you should, as
usual,  publish it as a separate and autonomous project. This is what  do
yum and smart for example, both in Fedora repository. <br><br>Regards<br><br>(aside)<br><br>in a (perhaps old but not i cannot check now the latest release) RHEL5 release glibc don't have qsort_r (<a href="http://sourceware.org/bugzilla/show_bug.cgi?id=173">http://sourceware.org/bugzilla/show_bug.cgi?id=173</a>) so the code don't compile. <a href="http://sourceware.org/ml/glibc-cvs/2007-q4/msg00436.html">http://sourceware.org/ml/glibc-cvs/2007-q4/msg00436.html</a><br>
<br><br><br><br>