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

x/pkgsite: show if package is seeking funding #65002

Closed
mitar opened this issue Jan 7, 2024 · 4 comments
Closed

x/pkgsite: show if package is seeking funding #65002

mitar opened this issue Jan 7, 2024 · 4 comments

Comments

@mitar
Copy link
Contributor

mitar commented Jan 7, 2024

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/alecthomas/kong

What is your user agent?

Firefox

Screenshot

No response

What did you do?

I am trying to find all Go packages in my codebase which seek funding.

What did you see happen?

Find some information somehow already in the Go ecosystem/tooling. But it seems it does not exist.

What did you expect to see?

I think there could be a button inviting funding with a link to information from .github/FUNDING.yml file. .github/FUNDING.yml is a pretty simple file format and Go already expects git repositories, so I think reusing that file and showing links to funding ways, like GitHub itself does, would be awesome on pkg.go.dev.

@mitar mitar added the pkgsite label Jan 7, 2024
@gopherbot gopherbot added this to the Unreleased milestone Jan 7, 2024
@hyangah
Copy link
Contributor

hyangah commented Jan 11, 2024

IMO that is beyond what pkgsite is meant for. - versioned, package documentation.
The pkgsite renders README.md, so you can add the info there if you really want.

@mitar
Copy link
Contributor Author

mitar commented Jan 11, 2024

pkgsite already links to Open Source Insights, they show imports and imported by, they show license. Why not also link to places to fund the project? It could be under same Links section as "Open Source Insights" is.

But I think having it also be integrated into cli, same as npm has it, would even more improve the package ecosystem.

@seankhliao
Copy link
Member

seankhliao commented Jan 11, 2024

That's even worse, we don't need ads in more places

@hyangah
Copy link
Contributor

hyangah commented Jan 18, 2024

pkgsite already links to Open Source Insights, they show imports and imported by, they show license. Why not also link to places to fund the project? It could be under same Links section as "Open Source Insights" is.

Open source insights presents information about the specific version of the package, mostly computed based on the information listed in the spec. Moreover, most info pkgsite shows won't change over time (maybe except vulnerabilities, or deprecation status). I am not sure if the state of seeking fund is a property of a versioned package. Even the package owner can change over time.

But I think having it also be integrated into cli, same as npm has it, would even more improve the package ecosystem.

Unlike npm or other language toolings, go commands try to stay quiet unless there is an error or problem that prevents operation. I don't think go cli is an appropriate integration point. If you want to change it, it should go through a proposal process and strong community-wide support.

Closing since this is beyond the scope of pkgsite.

@hyangah hyangah closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants