AlmaLinux / AlmaLinux/build-system
Refactor query in build feed endpoint
Offen
bug
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 32
- Forks
- 11
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
We have a problematic query in our build feed endpoint (see https://github.com/AlmaLinux/albs-web-server/blob/master/alws/crud/build.py#L133-L142). This query loads too many entries because of join statements, but without them, filters don't work. Also, we should refactor how we communicate with Pulp too, because currently, we're looking into the whole Pulp for packages. We should refactor these code parts without losing the ability to filter builds and without losing performance.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.