-
Notifications
You must be signed in to change notification settings - Fork 206
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
build(golang): Support faster local iteration and align better with upstream #8840
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo comments below.
go-mod-cache: go.sum | ||
@echo "--> Download go modules to local cache" | ||
@go mod download |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep go-mod-cache
in the Makefile, do avoid differences vs gaia.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, can you elaborate? AFAICT, cosmos-sdk hasn't had a "go-mod-cache" target since it was removed by cosmos/cosmos-sdk@6c1c2cc .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened a PR there: cosmos/gaia#2915
dbba9ce
to
e2ff3af
Compare
Deploying agoric-sdk with Cloudflare Pages
|
88bd504
to
0d09636
Compare
…pstream * Replace synthetic "go-mod-cache" Makefile target with direct dependence upon go.sum. * Introduce support for `make SKIP_MOD_VERIFY=1` to avoid unnecessary expensive scans when e.g. tweaking referents of local-directory `replace $modulePath => ../path/to/module` directives in go.mod.
0d09636
to
670cb8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
make SKIP_MOD_VERIFY=1
to avoid unnecessary expensive scans when e.g. tweaking referents of local-directoryreplace $modulePath => ../path/to/module
directives in go.mod.Security Considerations
n/a
Scaling Considerations
n/a
Documentation Considerations
There is no formal place to document the new make variable, so it is instead directly mentioned in make output.
Testing Considerations
Manually verified expected behavior in various scenarios (e.g., running
make
withoutgo.mod
changes).Upgrade Considerations
n/a