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 摘要。