Read Rust file names from Git without quote decoding errors
メンテナーはふだん 1 日以内に返信
@tecnolgd がすでに取り組んでいます。
2026年10月9日 から。
評価
調査の方向性
まず tools/format-rust.py、特に rust_files と git ls-files の出力の読み取り方を確認してください。Gitによるファイル名の引用符付けが、現在の行区切りの解析にどう影響するかを確認し、その後、Unicode、空白、エスケープ文字や制御文字を含むファイル名を使って、ヘルパーレベルのテストを実行するか再現してください。完了条件は、追跡対象のすべてのRustパスが漏れなく処理され、既存のディレクトリ除外動作が維持されていることです。
索引モデルが issue の本文から書いたものです。
説明
Problem
rust_files runs line-delimited git ls-files and treats each line as a literal path. Git quotes non-ASCII and control-character filenames by default, so the helper silently skips valid tracked Rust files.
Reproduction
At fd07427f4a976de05e38eff3ee1760db97fbb761, a focused stub supplied the normal quoted Git record "caf\303\251.rs" for an existing café.rs file. list(rust_files()) returned []. This is a helper-level executed reproduction; no repository files were renamed. See tools/format-rust.py.
Scope
Use an unambiguous Git filename protocol, such as NUL-delimited output, preserving spaces, Unicode and embedded newlines. Difficulty: easy.
Completion criteria
- Visit every existing tracked Rust path without silent skipping.
- Test Unicode, spaces and escaped/control-character filenames.
- Retain skip-directory behavior.
- 主要言語
- Rust
- スター
- 56
- フォーク
- 21
- 平均マージ
- 3時間 17分
- マージ済み PR(30日)
- 61
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wavefnd/Wave のほかの issue
-
enhancement good first issue needs testing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
documentation enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area: backend type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
armadavalor/WinKnife#6 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
5omeOtherGuy/phaseone#870 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
MattA-Official/vwmcp#20 ·