bazel-contrib / bazel-contrib/bazel-lib

[FR]: write_source_files and write_source_file shall support select()

Open
#781 0 comments 0 reactions 0 assignees View on GitHub
enhancement need: discussion
Dominant language
Starlark
Stars
182
Forks
134
Avg merge
1d 46m
Merged PRs (30d)
1

Description

### What is the current behavior?

write_source_files and write_source_file are implemented as macros therefor select() cannot be used.

### Describe the feature

Reimplement write_source_files and write_source_file as pure rules that can benefit from select()

Contributor guide

Open the contributing guide

Research direction

Start by locating the definitions and tests for write_source_files and write_source_file in the repository. Check how their current macro behavior prevents select() and define the expected behavior for pure rules; done means both entry points support select() without regressing existing use cases.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.