Skip to content

target pattern file: allow comments#15923

Merged
sgowroji merged 2 commits intobazelbuild:release-5.3.0from
ckolli5:ck/cherry_pick_-15903
Jul 20, 2022
Merged

target pattern file: allow comments#15923
sgowroji merged 2 commits intobazelbuild:release-5.3.0from
ckolli5:ck/cherry_pick_-15903

Conversation

@ckolli5
Copy link
Copy Markdown

@ckolli5 ckolli5 commented Jul 19, 2022

--target_pattern_file could be a great tool assisting migration of a
code base from one Bazel config to another. User could define a list of
targets that can be built with the new configs and incrementally expand
that list with each change that was introduced. Multiple users / teams
could collaborate on such migration by adding / removing their targets
into / from the pattern file.

Having the ability to provide comments to annotate the targets in the
pattern file with extra information during the migration process added a
great value and context for build maintainers to track migration
progress.

Add support for Bash-style comments to the target-pattern file.

Closes #15903.

PiperOrigin-RevId: 461861131
Change-Id: I401f71fcf1e343c8689424979e4f48fb723fba9f

sluongng and others added 2 commits July 19, 2022 16:34
`--target_pattern_file` could be a great tool assisting migration of a
code base from one Bazel config to another.  User could define a list of
targets that can be built with the new configs and incrementally expand
that list with each change that was introduced.  Multiple users / teams
could collaborate on such migration by adding / removing their targets
into / from the pattern file.

Having the ability to provide comments to annotate the targets in the
pattern file with extra information during the migration process added a
great value and context for build maintainers to track migration
progress.

Add support for Bash-style comments to the target-pattern file.

Closes bazelbuild#15903.

PiperOrigin-RevId: 461861131
Change-Id: I401f71fcf1e343c8689424979e4f48fb723fba9f
@sgowroji sgowroji merged commit ae386f3 into bazelbuild:release-5.3.0 Jul 20, 2022
@ckolli5 ckolli5 deleted the ck/cherry_pick_-15903 branch July 22, 2022 21:18
@ShreeM01 ShreeM01 added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Dec 5, 2022
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.

4 participants