Re: Question about discover sortByRelevancy

2020-04-19 Thread Nate Graham
On 4/18/20 8:22 AM, S. Champailler wrote: Hi, Just a little note to lt you know that I have been able to build discover on my debian-stable (outside Neon) and, given some files copying, I've been able to reproduce the issue I want to look at. (took me a few nights of compilation and (debian) dep

Re: Question about discover sortByRelevancy

2020-04-18 Thread S. Champailler
Hi, Just a little note to lt you know that I have been able to build discover on my debian-stable (outside Neon) and, given some files copying, I've been able to reproduce the issue I want to look at. (took me a few nights of compilation and (debian) dependencies tracking though :-) ) Could one s

Re: Question about discover sortByRelevancy

2020-04-11 Thread Aleix Pol
On Fri, Apr 10, 2020 at 8:59 AM S. Champailler wrote: > > Thx for your answer. But I'm afradi I don't fully understand it. > > > We do get sorted feeds that at > > the moment we're merging naively. > > Ok, that's the I way I understand the problem as well. > > > One thing to check first of all is

Re: Question about discover sortByRelevancy

2020-04-10 Thread S. Champailler
Thx for your answer. But I'm afradi I don't fully understand it. > We do get sorted feeds that at > the moment we're merging naively. Ok, that's the I way I understand the problem as well. > One thing to check first of all is to make sure that the exact > resource you're fetching is already bein

Re: Question about discover sortByRelevancy

2020-04-09 Thread Aleix Pol
On Thu, Apr 9, 2020 at 2:49 PM S. Champailler wrote: > > Hello m-l, Nate, > > First thanks for the answer, it gives much needed information. > > I investigated the code further. What Nate says seems > to be right. Discover uses a KNewStuff backend, which > in turn uses Attica. > > Now, the thing i

Re: Question about discover sortByRelevancy

2020-04-09 Thread S. Champailler
Hello m-l, Nate, First thanks for the answer, it gives much needed information. I investigated the code further. What Nate says seems to be right. Discover uses a KNewStuff backend, which in turn uses Attica. Now, the thing is, the sorting order is passed from KNewStuff to Attica. As Attica ends

Re: Question about discover sortByRelevancy

2020-04-08 Thread Nate Graham
See https://bugs.kde.org/show_bug.cgi?id=407588. This was supposed to have been fixed in AppStream itself, at least for apps. And I can confirm the fix with the latest version of APpStream--again, at least for apps. However I can see that the problem is still present for non-apps, such as the

Question about discover sortByRelevancy

2020-04-08 Thread S. Champailler
Hello Aleix, hello KDE dev's, mailto:aleix...@kde.org I wanted to modify Discover a bit. Here's the thing : In KDE Neon, I run Discover. I search for a package named "Titanium". The result list has Titanium and some other packages in it (which is fine). However, the first item in that list is n