Skip to content
Snippets Groups Projects
Verified Commit 37e7c201 authored by Kevin Morris's avatar Kevin Morris
Browse files

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, 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:

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

This allows users to stream the archive and process packages
line-by-line, during the local storage process.

Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
parent c53041f9
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !233. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment