Skip to content

Comments

Add support for ignoring modules when syncing#143

Merged
toastwaffle merged 2 commits intoplease-build:masterfrom
toastwaffle:ignore_pkg
Aug 5, 2025
Merged

Add support for ignoring modules when syncing#143
toastwaffle merged 2 commits intoplease-build:masterfrom
toastwaffle:ignore_pkg

Conversation

@toastwaffle
Copy link
Contributor

go mod tidy is a little overzealous with pulling in transitive dependencies, even when the bits of a direct dependency that we build with Please don't actually depend on the transitive dependency. As such, this allows specifying Go modules which will be present in the go.mod file (because go mod tidy puts them there), but will not be present in the BUILD file

@toastwaffle toastwaffle requested a review from SpangleLabs August 5, 2025 16:35
@toastwaffle
Copy link
Contributor Author

golangci-lint is once again toast, so I am just going to forcibly land this

@toastwaffle toastwaffle merged commit b0a7aa8 into please-build:master Aug 5, 2025
2 of 3 checks passed
@toastwaffle toastwaffle deleted the ignore_pkg branch August 5, 2025 16:41
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.

2 participants