Move ExecutionStatus and ITargetModel into the Fallout.Core.Execution namespace
Maintainer thường phản hồi trong vòng 5 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
- 64/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- csharp
- Lĩnh vực
- build-system, testing-qa, tooling
Hướng nghiên cứu
Bắt đầu với src/Fallout.Core/Execution/ExecutionStatus.cs, src/Fallout.Core/Execution/ITargetModel.cs và tests/Fallout.Core.Specs/ArchitectureFitnessSpecs.cs, sau đó đọc recipe của migration step và RewriteCsFilesStep. Cập nhật namespace và architecture guard, thêm using và coverage cho việc rewrite với tên được định danh đầy đủ, cùng một trường hợp file không bị thay đổi, trong tests/Fallout.Migrate.Specs, và ghi lại breaking change trong CHANGELOG.md; hoàn tất khi tất cả acceptance criteria đều đạt.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
ExecutionStatus and ITargetModel ship in Fallout.Core.dll but declare
namespace Fallout.Common.Execution (src/Fallout.Core/Execution/ExecutionStatus.cs:1,
src/Fallout.Core/Execution/ITargetModel.cs:3). Core is the innermost layer. A Core type
sitting under an outer layer's namespace inverts the layering in naming. Both types are
public, so correcting this breaks consumers and must ride a yearly major.
Outcome
Both types live under Fallout.Core.Execution. The architecture fitness test that guards
this rule has no exceptions left. Consumers upgrade by running fallout-migrate, without
hand-editing their own source.
Acceptance criteria
-
ExecutionStatusandITargetModeldeclarenamespace Fallout.Core.Execution. -
GrandfatheredNamespacesintests/Fallout.Core.Specs/ArchitectureFitnessSpecs.cs
is empty, and the filter that reads it is removed. -
fallout-migraterewrites the old namespace in consumer*.csfiles. The rule goes
intoRewriteCsFilesStep, the step that already covers*.cs— not a new step. See
the migration step recipe. -
tests/Fallout.Migrate.Specscovers that rewrite: theusingform, the fully
qualified form, and a file that must not be touched. -
CHANGELOG.mdrecords the break under the next yearly major. It gives the old and
new full type names and points atfallout-migrate.
Notes
The rule and the frozen exception list come from #586, which moved Fallout's constants into
Core. Breaking changes follow AGENTS.md rule 1. A shim cannot cover this rename: type
forwarders keep the full type name, and ExecutionStatus is an enum, so it cannot be
aliased. That makes the fallout-migrate rule the migration path, not an optional extra.
- Ngôn ngữ chính
- C#
- Star
- 169
- Fork
- 21
- Merge trung bình
- 3 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 9
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 Fallout-build/Fallout
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Fallout-build/Fallout#708 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
.\build.ps1 in its current state isn't capable for :add-package commandCó thể đã có người làm @ITaluone đã nhận 37 ngày trước. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Fallout-build/Fallout#670 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
PR #640 causes very annoying .NET SDK not foundCó thể đã có người làm @ITaluone đã nhận 2 ngày trước. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Fallout-build/Fallout#669 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
CD enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Fallout-build/Fallout#649 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Fallout-build/Fallout#630 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của Fallout-build/Fallout
Issue tương tự
-
area: design documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eyalgolan/statecraft-israel#883 ·
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 76/100
Maintainer thường phản hồi trong vòng 3 ngày
-
area/indexing bug package/core triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
elastic/docs-builder#4495 ·
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 65/100
Maintainer thường phản hồi trong vòng 1 ngày