mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
Stopped copying built files around so much
This is much faster and less heavy on the disk space. "Use Built" is now obsolete. If there is a built version, it's included.
This commit is contained in:
parent
d8a0d61faa
commit
4ea8b520b8
5 changed files with 13 additions and 39 deletions
|
@ -251,7 +251,6 @@ def parse_metadata(metafile, **kw):
|
|||
thisinfo['repotype'] = ''
|
||||
thisinfo['repo'] = ''
|
||||
thisinfo['builds'] = []
|
||||
thisinfo['usebuilt'] = False
|
||||
thisinfo['requiresroot'] = False
|
||||
mode = 0
|
||||
buildline = []
|
||||
|
@ -286,6 +285,8 @@ def parse_metadata(metafile, **kw):
|
|||
thisinfo['donate'] = value
|
||||
elif field == 'Disabled':
|
||||
thisinfo['disabled'] = value
|
||||
elif field == 'Use Built':
|
||||
pass #Ignoring this - will be removed
|
||||
elif field == 'AntiFeatures':
|
||||
parts = value.split(",")
|
||||
for part in parts:
|
||||
|
@ -311,9 +312,6 @@ def parse_metadata(metafile, **kw):
|
|||
buildline = [value[:-1]]
|
||||
else:
|
||||
thisinfo['builds'].append(parse_buildline(value))
|
||||
elif field == "Use Built":
|
||||
if value == "Yes":
|
||||
thisinfo['usebuilt'] = True
|
||||
elif field == "Requires Root":
|
||||
if value == "Yes":
|
||||
thisinfo['requiresroot'] = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue