mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 19:10:11 +01:00
Merge branch 'local_metadata' into 'master'
metadata: also read .fdroid.txt metadata Closes #364 See merge request !319
This commit is contained in:
commit
794e4436b4
@ -728,6 +728,7 @@ def read_metadata(xref=True, check_vcs=[]):
|
|||||||
for metadatapath in sorted(glob.glob(os.path.join('metadata', '*.txt'))
|
for metadatapath in sorted(glob.glob(os.path.join('metadata', '*.txt'))
|
||||||
+ glob.glob(os.path.join('metadata', '*.json'))
|
+ glob.glob(os.path.join('metadata', '*.json'))
|
||||||
+ glob.glob(os.path.join('metadata', '*.yml'))
|
+ glob.glob(os.path.join('metadata', '*.yml'))
|
||||||
|
+ glob.glob('.fdroid.txt')
|
||||||
+ glob.glob('.fdroid.json')
|
+ glob.glob('.fdroid.json')
|
||||||
+ glob.glob('.fdroid.yml')):
|
+ glob.glob('.fdroid.yml')):
|
||||||
packageName, _ = fdroidserver.common.get_extension(os.path.basename(metadatapath))
|
packageName, _ = fdroidserver.common.get_extension(os.path.basename(metadatapath))
|
||||||
|
Loading…
Reference in New Issue
Block a user