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

Handle vendor packages #251

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

peterebden
Copy link
Contributor

This handles vendoring in the stdlib packages which isn't done at present. Basically it will change the import map to look like

    "golang.org/x/net/dns/dnsmessage": "vendor/golang.org/x/net/dns/dnsmessage",

(previously the value doesn't have the vendor/ prefix so it doesn't actually match a package in our output)

Have run this through a nontrivial call internally using gosec and it now works; previously it was failing with errors about "unexpected new packages during load of 'net'"

@peterebden peterebden merged commit dcd115a into please-build:master Mar 13, 2024
4 checks passed
@peterebden peterebden deleted the vendor-packages branch March 13, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant