Skip to content

Add missing Starlark files to “all_rules” targets.#2434

Merged
jayconrod merged 1 commit intobazel-contrib:masterfrom
phst:allrules-platforms
Apr 16, 2020
Merged

Add missing Starlark files to “all_rules” targets.#2434
jayconrod merged 1 commit intobazel-contrib:masterfrom
phst:allrules-platforms

Conversation

@phst
Copy link
Copy Markdown
Contributor

@phst phst commented Apr 15, 2020

This is important for Stardoc, which insists on knowing about all transitively
loaded Starlark files.

What type of PR is this?

Uncomment one line below and remove others.

Bug fix

What does this PR do? Why is it needed?

When generating documentation for a rule that uses these rules using Stardoc,
compilation currently fails because not all transitively loaded files are present.

Which issues(s) does this PR fix?

Fixes #

Other notes for review

This is important for Stardoc, which insists on knowing about all transitively
loaded Starlark files.
@phst phst requested a review from jayconrod as a code owner April 15, 2020 22:02
Copy link
Copy Markdown
Collaborator

@jayconrod jayconrod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@jayconrod jayconrod merged commit cf9c0ea into bazel-contrib:master Apr 16, 2020
@phst phst deleted the allrules-platforms branch April 17, 2020 11:15
jayconrod pushed a commit that referenced this pull request Jul 8, 2020
This is important for Stardoc, which insists on knowing about all transitively
loaded Starlark files.
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
This will remove the merge conflicts and improve the usability when the
`MODULE.bazel.lock` is used together with `rules_python`. This means
that the lock file will not be used to read the `URL` and `sha256`
values for the Python sources when the `experimental_index_url` is used,
but the idea is that that information will be kept in repo cache.

Fixes bazel-contrib#2434

Created bazel-contrib#2731 to leverage the bazel feature to write immutable facts to
the lock file once it becomes available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants