Provide package download statistics.
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
It would be handy to provide package owners an idea about overal download statistics similar to the TF registry.
For instance, Akamai TF download stats can be seen on the right side of the page: https://registry.terraform.io/providers/akamai/akamai/latest
The Pulumi managed providers are hosted on get.pulumi.com and we can probably track downloads per provider here. Third party packages are published via Github Releases, although theorically not limited to this setup.
Github releases seem to have a way to retrieve download info, given this third party app showing these numbers for one of the Pulumiverse providers:
https://tooomm.github.io/github-release-stats/?username=pulumiverse&repository=pulumi-ovh
Affected area/feature
The landing page for each package listed in the Pulumi Registry.
Right now, many Pulumi published providers also use GitHub releases. We won't be able to provide actionable download links with the current setup. This is impossible with the current registry setup.
In the future, we could (and should) use the registry as a routing point for plugin download URLs. That would allow the registry to:
- Given a provider name, tell the engine which plugin to download, removing the need to run
pulumi plugin install resource my-provider --download-url .... - Allow the registry to track provider downloads so we can offer these kinds of statistics.