Fix test fixture, README provenance and remaining Windows-only polish
Chưa có ai nhận issue này.
Đá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
- 62/100
Hướng nghiên cứu
Bắt đầu từ fixture TestCompareWindowsOnly trong plugin/scripts/godebugdiff_test.go, nơi winreadlinkvolume được kỳ vọng là Changed: 26 nhưng lẽ ra phải là 23. Tái hiện mục 1 bằng cách comment dòng c.WindowsOnly = isWindowsOnly(k) trong compare() và kiểm tra URL trong thông báo lỗi. Hoàn thành khi fixture khẳng định 23 với URL #go-123 và kiểm tra Before, After và Package, và examples/README.md nêu toolchain của từng tệp ở một chỗ duy nhất.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up from #12:
- TestCompareWindowsOnly (plugin/scripts/godebugdiff_test.go) gives winreadlinkvolume Changed: 26. The real value is 23, so the change gets the URL go.dev/doc/godebug#go-126 instead of #go-123. To reproduce: comment out c.WindowsOnly = isWindowsOnly(k) in compare() and run the test; the failure message prints URL:https://go.dev/doc/godebug#go-126. Use 23. The test also ignores the second value compare() returns and never checks Before, After or Package. Asserting them costs nothing.
- The WindowsOnly field comment now says "Windows-specific setting", but isWindowsOnly only checks the "win" name prefix. Make the comment match the rule, or derive the mark from an explicit list.
- examples/README.md line 12 still says the real outputs were made with Go 1.27.3, and the new line 24 says cobra.txt was redone with Go 1.27.4. Put the toolchain for each file in one place, for example a column in the table.
- Item 3 of #11 is still open, although #12 closes #11: the "No binary imports the package, so no effect" section still adds "(Windows only)". To reproduce: run from 1.22 to 1.23 on a module whose only binary is an empty func main() {}. Also, windowsOnly still uses omitempty while goCommand is always emitted, and the report does not tell Linux-only services that they can ignore the pins for Windows-only settings.
GillMacedo
- Ngôn ngữ chính
- Go
- Star
- 0
- Fork
- 3
- Merge trung bình
- 4 giờ 55 phút
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- 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 GillMacedo/godebugdiff
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Add a --only flag to filter by packageCó thể đã có người làm @snehaapratap đã nhận 13 ngày trước. Đang mởgood first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
-
Read the go line from go.work in workspace modeCó thể đã có người làm @ducnhan123-co đã nhận 12 ngày trước. Đang mởgood first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
GillMacedo/godebugdiff#4 · 1 bình luận ·
-
good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Tất cả issue của GillMacedo/godebugdiff
Issue tương tự
-
good first issue severity: low tech-debt
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 75/100
TMHSDigital/subenum#329 ·
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
GillMacedo/racesift#14 ·
-
IsTextFile reads the whole file into memory (OOM on large files in the file watcher)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gtsteffaniak/filebrowser#3395 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
effort:s impact:low raised-by:worker risk:low
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
medici-finance/assay#6496 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/bug require/reproduce require/severity
Độ 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