Recent download statistics
Martin Nowak via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Oct 13 09:07:29 PDT 2014
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. Also equally interesting is
to group those numbers by DPL release and OS.
More information about the Digitalmars-d-announce
mailing list