Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add an option for packages to have a "requires payment" setting #11527

Open
SimonCropp opened this issue Jan 26, 2022 · 2 comments
Open
Assignees
Labels
Functionality:Install The install command in VS/nuget.exe Priority:2 Issues for the current backlog. Product:VS.Client Triage:NeedsDesignSpec Type:Feature

Comments

@SimonCropp
Copy link

SimonCropp commented Jan 26, 2022

NuGet Product(s) Involved

Package management UI and nuget gallery

The Elevator Pitch

This setting would be a key to a known list of "payed license" providers. For example GitHub, OpenCollective, Patreon etc. Each of these providers would implement a convention based web API. When someone adds or updates the package, their id (along with package name and version) is validated against the providers API. If it fails the API returns a url that can be shown to the user so they can purchase a license or otherwise resolve the issue.

Package restore would bypass this process.

@webprofusion-chrisc
Copy link

Here's an API I just made up, by way of discussion. It has one /license endpoint you post to and http 200 means you are licensed: https://webprofusion.stoplight.io/docs/pay-package

@JonDouglas
Copy link
Contributor

Thanks for the feature request! We'll continue to keep a close eye as more comments, reactions, and discussion continues for this issue. For reference, we use 👍 in our yearly planning exercises to gauge what highly requested features to work on.

If there is enough interest and the community would like to move forward with a RFC (request for comments), please feel free to do so through https://github.com/NuGet/Home/tree/dev/meta#how-do-i-create-a-proposal so our team & the community can formally review it and provide feedback on the structured thinking through the problem & proposed solution.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Install The install command in VS/nuget.exe Priority:2 Issues for the current backlog. Product:VS.Client Triage:NeedsDesignSpec Type:Feature
Projects
None yet
Development

No branches or pull requests

7 participants