Did i just made the fastest dependency checker in the world? (198 packages in 1.5 seconds)
seth vidal
skvidal at linux.duke.edu
Mon Apr 9 21:24:09 UTC 2007
On Mon, 2007-04-09 at 23:19 +0200, Mark wrote:
> i don`t really understand what you mean..
> i actually check only all the requires of a package to the provides of
> the packages that are in the database.
> but the files-as-dep.. i don`t understand that.
>
Does your provides database include every file provided by every
package?
so that if you encounter:
Requires: /some/path/to/a/file
it can resolve it?
also how are you doing your versioned-dep calculation? Are you calling
out to rpm for the rpm version comparisons?
so if a pkg requires:
foo > 1:1.2
how are you checking to see if the package foo-1.3-1 provides that
dependency or not?
-sv
More information about the fedora-devel-list
mailing list