JuliaLang / Juleps

Julia Enhancement Proposals
Other
67 stars 24 forks source link

Pkg3: telemetry #29

Open malmaud opened 7 years ago

malmaud commented 7 years ago

I'd like to see Pkg3 support some kind of anonymized opt-out telemetry.

For example, it could keep track of statistics like like how many times Pkg.add has been called for a given package with a heuristic to not count CI testing. This would give us a more reliable guide of package popularity than github stars.

ararslan commented 7 years ago

In terms of actual implementation, inspiration could be taken from Homebrew, which has opt-out telemetry and is MIT licensed (so there's no need to worry about derived works).

staticfloat commented 7 years ago

A few thoughts on this;

simonbyrne commented 7 years ago

Note that if Pkg3 downloads tarballs rather than git clones we might also be able to get download counts via GitHub releases.

oxinabox commented 7 years ago

@simonbyrne You can already get info in git clone counts, as it is, from github. But only for repo's you own. Eg I can see them for NamedColors.jl at: https://github.com/JuliaGraphics/NamedColors.jl/graphs/traffic

image

http://stackoverflow.com/a/38217108/179081

However it is only counters -- not information about the OS, julia version etc. But I assume same would be true for releases.

Datseris commented 5 years ago

Very happy to see this discussion.

I just want to chime in to say the following: this kind of telemetry could be very useful for developers that are considering to do breaking changes. Will also be a good indication to know whether you need deprecations or even an announcement.