globaleaks / globaleaks-whistleblowing-software

GlobaLeaks is a free and open-source whistleblowing software enabling anyone to easily set up and maintain a secure reporting platform.
https://www.globaleaks.org
Other
1.25k stars 274 forks source link

Extract and publish download statistics from debian repository #2001

Open fpietrosanti opened 7 years ago

fpietrosanti commented 7 years ago

Current behavior Actually we don't know how many installation and upgrades of GlobaLeaks happens from our debian repository.

Expected behavior There should be a report providing publicly data on:

The upgrade can be evaluated by comparing the unique IP addresses fetching the software for the first time, from the next time it does download it.

The reports should be:

There should also be a report which version of Operating System from the Debian packaged one are fetched, as this may provide great input (ie: if we notice that 99% stay on ubuntu 16.04 we may just deprecate everything else).

An analysis of existing libraries and/or tools to perform such kind of statistics extractions from debian repository http logs should be done.

fpietrosanti commented 7 years ago

zcat access.log* | grep install-globaleaks.sh | visitors -o text -Y -

=== Unique visitors in each day === --- Multiple hits with the same IP, user agent and access day, are considered a single visit

=== Unique visitors in each month === --- Multiple hits with the same IP, user agent and access day, are considered a single visit