Skip to content

fix(mkpkglists): improve package meta archive

Kevin Morris requested to merge kevr/aurweb:pu-teapot into pu

The SQL logic in this file for package metadata now exactly reflects RPC's search logic, without searching for specific packages.

Two command line arguments are available:

--extended | Include License, Keywords, Groups, relations
             and dependencies.

When --extended is passed, the script will create a packages-meta-ext-v1.json.gz, configured via packagesmetaextfile.

Archive JSON is in the following format: line-separated package objects enclosed in a list:

[
{...},
{...},
{...}
]

Signed-off-by: Kevin Morris kevr@0cost.org

Merge request reports