You are not logged in.

#1 2021-05-21 12:12:06

djipey
Member
Registered: 2011-07-30
Posts: 156

yay: display number of AUR votes, like yaourt? [solved]

Hi,

I've transitioned from yaourt to yay a few months back. I'd like to know if yay can display the number of AUR votes for packages coming from AUR. Yaourt used to be able to do that. The number of votes (next to the package name) is very useful to know which package to install when a search matches multiple results.
I searched yay's man pages but couldn't find any option for that.

Cheers

Last edited by djipey (2021-05-21 18:11:06)

Offline

#2 2021-05-21 12:52:22

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: yay: display number of AUR votes, like yaourt? [solved]

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2021-05-21 13:32:12

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 412
Website

Re: yay: display number of AUR votes, like yaourt? [solved]

yay man page wrote:

PERMANENT CONFIGURATION SETTINGS
...
--sortby <votes|popularity|id|baseid|name|base|submitted|modified>

Sort AUR results by a specific field during search.

Not sure if/how the number of votes are actually displayed in yay's results as I don't use it, but you can apparently sort the list by votes.


"the wind-blown way, wanna win? don't play"

Offline

#4 2021-05-21 16:47:06

djipey
Member
Registered: 2011-07-30
Posts: 156

Re: yay: display number of AUR votes, like yaourt? [solved]

Thanks @CarbonChauvinist, I did notice this option. But it doesn't display the number of votes:

❯ yay --sortby votes zotero
13 aur/papis-zotero 0.1.0-2 (+0 0.00) 
    Zotero remote server for papis
12 aur/jurism 5.0.93m18-1 (+0 0.00) 
    Juris-M Standalone. Is a variant of Zotero, with legal and multilingual support.
11 aur/zotero-dev-bin 5.0.97_beta-1 (+0 0.00) 
    Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
10 aur/zotero-xpdf 4.02-1 (+0 0.00) (Out-of-date: 2021-05-09) 
    A modified version of Xpdf used by Zotero
9 aur/python2-zotero 0.9.9-2 (+1 0.00) (Orphaned) 
    A Python wrapper fro the Zotero API
8 aur/python-pyzotero 1.4.20-1 (+1 0.01) 
    Python client for the Zotero API
7 aur/zotero-esr-git r10433.2186e939a-2 (+1 0.00) 
    Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources. This version relies on an existing installation of Firefox ESR52. Also compiles custom poppler utils from source.
6 aur/zotero-git r10550.a9c10309f-1 (+1 0.00) 
    Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
5 aur/zotero-beta 5.0.97beta.26%c5757afec-1 (+2 1.55) (Installed)
    Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share research.
4 aur/pyzotero-git 1363479022-1 (+2 0.00) 
    A Python wrapper fro the Zotero API
3 aur/zotero-arm-bin 5.0.89-3 (+3 0.01) (Out-of-date: 2020-12-22) 
    Zotero Standalone is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources (ARM Binaries)
2 aur/qnotero 2.3.0-2 (+29 0.00) 
    A Qt application which provides access to your Zotero references
1 aur/zotero 5.0.96.2-2 (+312 6.41) 
    Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 

Offline

#5 2021-05-21 16:56:32

a821
Member
Registered: 2012-10-31
Posts: 381

Re: yay: display number of AUR votes, like yaourt? [solved]

2 aur/qnotero 2.3.0-2 (+29 0.00)
                       ^^^ number of votes??

Offline

#6 2021-05-21 18:04:09

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 412
Website

Re: yay: display number of AUR votes, like yaourt? [solved]

Yes @a821 is correct, that's the number of votes, and the decimal number to the right is the popularity.


"the wind-blown way, wanna win? don't play"

Offline

#7 2021-05-21 18:10:50

djipey
Member
Registered: 2011-07-30
Posts: 156

Re: yay: display number of AUR votes, like yaourt? [solved]

Ah, ok...

Sorry I missed that, somehow I took that for a version number. I wasn't careful.

Thanks!

Offline

Board footer

Powered by FluxBB