bazel-contrib / bazel-contrib/rules_python
Idea - Leverage pip.dep for the coverage tooling
- Vorherrschende Sprache
- Starlark
- Sterne
- 688
- Forks
- 721
- Ø Merge
- 15 Std. 7 Min.
- Gemergte PRs (30 T.)
- 76
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- build-system
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100