[aur-general] Method to get all Packages

goodmenzy at gmail.com goodmenzy at gmail.com
Wed Jan 14 08:32:25 EST 2009

On 2009-01-14 15:07:38, Lukas Appelhans wrote:
> From: Lukas Appelhans <l.appelhans at gmx.de>
> Subject: [aur-general] Method to get all Packages
> To: aur-general at archlinux.org
> Reply-To: "Discussion about the Arch User Repository (AUR)" <aur-general at archlinux.org>
> Date: Wed, 14 Jan 2009 15:07:38 +0100
> Content-Disposition: inline
> Content-Type: text/plain;
> 	charset="utf-8"
> Content-Transfer-Encoding: 7bit
> Message-Id: <200901141507.38301.l.appelhans at gmx.de>
> List-Id: "Discussion about the Arch User Repository \(AUR\)"
> 	<aur-general.archlinux.org>
> Hey!
> I'm currently writing a GUI-Frontend for AUR integrated into Shaman (Qt-Alpm-
> Frontend)...
> Some people already pointed me to: http://aur.archlinux.org/rpc.php which 
> seems to be quite cool in combination with QtJson...
> So now as far as I can see the only thing missing is a method to get the names 
> of _all_ Packages... I tried to parse the Apache output of 
> aur.archlinux.org/packages/ but that might not be a good idea, since the 
> layout can change...
> So, I would like to ask if there is any method to get all package names or if 
> that is planned?
> Lukas

Try this:

   tar -tf $repo.db.tar.gz

you will find all you wanted.

In fact, I have written a perl scripts to do those works and download 
packages that dose not in my local disk( I sync with a source who can't 
provide rsync. )

More information about the aur-general mailing list