[aur-dev] Method to get all packages

Lukas Appelhans l.appelhans at gmx.de
Thu Jan 29 09:17:54 EST 2009


On Mittwoch 28 Januar 2009 03:55:30 Loui Chang wrote:
> On Sun, Jan 25, 2009 at 07:39:26PM +0100, Lukas Appelhans wrote:
> > The reason why I need to get all packages is to build a list of available
> > packages (which gets cached then...), the user can search in it then...
> > (or just dig a bit in it...). This all is for the AUR-Intergration into
> > Shaman2 (you might probably already know the 1.x version which is in
> > community...)...
>
> Alright. That's not so bad, but we'd have to make sure this is
> aggressively cached on the server side as well to prevent abuse.
> Updating only every 12 to 24 hours.
Ok :) I attached a patch, which makes update it every 24 Hours (first call 
after new day... ;))...

Untested though (as usual) ;)

Comments?

Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aur.diff
Type: text/x-patch
Size: 2141 bytes
Desc: not available
URL: <http://www.archlinux.org/pipermail/aur-dev/attachments/20090129/9a18a5ad/attachment.bin>


More information about the aur-dev mailing list