Repository versions: a `verification` summary only staff can set
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
- 45/100
Hướng nghiên cứu
Start with core/common/models.py, especially ConceptContainerModel and update_version_data, then trace the version list and detail serializers in core/sources/serializers.py and core/collections/serializers.py. Read the export serializer at core/sources/serializers.py:593 and the related tests; done means the stated staff permissions, field shape, version creation behavior, exports, and API responses are covered.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of OpenConceptLab/ocl_online#500.
A source or collection version can carry a short summary of how it was checked against its publisher's official release. The API returns it, and TBv3 shows it (OpenConceptLab/ocl_issues#1892, OpenConceptLab/ocl_issues#3025).
- New nullable JSON field
verificationon repository versions; rejected on HEAD. - Returned with a version's detail and in the versions list.
- Only staff can set, change or clear it; anyone else gets 403. Repository admins can't set it, directly or through
extras. - Not copied when a new version is created, and left out of exports (the export is what the check fingerprints).
- Shape checked on write:
verified_at,verified_by,release(publisher, name, date, url, sha256),licence,citation,counts(release, repository, unexplained),changes(name, reason, count),checks(the six items, each passed). - Tests: staff write, non-staff 403, no copy to a new version, absent from the export.
Components: core/common/models.py (ConceptContainerModel, update_version_data :1371), version list and detail serializers in core/sources/serializers.py and core/collections/serializers.py, export serializer core/sources/serializers.py:593. Drafted by a Claude session; Sunny reviews and deploys.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4
- Fork
- 2
- Merge trung bình
- 2 giờ 12 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc 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 OpenConceptLab/ocl_issues
-
component/fhir type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
OpenConceptLab/ocl_issues#3026 ·
-
component/api decision/human-review signal/needs-access signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenConceptLab/ocl_issues#3012 · 2 bình luận ·
-
component/design-system decision/ai-ready signal/low-risk signal/quick-win signal/small-scope signal/well-specified stage/triaged type/docs
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 70/100
OpenConceptLab/ocl_issues#2983 · 1 bình luận ·
-
component/mapper decision/ai-ready signal/low-risk signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenConceptLab/ocl_issues#2966 · 2 bình luận ·
-
component/mapper component/web decision/human-review signal/low-risk signal/needs-human signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
OpenConceptLab/ocl_issues#2920 · 1 bình luận ·
Tất cả issue của OpenConceptLab/ocl_issues
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
coder/claudecode.nvim#587 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
digitalbazaar/http-client#60 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fivetran/dbt_recurly#55 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
topmonks/hlidac-shopu#3687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug lane: fast
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
unicef/adt-studio#1109 ·
Maintainer thường phản hồi trong vòng 2 ngày