bazel-contrib / bazel-contrib/rules_python
Idea - Leverage pip.dep for the coverage tooling
- Dominant language
- Starlark
- Stars
- 688
- Forks
- 721
- Avg merge
- 14h 49m
- Merged PRs (30d)
- 81
Description
This is just a thought and it might not work but maybe it would.
1. Define a `pip.dep` with an extra alias to have an executable `filegroup` which is what the toolchain requires. This probably requires `pip.dep` to accept extra args.
2. If users attempt to run `bazel coverage` they would get an error asking them to include the `coverage` in the requirements.txt.
Contributor guide
Research direction
Start by examining how pip.dep handles extra arguments and how the coverage toolchain requires an executable filegroup. Compare that with the requirements.txt flow for bazel coverage; done means establishing whether the proposed alias and missing-dependency error are feasible and defining the required behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100