mkpkglists improvements
All threads resolved!
All threads resolved!
Compare changes
Files
5- Kevin Morris authored
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 <kevr@0cost.org>
+ 204
− 37
@@ -20,6 +43,7 @@ def state_path(archive: str) -> str:
@@ -53,6 +77,142 @@ def update_state(state: str, update_time: int) -> None:
@@ -64,47 +224,52 @@ def main():
@@ -118,6 +283,7 @@ def main():
@@ -130,6 +296,7 @@ def main():