Remove the deprecated spellings, and --output-file, which no tool uses
Maintainer thường phản hồi trong vòng 1 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
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp
- Lĩnh vực
- cli, documentation, testing
Hướng nghiên cứu
Start with the deprecated option and key handling in src/App/Config.cpp, src/App/ToolConfig.cpp, and include/ctrace_defs/types.hpp; review the tests and docs/configuration.md section named in the issue. Update the warning for --output-file and output_file, then remove the listed compatibility paths, their tests, and the Legacy Compatibility section. Update CHANGELOG.md for the removal release and run ctest; removed keys and options should be rejected.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
ctrace still accepts spellings that were replaced, each with its own code path, tests and documentation:
| Spelling | Replaced by | Where |
|---|---|---|
--async, runtime.async |
--jobs, runtime.jobs (#158) |
src/App/Config.cpp:151, src/App/ToolConfig.cpp:729 |
--ipc=socket |
--ipc=standardIO (#83) |
include/ctrace_defs/types.hpp:26-41 |
Root invoke and input, stack_analyzer legacy keys, stack_analyzer.include_dirs and defines, tools.ctrace_stack_analyzer, tools.stack_analyzer |
The canonical sections (#87) | src/App/ToolConfig.cpp (applyLegacyRootInvokeAndInput, deprecated); docs/configuration.md, "Legacy Compatibility" |
--output-file (config output.output_file, API output_file) is in a worse state: its help text says "Legacy output path; no current tool writes to it" (src/App/Config.cpp:72). It is accepted, without any warning, and does nothing.
To do
- Make
--output-fileandoutput_filewarn like the other deprecated spellings. - In
CHANGELOG.md, announce the release that removes them all. - In that release, remove them, with their tests and the "Legacy Compatibility" section of
docs/configuration.md.
Acceptance
- After the removal, a removed key is rejected with the unknown-key diagnostic that names the allowed keys, and a removed option is rejected by the CLI.
ctestpasses.
From the technical debt register (docs/quality/technical-debt.md, D6).
- Ngôn ngữ chính
- C++
- Star
- 5
- Fork
- 4
- Merge trung bình
- 1 giờ 2 phút
- Pull request đã merge (30 ngày)
- 74
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 CoreTrace/coretrace
-
documentation severity/minor
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
chore good first issue severity/minor
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
build severity/minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
build good first issue severity/minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
test: add unit tests for ctrace::RunDirectoryCó thể đã có người làm @tecnolgd đã nhận 1 ngày trước. Đang mởgood first issue test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CoreTrace/coretrace#164 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CoreTrace/coretrace
Issue tương tự
-
ai_p1 comp-message-queues
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ClickHouse/ClickHouse#125890 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
yt-project/ewah_bool_utils#215 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
redis/memtier_benchmark#642 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Feature Request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
sandboxie-plus/Sandboxie#5653 ·
Maintainer thường phản hồi trong vòng 1 ngày