Ciaran Gultnieks
b454ea3c6f
Make stats retrieval more configurable
2014-09-02 18:53:36 +01:00
Ciaran Gultnieks
b43f7bea1a
Add ability to filter asshattery from stats
2014-08-22 21:18:55 +01:00
Daniel Martí
94c29f9c37
Map apps in memory from appid to appinfo
...
Instead of storing them in a list and doing linear searches by appinfo['id']
2014-08-16 12:46:02 +02:00
Daniel Martí
eb81375630
stats: simpler repo type logic
2014-08-16 11:42:51 +02:00
Daniel Martí
52a0773d71
stats: don't include disabled apps
2014-07-23 19:55:45 +02:00
Daniel Martí
49208b257d
Always run read_srclibs as part of read_metadata
2014-06-30 14:39:52 +02:00
Ciaran Gultnieks
3cb4a80efb
Fix stats update bug
2014-06-30 12:03:45 +01:00
Ciaran Gultnieks
277d95f57d
Fix several read_metadata-related issues
...
Various calls with the wrong parameters, and also an unused parameter on
the function itself.
2014-05-20 17:48:45 +01:00
Hans-Christoph Steiner
0e00b36db5
fix PEP8 E124/E125/126/127/128 indentation issues
...
* E124 closing bracket does not match visual indentation
* E125 continuation line does not distinguish itself from next logical line
* E126 continuation line over-indented for hanging indent
* E127 continuation line over-indented for visual indent
* E128 continuation line under-indented for visual indent
2014-05-06 14:36:33 -04:00
Ciaran Gultnieks
bd34fc2530
Remove the rest of the PEP8 errors from stats.py
2014-04-30 20:53:34 +01:00
Ciaran Gultnieks
5849b43e02
Remove strange semicolons
2014-04-30 11:46:28 +01:00
Ciaran Gultnieks
2a5c8a4aa2
Cache aggregate stats to save time
2014-04-29 15:33:34 +01:00
Ciaran Gultnieks
a8cf0fa724
Fix stats (broken in f3db000
)
2014-02-23 22:34:27 +00:00
Ciaran Gultnieks
5cd47137dd
Improved some logging levels for stats
2014-02-22 10:05:07 +00:00
Ciaran Gultnieks
37dda9414c
Add --quiet option, restricting output to warnings/errors
2014-02-22 09:46:24 +00:00
Daniel Martí
3483bad392
Make app['Categories'] a list, get unique categories via a set
2014-02-19 10:27:38 +01:00
Daniel Martí
be7c6aceec
Do the rest of the stats with counters too
2014-02-19 10:03:42 +01:00
Daniel Martí
f3db0003e7
Use Counter objects when processing logs
...
This should somewhat speed things up, and makes the code simpler
2014-02-19 09:59:44 +01:00
Daniel Martí
86aa3d1530
Fix Tags <pattern> stats
2014-02-11 08:47:47 +01:00
Ciaran Gultnieks
b8e48f32f7
Partly revert c7f2cbd
to make stats work again
2014-02-04 07:34:55 +00:00
Daniel Martí
1b743e8b74
More logging
2014-01-27 21:49:29 +01:00
Daniel Martí
c7f2cbd85b
Last missing bit of Popen
2014-01-27 21:48:22 +01:00
Ciaran Gultnieks
80b29453a5
Fix new downloads-per-version stats
2014-01-23 23:31:03 +00:00
Florian Schmaus
fd28c0dca5
stats.py: Create downloads stats for app and version
2014-01-08 16:56:33 +01:00
Ciaran Gultnieks
d1ad5bd74e
Some minor stats improvements
2013-12-28 10:36:05 +00:00
Ciaran Gultnieks
4cd263d598
Fix latestapps stats, broken in 59cde15ad1
2013-12-28 10:36:05 +00:00
Daniel Martí
fb38eb6b8c
First metadata checks rewrite; New metadata.py module
2013-11-19 15:35:16 +01:00
Ciaran Gultnieks
75d616c5e5
Fix fdroid stats, checking config before reading it
2013-11-05 07:58:56 +00:00
Daniel Martí
67b8825560
Merge branch 'master' into verbose-rewrite
2013-11-02 19:56:31 +01:00
Daniel Martí
ee759a3a0e
Start doing multiple categories as comma separated lists
...
Don't drop support for old clients (only one category) yet
2013-11-02 01:14:01 +01:00
Daniel Martí
c3be06fb1d
Start rewriting options and config as common.py globals
2013-11-01 13:55:38 +01:00
Ciaran Gultnieks
a762a0cb04
Tidied up some unused junk
2013-10-31 15:46:32 +00:00
Ciaran Gultnieks
08287a1fa8
Handle repo config in a more sensible way
2013-10-31 15:37:39 +00:00
Daniel Martí
2c804ef88a
Switch all shebangs to 'env python2'
2013-10-31 13:27:24 +01:00
Daniel Martí
59cde15ad1
Two new stats files: categories.txt, antifeatures.txt
2013-10-31 13:08:15 +01:00
Daniel Martí
ded019291e
sed -i 's/!= None/is not None/g' *.py
2013-10-13 00:03:57 +02:00
Daniel Martí
76d3b56ff5
Remove a bunch of unused imports
2013-08-22 16:42:57 +02:00
Ciaran Gultnieks
7878d959e7
Improve the stats bandwidth/diskspace/memory situation a bit
2013-05-31 07:51:54 +01:00
Ciaran Gultnieks
0985a6d4f4
Merge branch 'master' of gitorious.org:f-droid/fdroidserver
2013-05-25 14:10:29 +01:00
Ciaran Gultnieks
ca717e33d7
Fix graphite stats sending
2013-05-25 13:51:52 +01:00
Daniel Martí
bb867e1b6f
Find out srclib repo type for stats
2013-05-24 23:52:14 +02:00
Daniel Martí
f40ec0eaaa
Don't separate RM by branches on UCM stats
2013-05-24 23:48:03 +02:00
Ciaran Gultnieks
dc789a7ac9
Option to push stats to graphite
2013-05-23 11:05:30 +01:00
Daniel Martí
5f2e1d76c2
Add update_check_modes.txt to stats/
2013-05-17 22:39:35 +02:00
Ciaran Gultnieks
27a07d7063
Stats-related things must be explicitly enabled (issue #51 )
2012-08-31 18:17:38 +01:00
Ciaran Gultnieks
702c881d72
Added license and vcs type analysis to stats
2012-04-08 14:07:01 +01:00
Ciaran Gultnieks
f643b0498c
Make the server tools an installable package (with distutils) - wip
2012-03-11 11:59:19 +00:00