mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
update: document "added" dates
This commit is contained in:
parent
b03fe31ae4
commit
fb499db9eb
1 changed files with 8 additions and 6 deletions
|
|
@ -2466,16 +2466,18 @@ def create_metadata_from_template(apk):
|
|||
|
||||
|
||||
def read_added_date_from_all_apks(apps, apks):
|
||||
"""No summary.
|
||||
"""Read the "added" date from all packages.
|
||||
|
||||
Added dates come from the repo/index-v2.json file but are
|
||||
read when scanning apks and thus need to be applied form apk
|
||||
level to app level for _all_ apps and not only from non-archived
|
||||
ones
|
||||
Added dates come from index-v2.json file but are read when scanning
|
||||
APKs and thus need to be applied from package-level to app-level for
|
||||
_all_ apps and not only from non-archived ones.
|
||||
|
||||
TODO: read the added dates directly from index-v2.json instead of
|
||||
going through apks that way it also works for for repos that
|
||||
don't keep an archive of apks.
|
||||
don't keep an archive of APKs.
|
||||
|
||||
https://gitlab.com/fdroid/wiki/-/wikis/PackageDateHandling
|
||||
|
||||
"""
|
||||
for appid, app in apps.items():
|
||||
for apk in apks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue