Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-16 Thread Lukas Fleischer
On Tue, Apr 12, 2011 at 12:15:49AM -0500, Dan McGee wrote: The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by allowing AUR clients to send multiple arguments. This enables things like this to

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-16 Thread Dan McGee
On Sat, Apr 16, 2011 at 11:07 AM, Lukas Fleischer archli...@cryptocrack.de wrote: On Tue, Apr 12, 2011 at 12:15:49AM -0500, Dan McGee wrote: The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-13 Thread Justin Davis
We seem to have a fundamentally different conception here. What you call validate I consider, simply sorting. You even called it sorting in your first paragraph. There is no validation of information happening at all. Calling this algorithm validating lends it a false sense of gravity. It is no

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-13 Thread Lukas Fleischer
On Wed, Apr 13, 2011 at 08:11:18AM -0500, Dan McGee wrote: I am merely suggesting that the server sort the results for the RPC user. This makes things easier and more intuitive for the user. In the process of querying package info as a whole, you are going to have to associate query words

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-13 Thread elij
On Mon, Apr 11, 2011 at 10:15 PM, Dan McGee d...@archlinux.org wrote: [1] Rough data from April 11, 2011, with a total hit count of 1,109,163:     12 /login.php     13 /rpc.php?type=sarch     15 /rpc.php?type=msearch     16 /pingserver.php     16 /rpc.php     22 /logout.php    163

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-12 Thread elij
On Mon, Apr 11, 2011 at 10:15 PM, Dan McGee d...@archlinux.org wrote: The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by allowing AUR clients to send multiple arguments. This enables things like

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-12 Thread Dan McGee
On Tue, Apr 12, 2011 at 1:04 AM, elij elij...@gmail.com wrote: On Mon, Apr 11, 2011 at 10:15 PM, Dan McGee d...@archlinux.org wrote: The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by allowing AUR

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-12 Thread Tuxce
On Tue, 12 Apr 2011 00:15:49 -0500 Dan McGee d...@archlinux.org wrote: The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by allowing AUR clients to send multiple arguments. Hi, similarly, for AUR

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-12 Thread Dan McGee
On Tue, Apr 12, 2011 at 6:05 AM, Tuxce tuxce@gmail.com wrote: On Tue, 12 Apr 2011 00:15:49 -0500 Dan McGee d...@archlinux.org wrote: The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-12 Thread Lukas Fleischer
On Tue, Apr 12, 2011 at 09:05:05AM -0500, Dan McGee wrote: On Tue, Apr 12, 2011 at 8:52 AM, Justin Davis jrc...@gmail.com wrote: Tuxce submitted a similiar patch awhile back: http://mailman.archlinux.org/pipermail/aur-dev/2010-November/001349.html The patch file isn't on the mailing list

Re: [aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-12 Thread Lukas Fleischer
On Tue, Apr 12, 2011 at 01:05:28PM +0200, Tuxce wrote: From d7d06859ddc9425930e586a0685f09f9798dfddc Mon Sep 17 00:00:00 2001 From: tuxce tuxce@gmail.com Date: Tue, 12 Apr 2011 12:42:30 +0200 Subject: [PATCH] rpc: unify methods return. Include maintainer in info and search method. You

[aur-dev] [PATCH 4/4] rpc: allow multiple args on info query

2011-04-11 Thread Dan McGee
The majority of real world info requests [1] come in hefty batches. We would be better served to handle these in one request rather than multiple by allowing AUR clients to send multiple arguments. This enables things like this to work: