Change default sort mode to BottomUp (AUR-first) and update manpage#1455
Change default sort mode to BottomUp (AUR-first) and update manpage#1455hereparvezali wants to merge 1 commit into
Conversation
|
the non bottomup behaviour matches pacman's behaviour (e.g. |
|
@pfeifferj I think it is inconvenient. lot of people use paru but not all people edit configs always. for better UX it should be in. |
|
paru wraps pacman, so matching pacman's default behavior is the more consistent choice. I would argue that if this is indeed as inconvenient for users as you say it is, then surely they will look into the config options- that's exactly what config files are for. changing the default means users who expect pacman-like behavior would now need to configure around it instead, which seems like trading one group's convenience for another's without a clear benefit. |
That is true, but I would bet that the vast majority of users prefer the yay-like behaviour. If I search for something that yields a lot of results (which is most of the time), obviously I want the most relevant result to be the most visible one. If the most relevant result is at the top of the list, I have to scroll all the way at the top to see it, which is not feasible in a lot of cases. I struggle to see why anyone would prefer that and everyone I have talked to about paru vs. yay has agreed with this. I would like to recommend paru to people because it is great in every other way, but it makes more sense to recommend yay since it does not need to be configured to have good UX. I don't think it's bad for a wrapper to improve the behaviour of the program it wraps around. |
|
@pfeifferj That sounds ideal to me! Very nice |
What: Change default sort mode to BottomUp so interactive searches show AUR packages first. Update man/paru.8 to reflect new default.
Why: Matches common user expectations (yay-like AUR-first). Users can still override via CLI flags or config.
Testing: Built with cargo build --release and verified interactive behavior.