Record frame: remaining review nits (PR #147)

オープン
#154 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
backend

調査の方向性

Read the listed code locations in RecordFileReader.cs, RecordRoot.cs, and RecordJsonSchema.cs, then review reports/te-review-record-frame.md and the fixtures under records/. Start by separating the parser, validation, schema, fixture, and depth-limit items into independently scoped changes. Done means each selected review nit has a focused fix and regression coverage; the issue lists several unrelated items, so a first contributor should coordinate which one to take.

索引モデルが issue の本文から書いたものです。

説明

From H:\work\gdr-design-20261102\reports\te-review-record-frame.md P3s not fixed in the PR:

  • A tab or several spaces after key: gets no scalar-style finding, so a rewrite changes bytes silently.
  • A raw tab in a plain-text block reads as a space with only an info finding (RecordFileReader.cs:777-786).
  • RecordRoot.cs:30-40: /objects/ accepted as a whole record of the file's kind; top folder never checked.
  • RecordJsonSchema.cs:23 hardcodes fwmd 1; :70 '--frame' definition name can collide.
  • RecordFileReader.cs:855: a notation fix with several edits is dropped silently.
  • Fixtures: reused ids (fwmd.ws.unknown, fwmd.syntax.unknown-attribute, fwmd.env.unknown-class) have no ok: negatives in records/; more syntax-error cases.
  • Watch: YamlDotNet takes 1.8 s on an unclosed [ nested 20,000 deep; consider a depth cap.
主要言語
C#
スター
0
フォーク
0
平均マージ
1時間 43分
マージ済み PR(30日)
43

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sillsdev/SIL.TextEditing のほかの issue

sillsdev/SIL.TextEditing の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。