You are not logged in.

#1 2011-11-03 16:13:34

awayand
Member
Registered: 2009-09-25
Posts: 398

find popular aur packages

I want to use the output of

yaourt "."

to sort all entries by the number of votes that are displayed in parentheses after each relevant package.

I am sure this can be done easily using awk, but I have no clue how to start. Anyone can give me a hint?

Offline

#2 2011-11-03 16:18:24

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: find popular aur packages

not a suitable task for the RPC interface.

http://aur.archlinux.org/packages.php?O … &SB=v&SO=d

Offline

#3 2011-11-03 16:30:52

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: find popular aur packages

what does that mean RPC?

Offline

#4 2011-11-03 16:32:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: find popular aur packages

awayand wrote:

what does that mean RPC?

I think it's http://en.wikipedia.org/wiki/Remote_procedure_call , http://en.wikipedia.org/wiki/JSON-RPC to be exact.

Offline

#5 2011-11-03 16:34:49

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: find popular aur packages

More accurately: http://aur.archlinux.org/rpc.php

Karol: Yes, I'm aware that the AUR uses https now. It's still optional if you're not logged in.

Offline

#6 2011-11-03 16:50:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: find popular aur packages

falconindy wrote:

Karol: Yes, I'm aware that the AUR uses https now. It's still optional if you're not logged in.

Sure, but you can't vote or notify a package that way ;P


@awayand
Have you tried e.g. http://aur3.org/ ?

Offline

#7 2011-11-04 03:07:26

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: find popular aur packages

@karol: interesting site, thanks!

Offline

#8 2011-11-04 03:13:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: find popular aur packages

awayand wrote:

@karol: interesting site, thanks!

It needs some tweaking, see https://bbs.archlinux.org/viewtopic.php … 5#p1011875 and https://bbs.archlinux.org/viewtopic.php … 2#p1011992
I did the equivalent of https://aur.archlinux.org/packages.php? … &SB=v&SO=d using a simple and incredibly inefficient bash script but it was a bumpy road.

Offline

Board footer

Powered by FluxBB