AlmaLinux / AlmaLinux/build-system

Refactor query in build feed endpoint

未關閉
#478 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
沒有語言資料
星號
32
分支
11
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。