Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

darnit run --apply can ask twice for one remediation step

Đang mở
#547 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

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
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start by reading the remediation safety work on the 043 branch and trace how darnit run --apply obtains approval for plan items and platform change sets. The issue names no files or tests, so locate the relevant approval and digest logic first. Done means approving either side of a plan item made only of change sets approves the other, while high-impact change sets still require individual digest approval.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

interface-cli ux

On the 043 branch, darnit run --apply on a terminal can ask twice for one remediation step: once for the plan item (because the remediation is safe = false) and once for its platform change set (because the [remediation] policy is prompt). The digest rules treat these as separate approvals, but to the person it is the same change.

Proposed: when a plan item's only actions are change sets, approving the plan item approves its change sets, and vice versa. Keep the individual digest requirement for high-impact change sets.

Found while implementing feature 043 (remediation safety, branch 043-remediation-safety, not yet merged).

Ngôn ngữ chính
Python
Star
22
Fork
27
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
51

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của darnitdevorg/darnit

Tất cả issue của darnitdevorg/darnit

Issue tương tự

Thêm issue về Python

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.