validate: the relative-link check is case-insensitive on Windows and macOS, so a wrong-case link passes locally and fails in CI
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 57/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, node.js
調査の方向性
Start with site/validate.mjs:185-189 and site/build.mjs:337-341, where the issue identifies the case-insensitive filesystem checks. Read how the relative-link resolver uses kindOf, then run npm run validate with a fixture link whose case differs from the on-disk path. Done means validation on Windows reports the wrong-case link with the same message as CI on Linux.
索引モデルが issue の本文から書いたものです。
説明
Why it matters
The maintainer develops on Windows. A link such as ../Docs/Licence-Guide.md resolves with fs.existsSync on NTFS/APFS, npm run validate says "no broken links", and the first signal is a red check on the pushed commit, or a 404 on GitHub Pages, which is case-sensitive.
Evidence (at 69387df)
site/validate.mjs:185-189 resolves the link and only calls fs.existsSync(resolved), with no case comparison. The same applies to kindOf in site/build.mjs:337-341, used by the link resolver.
Suggested approach
After existsSync, compare path.basename(fs.realpathSync.native(resolved)) with path.basename(resolved) (and the parent directory name) and report "broken link (case differs on disk: ...)" when they differ. Share the helper with build's kindOf.
Done when
A fixture link with the wrong case fails npm run validate on Windows with the same message CI gives on Linux.
- 主要言語
- JavaScript
- スター
- 58
- フォーク
- 15
- 平均マージ
- 16時間 53分
- マージ済み PR(30日)
- 14
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/Free-Game-Dev-Assets のほかの issue
-
community marketing priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
TMHSDigital/Free-Game-Dev-Assets#151 ·
メンテナーはふだん 1 日以内に返信
-
documentation priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TMHSDigital/Free-Game-Dev-Assets#72 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
TMHSDigital/Free-Game-Dev-Assets#3 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
marketing priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
TMHSDigital/Free-Game-Dev-Assets#152 ·
メンテナーはふだん 1 日以内に返信
-
feature priority: medium
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
TMHSDigital/Free-Game-Dev-Assets#144 ·
メンテナーはふだん 1 日以内に返信
TMHSDigital/Free-Game-Dev-Assets の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
メンテナーはふだん 1 日以内に返信
-
Cloudredirectオープン
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
0.2.1-rc.3 compatibility: 21 peer ranges enumerate exact versions, so rc.3 is rejected対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
NanmiCoder/dsh-agent-teams#277 ·
メンテナーはふだん 1 日以内に返信
-
[ordering-review] workshop order graph: 1 confirmed ordering problem, 3 cycles are false positivesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-aw-workshop#4943 ·
メンテナーはふだん 1 日以内に返信