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/exp/cmd/gorelease: report when packages can't be loaded without replace, exclude #37559

Open
jayconrod opened this issue Feb 28, 2020 · 0 comments

Comments

@jayconrod
Copy link
Contributor

@jayconrod jayconrod commented Feb 28, 2020

replace and exclude directives can be used in go.mod files to temporarily work around problems in dependencies while they are fixed upstream. They're also used in local development. replace and exclude only apply within the main module, so if a module can't be used by another without replace and exclude directives, it shouldn't be released.

gorelease currently loads type information for packages without replace and exclude directives and reports errors. If it sees errors, it should try loading with replace and exclude directives. If that succeeds, gorelease should note that as a possible cause for errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant