AlmaLinux / AlmaLinux/build-system

Refactor query in build feed endpoint

Đang mở
#478 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
32
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.