darnit plan --profile still refuses after #597 fixed the reason
Maintainer thường phản hồi trong vòng 3 ngày
Một pull request liên quan đã được merge.
- #713 của @JohnsonLyu — đã merge
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Việc từ chối nằm trong cmd_plan, và chú thích của nó trích dẫn #568, đã được đóng. Hãy so sánh với cmd_audit, hàm đã thu hẹp các control thông qua _resolve_profile_ids. Tái hiện bằng darnit plan --profile level1_quick <repo> và xác nhận lệnh thoát với mã 1. Hoàn thành khi plan chấp nhận profile, chỉ in các control đã chọn và trả về cùng lỗi như audit đối với profile không tồn tại hoặc lựa chọn rỗng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
darnit plan --profile still refuses, and the reason it gives no longer applies.
#576 made darnit audit --profile filter the controls and left plan refusing the flag, because plan crashed on frameworks whose controls carry no level (#568), so the flag couldn't be wired in a way that could be tested on the Baseline. #597 fixed that crash and closed #568.
On main (155dcc1b), on jonschlinkert/is-odd:
darnit plan <repo>exits 0 and prints the plan.darnit plan --profile level1_quick <repo>exits 1 withdarnit plan does not support --profile yet (#568); use darnit audit --profile, which points at a closed issue.darnit audit --profile level1_quick <repo>audits 26 of the 66 controls.
Suggested fix: narrow the plan with _resolve_profile_ids as cmd_audit does, with the same errors for an unknown profile or an empty selection, and remove the refusal and its comment in cmd_plan.
Drafted with AI assistance (Claude), reviewed and filed by me. Measurements quoted were executed and verified.
- Ngôn ngữ chính
- Python
- Star
- 22
- Fork
- 27
- Merge trung bình
- 4 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 75
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 darnitdevorg/darnit
-
ci needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
darnitdevorg/darnit#607 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
good first issue maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
darnitdevorg/darnit#587 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Container image has no zizmor, so OSPS-AC-04.02 always reports missing_toolCó thể đã có người làm @mlieberman85 đã nhận 20 ngày trước. Đang mởinfrastructure module-baseline
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
darnitdevorg/darnit#585 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
module-baseline
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
darnitdevorg/darnit#344 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
documentation module-core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
darnitdevorg/darnit#196 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của darnitdevorg/darnit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
strawberry-graphql/strawberry#4794 ·
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 78/100
dataforgoodfr/cetolog#21 ·
-
security_citations_test fails against ecc 2026.11.6: SECURITY.md quotes ecc v2026.11.2's linesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
btclib-org/btclib#2932 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
metrics priority: medium
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
LearningCircuit/local-deep-research#8336 ·
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 80/100