registry icon indicating copy to clipboard operation
registry copied to clipboard

Provide package download statistics.

Open ringods opened this issue 1 year ago • 1 comments

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.

ringods avatar May 22 '24 12:05 ringods

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:

  1. Given a provider name, tell the engine which plugin to download, removing the need to run pulumi plugin install resource my-provider --download-url ....
  2. Allow the registry to track provider downloads so we can offer these kinds of statistics.

iwahbe avatar Nov 13 '24 11:11 iwahbe