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

Record 1.4's export formats and `cli-1.4.0.json`

Đang mở
#42 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 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, sqlite
Lĩnh vực
backend, cli, testing

Hướng nghiên cứu

Read the fixture writers in MarkdownFixtureTests.cs, LibraryFixtureTests.cs, and CliContractTests.cs, then inspect the seven prompts and export formats from #39. Record the 1.4 exports under export-1.4.0/, add cli-1.4.0.json and any required migration fixture, and pin the new files in tests/pinned-fixtures.sha256. Done when changing how a format writes a variable causes a test to fail.

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

Mô tả

Once 1.4 ships, its export formats and the export command join the promise. Later versions keep writing what 1.4 wrote, or at least something the same tools read.

What to do

  • Record each export format from #39 as 1.4 writes it, for the same seven prompts as markdown-1.0.0/, in a new export-1.4.0/ beside it, and pin the files.
  • Record cli-1.4.0.json with export in each format, with each exit code and its output.
  • If the mirror's tracking adds a migration (#37), add its schema-N.db fixture as the library fixtures already require.
  • Never edit, regenerate or delete an existing fixture.

Where to look

  • tests/Prompuff.Infrastructure.Tests/MarkdownFixtureTests.cs: Write_fixtures (PROMPUFF_WRITE_MARKDOWN_FIXTURES)
  • tests/Prompuff.Infrastructure.Tests/LibraryFixtureTests.cs: Write_fixtures (PROMPUFF_WRITE_FIXTURES)
  • tests/Prompuff.Cli.Tests/CliContractTests.cs: Write_contract
  • tests/pinned-fixtures.sha256

Done when

  • The new recordings are pinned, and changing how a format writes a variable fails a test.
Ngôn ngữ chính
C#
Star
0
Fork
1
Merge trung bình
1 giờ 21 phút
Pull request đã merge (30 ngày)
22

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 hazeliscoding/prompuff

Tất cả issue của hazeliscoding/prompuff

Issue tương tự

Thêm issue về C#

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.