mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Improved metadata handling
Two main points: Firstly, there is no longer a random mapping between app['key'] and a corresponding field in the metadata file - the key and field are now the same. Secondly, more information (including comments) is retrieved from the metadata, to facilitate being able to re-write it which is necessary for various support utilities.
This commit is contained in:
parent
c9c824f57d
commit
c469f0feed
5 changed files with 157 additions and 117 deletions
|
@ -63,7 +63,7 @@ for app in apps:
|
|||
print "...couldn't find version code"
|
||||
elif not version:
|
||||
print "...couldn't find version"
|
||||
elif vercode == app['marketvercode'] and version == app['marketversion']:
|
||||
elif vercode == app['Market Version Code'] and version == app['Market Version']:
|
||||
print "...up to date"
|
||||
else:
|
||||
print '...updating to version:' + version + ' vercode:' + vercode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue