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]: Provide capability to mark a package as "needs funding" / include "sponsor URL" #9339

Open
tomkerkhove opened this issue Jan 4, 2023 · 5 comments
Labels
feature-request Customer feature request Need spec

Comments

@tomkerkhove
Copy link

Related Problem

No response

The Elevator Pitch

Provide capability to mark a package as "needs funding" so that package authors can signal they need funding to keep their project around or it will go away in the future.

This helps companies better support their dependencies.

Additional Context and Details

No response

@tomkerkhove tomkerkhove added the feature-request Customer feature request label Jan 4, 2023
@joelverhagen
Copy link
Member

Hey @tomkerkhove, thanks for the suggestion. This general area has been discussed a bit internally but we don't yet have any concrete plans.

I have a few of questions for you:

  1. Do you think this is the same thing as a "sponsor URL" metadata item we could enable in packages, that would be surfaced in various UIs (VS IDE, NuGet.org, etc)? Similar to how VS Code has: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#extension-sponsor

  2. If "no" to question 1, how do you think this would be shown to package consumers? How can we balance good visibility but also not being too naggy to people that don't want to pay anything?

  3. How do you think this overlaps with a bigger feature request like this: [Feature]: Sign up / pay for licences when using opensource projects in medium to big enterprise companies #9265?

In the short term, I think a simple addition to the NuGet package metadata and a small UI-only change to surface the "needs funding"/"sponsor URL" info is pretty feasible. A bigger change where we process payments or manage recurring support is pretty unlikely to happen any time soon, given our other priorities.

If you're interested in making a full proposal in this area, you can consider following this process https://github.com/NuGet/Home/blob/dev/meta/README.md. Depends on how much you'd like to push it forward 👍.

@tomkerkhove
Copy link
Author

I think starting with 1) is a good direction which allows us to do this:

In the short term, I think a simple addition to the NuGet package metadata and a small UI-only change to surface the "needs funding"/"sponsor URL" info is pretty feasible. A bigger change where we process payments or manage recurring support is pretty unlikely to happen any time soon, given our other priorities.

Another thing to add would be to include support for dotnet list package --needs-funding.

#9265 is definately valuable as well; but that feels like a broader spectrum to dive in to.

@joelverhagen joelverhagen changed the title [Feature]: Provide capability to mark a package as "needs funding" [Feature]: Provide capability to mark a package as "needs funding" / include "sponsor URL" Jan 4, 2023
@tbolon
Copy link

tbolon commented Aug 10, 2023

For reference, see also the npm packages.json funding element: https://docs.npmjs.com/cli/v9/configuring-npm/package-json#funding and an exemple of rendering in npmjs.org: https://www.npmjs.com/package/chalk.

And an exemple of npm fund rendered (on mastodon repo):

@mastodon/mastodon
├─┬ https://opencollective.com/babel
│ │ └── @babel/[email protected]
│ └── https://opencollective.com/browserslist
│     └── [email protected], [email protected], [email protected], [email protected]
├── https://github.com/sponsors/ljharb
│   └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├─┬ https://tidelift.com/funding/github/npm/autoprefixer
│ │ └── [email protected]
│ └── https://tidelift.com/funding/github/npm/postcss
│     └── [email protected]
├─┬ https://opencollective.com/webpack
│ │ └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
│ ├── https://github.com/sponsors/sindresorhus
│ │   └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
│ └── https://github.com/sponsors/feross
│     └── [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
├── https://github.com/sponsors/isaacs
│   └── [email protected], [email protected]
├── https://opencollective.com/postcss/
│   └── [email protected], [email protected], [email protected], [email protected]
├─┬ https://opencollective.com/eslint
│ │ └── [email protected]
│ ├── https://github.com/sponsors/mysticatea
│ │   └── [email protected], [email protected]
│ ├── https://github.com/sponsors/epoberezkin
│ │   └── [email protected], [email protected], [email protected]
│ └── https://github.com/chalk/slice-ansi?sponsor=1
│     └── [email protected]
├── https://github.com/prettier/prettier?sponsor=1
│   └── [email protected]
├─┬ https://opencollective.com/stylelint
│ │ └── [email protected]
│ ├── https://opencollective.com/csstools
│ │   └── @csstools/[email protected]
│ └── https://github.com/sponsors/wooorm
│     └── [email protected], [email protected]
├── https://opencollective.com/core-js
│   └── [email protected], [email protected]
├── https://github.com/sponsors/RubenVerborgh
│   └── [email protected]
├── https://github.com/avajs/find-cache-dir?sponsor=1
│   └── [email protected]
├─┬ https://github.com/inikulin/parse5?sponsor=1
│ │ └── [email protected]
│ └── https://github.com/fb55/entities?sponsor=1
│     └── [email protected]
├── https://github.com/sponsors/jonschlinkert
│   └── [email protected]
├─┬ https://github.com/chalk/chalk?sponsor=1
│ │ └── [email protected]
│ └── https://github.com/chalk/ansi-styles?sponsor=1
│     └── [email protected], [email protected]
├── https://github.com/chalk/supports-color?sponsor=1
│   └── [email protected]
├── https://github.com/sindresorhus/execa?sponsor=1
│   └── [email protected]
├── https://github.com/sindresorhus/emittery?sponsor=1
│   └── [email protected]
├── https://tidelift.com/subscription/pkg/npm-loglevel?utm_medium=referral&utm_source=npm_fund
│   └── [email protected]
└── https://github.com/chalk/wrap-ansi?sponsor=1
    └── [email protected]

@JonDouglas
Copy link
Contributor

@JonDouglas
Copy link
Contributor

Hi all,

There is now a proposal on this specific issue that you can go read through and provide your feedback on.

NuGet/Home#12922

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Customer feature request Need spec
Projects
None yet
Development

No branches or pull requests

5 participants