[aur-dev] [PATCH] Add newly submitted packages functionality with json interface
aaronmgriffin at gmail.com
Tue Oct 6 15:03:08 EDT 2009
On Tue, Oct 6, 2009 at 1:52 PM, Laszlo Papp <djszapi at archlinux.us> wrote:
> On Tue, Oct 6, 2009 at 1:40 AM, elij <elij.mx at gmail.com> 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 frontend program for AUR, especially console based e.g., or to
> create another API/backend for AUR, then the json interface/output would be
> more portable than parsing html/xml pages to get an option for a command
> line frontend to get the newly submitted/updated packages.
> Rss feed and this option are different purposes in fact.
> With this option from command line you could get anytime the newly
> updated/submitted packages, but with rss you see them continously. The first
> facility is really console based, but the second is webpage based, I think
> it's different or maybe I'm wrong.
You could do the exact same thing with an RSS feed... I don't
understand how this data being in RSS makes it so that you cannot
fetch the results whenever you want. RSS isn't made of magic.
$ cat aurpkgs.py
for i in pkgs.entries:
$ python aurpkgs.py
AUR Newest Packages
More information about the aur-dev