1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00

import: switch to .yml as default metadata format

This commit is contained in:
Hans-Christoph Steiner 2018-01-30 23:06:24 +01:00
parent 62db94d96e
commit 64938d9104

View File

@ -304,7 +304,7 @@ def main():
with open('build/.fdroidvcs-' + package, 'w') as f: with open('build/.fdroidvcs-' + package, 'w') as f:
f.write(app.RepoType + ' ' + app.Repo) f.write(app.RepoType + ' ' + app.Repo)
metadatapath = os.path.join('metadata', package + '.txt') metadatapath = os.path.join('metadata', package + '.yml')
metadata.write_metadata(metadatapath, app) metadata.write_metadata(metadatapath, app)
logging.info("Wrote " + metadatapath) logging.info("Wrote " + metadatapath)