mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(mkpkglists): improve package meta archive
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>
This commit is contained in:
parent
1e3cb811fc
commit
574a2140d6
5 changed files with 256 additions and 25 deletions
2
INSTALL
2
INSTALL
|
@ -48,7 +48,7 @@ read the instructions below.
|
|||
4) Install Python modules and dependencies:
|
||||
|
||||
# pacman -S python-mysql-connector python-pygit2 python-srcinfo python-sqlalchemy \
|
||||
python-bleach python-markdown python-alembic
|
||||
python-bleach python-markdown python-alembic python-orjson
|
||||
# python3 setup.py install
|
||||
|
||||
5) Create a new MySQL database and a user and import the aurweb SQL schema:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue