mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +01:00
metadata: port .fdroid.yml handling to App dict subclass
This got overlooked in b7fc7f2228
, then
caught in the ./makebuildserver tests, where it builds Checkey.
This commit is contained in:
parent
5214889bbd
commit
4e8e297944
@ -912,10 +912,10 @@ def parse_metadata(metadatapath, check_vcs=False):
|
|||||||
if os.path.isfile(metadata_in_repo):
|
if os.path.isfile(metadata_in_repo):
|
||||||
logging.debug('Including metadata from ' + metadata_in_repo)
|
logging.debug('Including metadata from ' + metadata_in_repo)
|
||||||
# do not include fields already provided by main metadata file
|
# do not include fields already provided by main metadata file
|
||||||
app_in_repo = parse_metadata(metadata_in_repo).field_dict()
|
app_in_repo = parse_metadata(metadata_in_repo)
|
||||||
for k, v in app_in_repo.items():
|
for k, v in app_in_repo.items():
|
||||||
if k not in app.field_dict():
|
if k not in app:
|
||||||
app.set_field(k, v)
|
app[k] = v
|
||||||
|
|
||||||
post_metadata_parse(app)
|
post_metadata_parse(app)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user