-
- Downloads
fix(mkpkglists): add all RPC type=search fields to packages-meta-v1
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 and Groups fields
--all | Include License, Keywords, Groups, dependencies and
relations
When one of these arguments are passed, the script will create
a packages-meta-ext-v1.json.gz, configured via packagesmetaextfile.
Done this way so that there are multiple options for archive;
the roughly 2.4MB basic metadata (-meta-v1) and the
~4-7MB (--extended) / 9.8MB (--all) metadata (-meta-ext-v1).
Archive JSON is in the following format: line-separated package objects
enclosed in a list:
[
{...},
{...},
{...}
]
This allows users to stream the archive and process packages
line-by-line, during the local storage process.
Signed-off-by:
Kevin Morris <kevr@0cost.org>
parent
d33845e8
No related branches found
No related tags found
This commit is part of merge request !233. Comments created here will be created in the context of that merge request.
Showing
Please register or sign in to comment