Track package installation count

To allow package developers to follow the adoption of their package. We should add a ping from an OpenTAP installation back to the package repository with anonymous info about which packages are installed (probably their IPackageIdentifier).

  • Package names (or the entire identifier) should be cryptographically hashed so only package names already in the repository will be identifiable.

  • This ping should also serve as an update check, and the repository should respond with any packages that could be updated. This is already implemented on the server-side, and an interface already exists here.

  • To distinguish (and be able to count) installations, each ping should contain an anonymous ID representing the installation.

  • An engine setting (browsable false) should be added to allow users to opt-out of the tracking-ping/update check.

Eventually (not part of this issue), we can visualize this info in the package repo frontend on packages.opentap.io.

Edited by Asger Iversen