AlmaLinux / AlmaLinux/build-system

Refactor query in build feed endpoint

Aperta
#478 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Nessun dato sulla lingua
Stelle
32
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.