Skip to content

proposal: tool to describe exact dependencies/build environment for plugins to be shareable #71063

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

Closed
pjebs opened this issue Dec 30, 2024 · 2 comments
Labels
Milestone

Comments

@pjebs
Copy link
Contributor

pjebs commented Dec 30, 2024

Proposal Details

@LukeShu in his response found here https://www.reddit.com/r/golang/comments/b6h8qq/comment/ejkxd2k/

discusses issues he encountered using the plugin package in a real-world use case.

It would be good if there was a tool made or a command or flag in go build that spits out the EXACT dependencies and build environment that was used to build the plugin that the consumer of the plugin has to meet.

That will reduce the barriers of using plugins to create libraries to distribute to others. We can communicate it exactly to the user.

If it was a tool, ideally you can provide the actual library file and the tool would just spit out that information.

@pjebs pjebs added the Proposal label Dec 30, 2024
@gopherbot gopherbot added this to the Proposal milestone Dec 30, 2024
@pjebs pjebs changed the title proposal: tool to describe exact dependencies for plugins proposal: tool to describe exact dependencies/build environment for plugins to be shareable Dec 30, 2024
@thepudds
Copy link
Contributor

See #63290 (comment) for one approach.

@seankhliao
Copy link
Member

I believe go version -m is enough.

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

No branches or pull requests

4 participants