From a9a19527c7c22bedd65fa46fd6e00df503e07da1 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Tue, 22 Aug 2017 00:03:43 +0200 Subject: [PATCH] metadata: also read .fdroid.txt metadata This is documented as working here: https://f-droid.org/docs/Building_Applications/ (second to last paragraph) fixes #364 --- fdroidserver/metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fdroidserver/metadata.py b/fdroidserver/metadata.py index 739e964a..25e05377 100644 --- a/fdroidserver/metadata.py +++ b/fdroidserver/metadata.py @@ -728,6 +728,7 @@ def read_metadata(xref=True, check_vcs=[]): for metadatapath in sorted(glob.glob(os.path.join('metadata', '*.txt')) + glob.glob(os.path.join('metadata', '*.json')) + glob.glob(os.path.join('metadata', '*.yml')) + + glob.glob('.fdroid.txt') + glob.glob('.fdroid.json') + glob.glob('.fdroid.yml')): packageName, _ = fdroidserver.common.get_extension(os.path.basename(metadatapath))