Skip to content

[5.1] Adding Starlark dependencies to the package //external#14991

Merged
Wyverald merged 2 commits intobazelbuild:release-5.1.0from
brentleyjones:bj/adding-starlark-dependencies-to-the-package-external
Mar 8, 2022
Merged

[5.1] Adding Starlark dependencies to the package //external#14991
Wyverald merged 2 commits intobazelbuild:release-5.1.0from
brentleyjones:bj/adding-starlark-dependencies-to-the-package-external

Conversation

@brentleyjones
Copy link
Copy Markdown
Contributor

This is an alternative approach to fix #14280. It adds transitive closure of Starlark dependencies to //external package when loading WORKSPACE file, so it can be processed in the same way as BUILD files during query execution. Comparing to the approach taken in #14497, this approach is less intrusive, but not able to distinguish the extension files needed by //external:foo and //external:bar, meaning buildfiles(//external:foo) returns the same result as buildfiles(//external:*). However, this behavior is consistent with other packages. For example, buildfiles(//foo:bar) has the same result as buildfiles(//foo:*).

(cherry picked from commit a6c3f23)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants