mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Merge branch 'master' of gitorious.org:f-droid/fdroidserver
This commit is contained in:
commit
0985a6d4f4
4 changed files with 81 additions and 54 deletions
|
|
@ -161,7 +161,10 @@ def main():
|
|||
if len(app['Repo Type']) == 0:
|
||||
rtype = 'none'
|
||||
else:
|
||||
rtype = app['Repo Type']
|
||||
if app['Repo Type'] == 'srclib':
|
||||
rtype = common.getsrclibvcs(app['Repo'])
|
||||
else:
|
||||
rtype = app['Repo Type']
|
||||
if rtype in repotypes:
|
||||
repotypes[rtype] += 1;
|
||||
else:
|
||||
|
|
@ -174,7 +177,7 @@ def main():
|
|||
# Calculate and write stats for update check modes...
|
||||
ucms = {}
|
||||
for app in metaapps:
|
||||
checkmode = app['Update Check Mode']
|
||||
checkmode = app['Update Check Mode'].split('/')[0]
|
||||
if checkmode in ucms:
|
||||
ucms[checkmode] += 1;
|
||||
else:
|
||||
|
|
@ -197,8 +200,6 @@ def main():
|
|||
f.write(license + ' ' + str(count) + '\n')
|
||||
f.close()
|
||||
|
||||
|
||||
|
||||
# Write list of latest apps added to the repo...
|
||||
latest = knownapks.getlatest(10)
|
||||
f = open('stats/latestapps.txt', 'w')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue