[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packages.debian.org updated



On Tue, Sep 04, 2007 at 07:34:34AM +0200, Lionel Elie Mamane wrote:
> (Please CC me on replies; thanks.)
> 
> On Sun, Sep 02, 2007 at 10:58:12PM +0200, Frank Lichtenheld wrote:
> 
> > packages.debian.org was finally updated to the new code base that
> > was already available some time from packages.debian.net.
> 
> What are "similar packages"? I'm trying wrap my head around the fact
> it finds x-window-system-core similar to exim4, but not vice-versa.

Similar packages are found by using the Description and the Debtags
information of the package, doing a full text search with that and
return the best hits. I have no real idea why x-window-system-core
is considered a good hit for exim4 (But I guess it might have something
to do with the fact that the exim4 Description doesn't talk much about
what the package does and that it doesn't have any Debtags information).

The Debtags information is very influential in this search
(for reasons I'm too lazy to explain right now), so in this case where
one package has it and the other one not, the lists can look very different.

(The exact code can be seen at
http://source.djpig.de/git/?p=packages.git;a=blob;f=lib/Packages/Search.pm;hb=HEAD
starting with line 244)

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: