Reduce the metadata archive files size
URLPath
is useful ?
it's not possible to always deduce it, based on the package name, as aur page url (which is not present in this file)?
as f"/cgit/aur.git/snapshot/{pkg['Name']}.tar.gz"
Some keys could be optional if 0 or null, it's not hard to manage this on the client side:
- Popularity
- NumVotes
- OutOfDate
EDIT:
I make a test in my client script et no error when script load all items
self.__dict__ = jsondict
self.test_url = f"/cgit/aur.git/snapshot/{self.Name}.tar.gz"
if self.test_url != self.URLPath:
raise ValueError
Edited by patrick None