mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Find out srclib repo type for stats
This commit is contained in:
parent
f40ec0eaaa
commit
bb867e1b6f
1 changed files with 4 additions and 1 deletions
|
|
@ -162,6 +162,9 @@ def main():
|
||||||
for app in metaapps:
|
for app in metaapps:
|
||||||
if len(app['Repo Type']) == 0:
|
if len(app['Repo Type']) == 0:
|
||||||
rtype = 'none'
|
rtype = 'none'
|
||||||
|
else:
|
||||||
|
if app['Repo Type'] == 'srclib':
|
||||||
|
rtype = common.getsrclibvcs(app['Repo'])
|
||||||
else:
|
else:
|
||||||
rtype = app['Repo Type']
|
rtype = app['Repo Type']
|
||||||
if rtype in repotypes:
|
if rtype in repotypes:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue