bazel-contrib / bazel-contrib/rules_python

Idea - Leverage pip.dep for the coverage tooling

Ouverte
#3,902 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Starlark
Étoiles
688
Forks
721
Merge moyen
15 h 7 min
PR mergées (30 j)
76

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
build-system
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
Calme
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.