chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f40ec0e
)
Find out srclib repo type for stats
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 24 May 2013 21:52:14 +0000
(23:52 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 24 May 2013 21:52:14 +0000
(23:52 +0200)
fdroidserver/stats.py
patch
|
blob
|
history
diff --git
a/fdroidserver/stats.py
b/fdroidserver/stats.py
index 45928cd63b9c2c2f7ce5aa2610382e636c10d9a1..5f981cf617322b01ff9e60b646947dafda2c29c7 100644
(file)
--- a/
fdroidserver/stats.py
+++ b/
fdroidserver/stats.py
@@
-163,7
+163,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: