Augment Bazel query syntax to support external modules
- Vorherrschende Sprache
- Java
- Sterne
- 25.8k
- Forks
- 4.6k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 72
Beschreibung
### Motivation
Bazel query syntax can capture all packages recursively via `//...` but this only supports the `_main` module.
If you would like to capture EVERYTHING including third-party repositories, there is no such syntax.
This can be useful for things like package_groups where you might want to select everything but toggle away certain groups.
Right now there is no solution this problem except for numerating all your third-party modules manually in the package_group
[Slack thread](https://bazelbuild.slack.com/archives/CA31HN1T3/p1753629794374009) with additional information.
Beitragsleitfaden
Rechercherichtung
In der Issue werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, das hier beschriebene Verhalten von Bazel query syntax und den verlinkten Slack-Thread zu prüfen; abgeschlossen ist die Aufgabe, wenn eine Abfragesyntax alle Pakete erfassen kann, einschließlich Paketen aus Drittanbieter-Repositories, ohne externe Module manuell aufzuzählen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- build-system
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100