maemo.org Bugzilla – Bug 2155
Downloads statistics in extras repository
Last modified: 2008-04-07 09:50:15 UTC
You need to
before you can comment on or make changes to this bug.
Application developers want to the downloads of their apps in the extras
STEPS TO REPRODUCE THE PROBLEM:
It seems that this is one of the reason why developers would prefer to set
their own repos. This feature is important then, since we are promoting extras
as primary repo.
I am testing the web based reporting tool. It seems we can get scheduled
reports in form of csv files via email. Now we just need to setup a nice
parsing mechanism which would deliver info from these reports to the website.
When we make applications in the AC use the same unixname as their package, we
can easily parse the logs and grep the unix name and target OS. We can then do
a midgard lookup in the products database and increase the downloads counter
when the product is found.
This can run as a cronjob.
Another method I tested is by placing a .htaccess file in the pool directories
and run a php file on each download. This way we can beat the caching network,
if that needs to be circumvented.
Since I quit I'd like to reassign this bug.
Marcell gave me some download statistics for the repositories. I can parse that
data to generate weekly statistics. We need to decide where we want to display
these statistics and where/how we are going to store that somewhere.
Statistics have been online for a few weeks now. It seems to work ok.