Skip to content

go_repo: rename third_party_path to deps_path - #379

Merged
chrisnovakovic merged 1 commit into
please-build:masterfrom
chrisnovakovic:go_repo-deps_path
Sep 2, 2026
Merged

go_repo: rename third_party_path to deps_path#379
chrisnovakovic merged 1 commit into
please-build:masterfrom
chrisnovakovic:go_repo-deps_path

Conversation

@chrisnovakovic

Copy link
Copy Markdown
Contributor

The purpose of go_repo's third_party_path parameter isn't clear without a detailed reading of the please_go source code: it is the name of the package assumed to contain definitions of third-party Go module dependencies for the module whose targets are being generated. Rename the parameter to deps_path (while maintaining an alias for third_party_path for backwards compatibility) to make its purpose explicit.

The purpose of `go_repo`'s `third_party_path` parameter isn't clear
without a detailed reading of the please_go source code: it is the name
of the package assumed to contain definitions of third-party Go module
dependencies for the module whose targets are being generated. Rename
the parameter to `deps_path` (while maintaining an alias for
`third_party_path` for backwards compatibility) to make its purpose
explicit.
@chrisnovakovic
chrisnovakovic merged commit c8ac16c into please-build:master Sep 2, 2026
5 checks passed
@chrisnovakovic
chrisnovakovic deleted the go_repo-deps_path branch September 2, 2026 16:19
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