Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-11 Thread elij
On Sun, Oct 11, 2009 at 9:14 AM, Loui Chang wrote: > On Thu 08 Oct 2009 16:30 -0700, elij wrote: >> Well, if people can get memcached installed on the aur box, and it can >> be made a requirement for running the aur, then I would have no >> problem coding up a new rss class that returned rss2.0 _o

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-11 Thread Loui Chang
On Thu 08 Oct 2009 16:30 -0700, elij wrote: > Well, if people can get memcached installed on the aur box, and it can > be made a requirement for running the aur, then I would have no > problem coding up a new rss class that returned rss2.0 _or_ json, > based on a passed in parameter. This could who

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-10 Thread elij
I made a first run through refactoring the feed code, and throwing memcache in. I need to setup a php test machine to test and verify though... So it might take a little while for me to make that happen. That is, unless someone has an aur instance running that is willing to test my patches (and set

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-10 Thread Dan McGee
On Thu, Oct 8, 2009 at 6:30 PM, elij wrote: > Well, if people can get memcached installed on the aur box, and it can > be made a requirement for running the aur, then I would have no > problem coding up a new rss class that returned rss2.0 _or_ json, > based on a passed in parameter. This could wh

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-09 Thread elij
On Fri, Oct 9, 2009 at 7:48 AM, Aaron Griffin wrote: > On Thu, Oct 8, 2009 at 6:44 PM, elij wrote: >> On Thu, Oct 8, 2009 at 4:35 PM, Loui Chang wrote: >>> On Thu 08 Oct 2009 18:03 -0500, Aaron Griffin wrote: On Thu, Oct 8, 2009 at 6:02 PM, elij wrote: > On Thu, Oct 8, 2009 at 3:36 PM

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-09 Thread Aaron Griffin
On Thu, Oct 8, 2009 at 6:44 PM, elij wrote: > On Thu, Oct 8, 2009 at 4:35 PM, Loui Chang wrote: >> On Thu 08 Oct 2009 18:03 -0500, Aaron Griffin wrote: >>> On Thu, Oct 8, 2009 at 6:02 PM, elij wrote: >>> > On Thu, Oct 8, 2009 at 3:36 PM, Aaron Griffin >>> > wrote: >>> >> Flickr actually has tw

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread elij
On Thu, Oct 8, 2009 at 4:35 PM, Loui Chang wrote: > On Thu 08 Oct 2009 18:03 -0500, Aaron Griffin wrote: >> On Thu, Oct 8, 2009 at 6:02 PM, elij wrote: >> > On Thu, Oct 8, 2009 at 3:36 PM, Aaron Griffin >> > wrote: >> >> Flickr actually has two APIs - a feed based one and a REST based >> >> "aj

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread Loui Chang
On Thu 08 Oct 2009 18:03 -0500, Aaron Griffin wrote: > On Thu, Oct 8, 2009 at 6:02 PM, elij wrote: > > On Thu, Oct 8, 2009 at 3:36 PM, Aaron Griffin > > wrote: > >> Flickr actually has two APIs - a feed based one and a REST based > >> "ajax" API. Both accept a format=foo parameter and json is al

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread elij
Well, if people can get memcached installed on the aur box, and it can be made a requirement for running the aur, then I would have no problem coding up a new rss class that returned rss2.0 _or_ json, based on a passed in parameter. This could wholly replace the existing rss2.php/rss.php mechanism.

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread Aaron Griffin
On Thu, Oct 8, 2009 at 6:02 PM, elij wrote: > On Thu, Oct 8, 2009 at 3:36 PM, Aaron Griffin wrote: >> Flickr actually has two APIs - a feed based one and a REST based >> "ajax" API. Both accept a format=foo parameter and json is allowed for >> both sets. >> >> * Is the AUR's rss feed generated pe

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread elij
On Thu, Oct 8, 2009 at 3:36 PM, Aaron Griffin wrote: > Flickr actually has two APIs - a feed based one and a REST based > "ajax" API. Both accept a format=foo parameter and json is allowed for > both sets. > > * Is the AUR's rss feed generated per request? Or is it a static output file? > * If it'

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread Aaron Griffin
On Thu, Oct 8, 2009 at 5:30 PM, Randy Morris wrote: > On Thu, Oct 08, 2009 at 03:16:26PM -0700, elij wrote: >> On Thu, Oct 8, 2009 at 3:15 PM, elij wrote: >> > On Thu, Oct 8, 2009 at 3:54 AM, Loui Chang wrote: >> >> On Tue 06 Oct 2009 14:03 -0500, Aaron Griffin wrote: >> >>> On Tue, Oct 6, 2009

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread Randy Morris
On Thu, Oct 08, 2009 at 03:16:26PM -0700, elij wrote: > On Thu, Oct 8, 2009 at 3:15 PM, elij wrote: > > On Thu, Oct 8, 2009 at 3:54 AM, Loui Chang wrote: > >> On Tue 06 Oct 2009 14:03 -0500, Aaron Griffin wrote: > >>> On Tue, Oct 6, 2009 at 1:52 PM, Laszlo Papp wrote: > >>> > On Tue, Oct 6, 2009

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread elij
On Thu, Oct 8, 2009 at 3:15 PM, elij wrote: > On Thu, Oct 8, 2009 at 3:54 AM, Loui Chang wrote: >> On Tue 06 Oct 2009 14:03 -0500, Aaron Griffin wrote: >>> On Tue, Oct 6, 2009 at 1:52 PM, Laszlo Papp wrote: >>> > On Tue, Oct 6, 2009 at 1:40 AM, elij wrote: >>> > >>> >> I guess I don't see the n

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread elij
On Thu, Oct 8, 2009 at 3:54 AM, Loui Chang wrote: > On Tue 06 Oct 2009 14:03 -0500, Aaron Griffin wrote: >> On Tue, Oct 6, 2009 at 1:52 PM, Laszlo Papp wrote: >> > On Tue, Oct 6, 2009 at 1:40 AM, elij wrote: >> > >> >> I guess I don't see the need for this. >> >> If you want to see 'new packages

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-08 Thread Loui Chang
On Tue 06 Oct 2009 14:03 -0500, Aaron Griffin wrote: > On Tue, Oct 6, 2009 at 1:52 PM, Laszlo Papp wrote: > > On Tue, Oct 6, 2009 at 1:40 AM, elij wrote: > > > >> I guess I don't see the need for this. > >> If you want to see 'new packages', just use the rss feed. > >> Dumping this in the rcp api

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-06 Thread Laszlo Papp
On Tue, Oct 6, 2009 at 9:03 PM, Aaron Griffin wrote: > On Tue, Oct 6, 2009 at 1:52 PM, Laszlo Papp wrote: > > On Tue, Oct 6, 2009 at 1:40 AM, elij wrote: > > > >> I guess I don't see the need for this. > >> If you want to see 'new packages', just use the rss feed. > >> Dumping this in the rcp ap

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-06 Thread Aaron Griffin
On Tue, Oct 6, 2009 at 1:52 PM, Laszlo Papp wrote: > On Tue, Oct 6, 2009 at 1:40 AM, elij wrote: > >> I guess I don't see the need for this. >> If you want to see 'new packages', just use the rss feed. >> Dumping this in the rcp api seems... wrong to me. >> >> > Hello Elliot! > > Thank you the fe

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-06 Thread Laszlo Papp
On Tue, Oct 6, 2009 at 1:40 AM, elij wrote: > I guess I don't see the need for this. > If you want to see 'new packages', just use the rss feed. > Dumping this in the rcp api seems... wrong to me. > > Hello Elliot! Thank you the feedback! My opinion in this matter is that if I'd like to create a

Re: [aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-05 Thread elij
I guess I don't see the need for this. If you want to see 'new packages', just use the rss feed. Dumping this in the rcp api seems... wrong to me. On Mon, Oct 5, 2009 at 3:02 PM, Laszlo Papp wrote: > From: Laszlo Papp > >        Add a json interface for the newly submitted packages output, >    

[aur-dev] [PATCH] Add newly submitted packages functionality with json interface

2009-10-05 Thread Laszlo Papp
From: Laszlo Papp Add a json interface for the newly submitted packages output, after a query operation, and it will be easier to handle it from a frontend for example. Signed-off-by: Laszlo Papp --- web/html/rpc.php |1 + web/lib/aurjson.class.php | 32 +