Re: list of package names, versions[, descriptions]

2019-10-01 Thread LI YU YU
On Wed, Oct 2, 2019 at 12:22 PM Eli Schwartz wrote: > (Also, it is "multiinfo", not "info" requests, that you use for multiple > packages.) I thought they're no longer different since some version, and have just checked it: https://git.archlinux.org/aurweb.git/tree/web/lib/aurjson.class.php#n109

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Eli Schwartz
On 10/1/19 5:33 PM, Greg Minshall wrote: > Mark, > > thanks again. > >> You need information on *every* package? Not just the ones you use? >> Technically >> in your script, you can query pacman for the foreign packages, then compare >> to >> an RPC response (and info can take multiple packages

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Eli Schwartz
On 9/30/19 9:44 PM, Greg Minshall wrote: > hi. i'd like to keep a copy of the list of AUR packages, version > numbers, and descriptions on my machine. the list can be somewhat out > of date (say, as of the last time i did "pacman -Syu", which, for me, is > every week or two). > > my question is

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Greg Minshall
Mark, thanks again. > You need information on *every* package? Not just the ones you use? > Technically > in your script, you can query pacman for the foreign packages, then compare to > an RPC response (and info can take multiple packages, just check the wiki), > then take action on those speci

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Mark Weiman
On Tue, 2019-10-01 at 15:47 -0400, Greg Minshall wrote: > Mark, > > thanks. if i understand correctly, if i do an RPC "search", i will get > back pretty much the entire "database" entry for a given package. and, > if i do an "info", i will likely get that plus more information for the > given pa

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Greg Minshall
Mark, thanks. if i understand correctly, if i do an RPC "search", i will get back pretty much the entire "database" entry for a given package. and, if i do an "info", i will likely get that plus more information for the given package. i think this means that, given a list of packages (from pack

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Mark Weiman
On Tue, 2019-10-01 at 14:49 -0300, Joaquin Manuel Crespo wrote: > With AUR RPC web you need specify the package with exact matches. > So you are in the same scenario than Greg. > > Should be very usefull have an official query in wich the server can return > that packages inside AUR, core, communi

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Joaquin Manuel Crespo
With AUR RPC web you need specify the package with exact matches. So you are in the same scenario than Greg. Should be very usefull have an official query in wich the server can return that packages inside AUR, core, community and extra (taking in consideration the possibles DDOS effects if don't

Re: list of package names, versions[, descriptions]

2019-10-01 Thread Mark Weiman
What about something like [1]? Mark [1] https://wiki.archlinux.org/index.php/Aurweb_RPC_interface On Mon, 2019-09-30 at 21:44 -0400, Greg Minshall wrote: > hi. i'd like to keep a copy of the list of AUR packages, version > numbers, and descriptions on my machine. the list can be somewhat out >