Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

HAR: Dart trailing YAML comments end up in the parsed version

オープン 初心者向け
#333 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

@BlueLabelscotch がすでに取り組んでいます。

2026年10月23日 から。

  • #350 @BlueLabelscotch による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
63/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

Dart の push パスにある parsePubspecNameVersion から始め、行ベースの解析を固定された参照先 harness/harness-cli の push_npm.go と比較してください。gopkg.in/yaml.v3 を追加する前に、プロジェクトが Go の依存関係をどのように管理しているか確認してください。name と version の末尾コメントが解析後の値から除外されれば完了です。issue ではテストファイルは指定されていません。

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

説明

Bucket: P (hc did this right before the port, ours differs)
Source issue: #4 from internal HAR porting triage

hc behaviour

Uses gopkg.in/yaml.v3 to parse pubspec.yaml (dependency present in hc since 2026-01-27).

Current gap

parsePubspecNameVersion in the Dart push path is line-based ("no YAML library dependency" per code comment), so trailing YAML comments on the version/name lines get captured as part of the value.

Fix approach

Add a YAML library dependency (gopkg.in/yaml.v3) and parse pubspec.yaml properly instead of line-matching.

hc reference

Match this against the original implementation in harness/harness-cli (hc), pinned at commit 0772e94: push_npm.go

主要言語
Go
スター
25
フォーク
13
平均マージ
2日 4時間
マージ済み PR(30日)
67

環境構築

はじめの一歩

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

harness/cli のほかの issue

harness/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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