Recent download statistics

Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Oct 13 10:48:03 PDT 2014


On 10/13/14, 9:07 AM, Martin Nowak wrote:
> On Wednesday, 3 September 2014 at 09:20:44 UTC, Andrei Alexandrescu wrote:
>> The relevant makefile rules are:
>>
>> $(OUT)/downloads:
>>     grep -o 'GET [^ ]* ' \
>>       $(DATADIR)/downloads/2013-* $(DATADIR)/downloads/2014-* \
>>       | grep 'dmd' | sed -e 's/:GET//' -e 's|^.*downloads/||' \
>>       | sed -e 's/ .*dmd/ dmd/' | sort >$@.tmp
>>     mv $@.tmp $@
>>
>> $(OUT)/downloads.monthly: $(OUT)/downloads
>>     sed -e 's/-.. .*//' $^ | uniq -c >>$@.tmp
>>     mv $@.tmp $@
>
> Nice, might be worth to spend some time filtering out machine traffic,
> e.g. from running travis-ci.

How can those be identified?

> Also equally interesting is to group those numbers by DPL release and
> OS.

Yah.


Andrei


More information about the Digitalmars-d-announce mailing list