Investigate using postgresql ArrayField rather than JSONField for simple, one-dimensional lists of strings
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with pulp_python/app/models.py lines 113-117 and the Django ArrayField documentation. Compare ArrayField with JSONField for the simple one-dimensional string lists described there, including efficiency and convenience. Done means producing a clear recommendation about whether this approach is suitable for adoption by other plugins.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We've got a ton of these: https://github.com/pulp/pulp_python/blob/master/pulp_python/app/models.py#L113-L117
It would be interesting whether ArrayField is more efficient or convenient for this use case. https://docs.djangoproject.com/en/3.2/ref/contrib/postgres/fields/#arrayfield
We should do some research to see if it's a good idea - other plugins may want to adopt it also.
- Ngôn ngữ chính
- Python
- Star
- 49
- Fork
- 88
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 31
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pulp/pulp_python
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
pulp/pulp_python#1381 ·
-
Feature Triage-Needed
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
pulp/pulp_python#1371 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
pulp/pulp_python#1360 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
pulp/pulp_python#1358 ·
-
Feature
pulp/pulp_python#1340 · 1 người được giao ·
Tất cả issue của pulp/pulp_python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
🐛 Bug 🔔 Pending processing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
jumpserver/jumpserver#17584 ·