Skip to content
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

docs: clarify write_source_files output constraint #498

Merged
merged 2 commits into from Aug 23, 2023

Conversation

seh
Copy link
Contributor

@seh seh commented Aug 23, 2023

For both the write_source_files rule's "files" attribute and the write_source_file rule's "out_file" attribute, we ensure that the destination files and directories to which we'll write sit within the same containing Bazel package as the Bazel target requesting this writing. Clarify the documentation for each attribute to make it clear that we're constraining the destinations and not the sources of the content to be written.

See #28 for the original documentation's arrival (specifically #28 (comment)), and the discussion in the "rules" channel of the "Bazel" Slack workspace that led to this proposed change.


Type of change

Documentation

For changes visible to end-users

  • Relevant documentation has been updated

Test plan

  • Covered by existing test cases

For both the "write_source_files" rule's "files" attribute and the
"write_source_file" rule's "out_file" attribute, we ensure that the
destination files and directories to which we'll write sit within the
same containing Bazel package as the Bazel target requesting this
writing. Clarify the documentation for each attribute to make it clear
that we're constraining the destinations and not the sources of the
content to be written.
@CLAassistant
Copy link

CLAassistant commented Aug 23, 2023

CLA assistant check
All committers have signed the CLA.

lib/write_source_files.bzl Outdated Show resolved Hide resolved
@seh seh force-pushed the correct-write-source-files-doc branch from 8b76b5f to 87ed554 Compare August 23, 2023 19:24
@kormide kormide merged commit 3af9e00 into aspect-build:main Aug 23, 2023
25 checks passed
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.

None yet

3 participants