Did i just made the fastest dependency checker in the world? (198 packages in 1.5 seconds)

Mark markg85 at gmail.com
Tue Apr 10 06:37:26 UTC 2007


it`s only logic to assume that 1.10 is higher than 1.9...  but for the
1.2b3things.. those will require another check.

2007/4/10, Matthew Miller <mattdm at mattdm.org>:
>
> On Tue, Apr 10, 2007 at 12:13:31AM +0200, Mark wrote:
> > > What Seth is getting at is that this is harder than you think. Once
> you
> > >start doing it in the complete way (which is required for correct
> > >answers), you'll loose speed.
> > is there anything more to check besides the requires and provides with
> the
> > versions?
>
> All sorts of stuff. Check the yum source code. For starters the other
> things
> mentioned already:, epochs, and the fact that all packages are considered
> to
> be providing all files they contain, even with dependencies. But consider
> this too: RPM's notion of version comparison is a bit unintuitive when it
> comes to mixing letters and numbers -- is 1.2b3 greater or less than 1.20?
> What about 1.2.0? And for that matter, is 1.9 higher than 1.10?
>
>
> --
> Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
> Boston University Linux      ------>              <http://linux.bu.edu/>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070410/de626789/attachment.htm>


More information about the fedora-devel-list mailing list