Closed jparnzen closed 1 year ago
on yay v12.1.0 - libalpm v13.0.2
--sortby name works, but votes and popularity still doesn't seem to work
e.g.
yay -Ssa --sortby votes macbook
both votes and popularity return this same list:
aur/apple-ib-drv-dkms-git r305.fc9aefa-1 (+0 0.00) (Orphaned)
Apple iBridge devices support (Touchbar/ALS) for MacBook Pro 2018 and onward
aur/apple_set_os 1.r6.g7b6fa20-2 (+1 0.00)
Tiny EFI program for unlocking the Intel integrated graphics device on the Macbook Pro 11,3
aur/lightum-git 2.3.1-1 (+4 0.00) (Out-of-date: 2017-07-18)
Lightum is a daemon to control the keyboard brightness and screen backlight on MacBook based laptops.
aur/gpu-switch static.test.r9.gffe82d6-1 (+5 0.00)
gpu-switch is an application to switch between the integrated and dedicated GPU of dual-GPU MacBook Pro models for the next reboot.
aur/pommed-light 1.52lw-1 (+15 0.00)
Handles the hotkeys of Apple MacBook (Pro) laptops - lightweight edition
aur/brightd 0.4.1-1 (+16 0.00)
Automatically dims screen when there is no user input (like a macbook :-).
aur/kbdlight 1.3-1 (+19 0.00)
A very simple application that changes MacBooks' keyboard backlight level.
aur/hid-apple-patched-git-dkms 20200401.5ebf708-1 (+20 0.28) (Orphaned) (Out-of-date: 2022-07-18)
Swaping the Fn and left Control keys and some other mapping tweaks on Macbook Pro and Apple keyboards (DKMS)
aur/macbook12-bluetooth-driver 5.4.15-1 (+0 0.00)
Driver for bluetooth on newer MacBook (Pro) models
aur/malc 0.1.0-1 (+1 0.06)
Change a MacBooks' keyboard backlight level based on current ambient light.
aur/macbook12-spi-driver-dkms 0+git.314-2 (+3 0.00)
Driver for the keyboard, touchpad and touchbar found in newer MacBook (Pro) models
aur/macbook-lighter-radeon v0.0.2.9.g0050e61-1 (+0 0.00)
Macbook screen/keyboard backlight CLI and auto-adjust on ambient light for Radeon GPUs
aur/linux-macbook 5.9.9.arch1-1 (+45 0.00) (Out-of-date: 2021-10-16)
The Linux-macbook kernel and modules
aur/linux-macbook-docs 5.9.9.arch1-1 (+45 0.00) (Out-of-date: 2021-10-16)
Kernel hackers manual - HTML documentation that comes with the Linux-macbook kernel
aur/linux-macbook-headers 5.9.9.arch1-1 (+45 0.00) (Out-of-date: 2021-10-16)
Header files and scripts for building modules for Linux-macbook kernel
aur/mbpfan-git 2.3.0.r4.gd4473d4-1 (+28 0.00)
A simple daemon to control fan speed on all MacBook/MacBook Pros
aur/macfanctld 0.6-2 (+9 0.00)
Fan control daemon for MacBook
aur/macbook-lighter v0.0.2.7.g8e67125-1 (+1 0.00)
Macbook screen/keyboard backlight CLI and auto-adjust on ambient light
Affected Version
yay v12.0.4 - libalpm v13.0.2
Describe the bug
The
--sortby
config option doesn't seem to be working (unsure as to when it stopped, but I know it worked in yay v11.x). Specifically, usingyay -Y --sortby name --save
and then e.g.yay -Ssa lisp
doesn't sort the packages per repo by name as expected -- the sorting used is unknown; perhaps using the "default" sorting (popularity?).Trying other options for
--sortby
likevotes
behaves likewise -- packages aren't sorted by votes in AUR.The config option is being set properly in the current config, as verified by
yay -Pg
.Reproduction Steps
yay -Y --sortby name --save
yay -Pg
yay -Ssa lisp
Expected behavior
--sortby
should sort the packages by the specified criterion:name
should sort by package name,votes
by number of package votes, etc.Output