Hi zoorat, The files are downloadable in gzip format; when you receive the file, you'll need to uncompress it. Example: $ curl --output packages-meta-ext-v1.json.gz \ 'https://aur.archlinux.org/packages-meta-ext-v1.json.gz' # zcat is cat for gz files; it uncompresses and cats the content. $ zcat packages-meta-ext-v1.json.gz > packages-meta-ext-v1.json You do bring up a nice point about the signature; perhaps we should provide sigs for all of these archives. Regards, Kevin On Thu, Nov 11, 2021 at 06:34:31AM +0000, zoorat via aur-general wrote:
On 11/11/21 06:22, aur-general-request@lists.archlinux.org wrote:
Hello AUR users,
In addition to pre-existing archives, we've introduced two new archives that can be used instead of bulk queries against the RPC.
Pre-existing archives:
- packages.gz - Listing of all packages separated by line break. - pkgbase.gz - Listing of all package bases separated by line break. - users.gz - Listening of all users separated by line break.
Metadata archives:
- packages-meta-v1.json.gz - A complete `type=search` formatted JSON package archive. - packages-meta-ext-v1.json.gz - A complete `type=multiinfo` formatted JSON package archive.
All archives support Last-Modified and ETag. Each archive is updated on a rough ~5 minute interval. For any bulk users of the RPC, we ask that you consider these archives as a solution to repeated searches or bulk multiinfo requests.
All archives are available for download athttps://aur.archlinux.org/archive-name.gz
Using these archives will drastically help the AUR with the amount of traffic required for API clients. Particularly with clients who are able to query by themselves en masse.
We thank you all for contributing to the world of AUR and helping those who can use your maintained software as a result.
Regards, Kevin
-- Kevin Morris Software Developer
That's awesome kevin, I got into a problem while downloading the 'packages-meta-ext-v1.json.gz' with wget.
I somehow corrupted it ...
so, is there any hash I can check against ?? like '.sig' file for '.iso' files but, as a hash is a text file maybe ??... sorry if I'm being dumb.
yours, zoorat.
-- Kevin Morris Software Developer Identities: - kevr @ Libera