Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
5.68k stars 221 forks source link

Search don't work as well as Yay... #1078

Open ben2talk opened 7 months ago

ben2talk commented 7 months ago

Affected Version

paru -V 2.0

Description

Search finds string in description - does not bring relevant results as does yay.

Comparison: https://i.imgur.com/UKUL8Ac.png

Config:


#
# $PARU_CONF
# /etc/paru.conf
# ~/.config/paru/paru.conf
#
# See the paru.conf(5) manpage for options

#
# GENERAL OPTIONS
#
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
BottomUp
RemoveMake
SudoLoop
#UseAsk
#SaveChanges
CombinedUpgrade
CleanAfter
UpgradeMenu
NewsOnUpgrade

#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache

#
# Binary OPTIONS
#
[bin]
#FileManager = vifm
#MFlags = --skippgpcheck
#Sudo = doas

```sh
Morganamilo commented 7 months ago

So it looks like the difference is that yay will interweave AUR and repo results together. I'm not sure if I want paru to do this as I think a clear divide of the repos and AUR is how things should be due to the AUR's unsupported nature.

If you know you're looking for an aur package you can always use -a and get just the AUR results.

DWTW321 commented 3 months ago

I've made sure that my yay configuration is similar to my paru one. I've particulary made sure that paru is using BottomUp and that the SearchBy and SortBy options are the same despite all this yay gives better results, here are a couple of examples. Maybe it would be possible to add the interweaving as a non-default option? I find it's a lot easier to find packages using yay and the AUR packages are clearly labeled so it's easy to differentiate them:

Example one

Output of yay -Ss vim

Mar27223547

Output of paru -Ss vim

Mar27223552

Example two

Output of yay -Ss oni

Mar27230844

Output of paru -Ss oni

Mar27231003