CLI inconsistencies: `graph evaluate` takes a path where `evaluate` takes an id, and `spec schema` takes the version positionally

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

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

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

評価

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

調査の方向性

Start by locating the CLI definitions for experimental graph evaluate, spec schema, and spec examples, then compare how they parse graph selection and spec versions. Reproduce the reported behavior with the released CLI commands. Done when graph selection gives a clear, consistent result for configured graph ids or explains that a path is expected, and spec schema accepts --spec-version.

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

説明

bug

Observed.

  • jpack experimental evaluate selects a pack with --pack-id. jpack experimental graph evaluate takes the graph's file path; given the configured graph id it answers "could not be read as one bounded regular file", which does not point at the cause.
  • jpack spec schema 0.3.0 takes the version as a positional argument, while jpack spec examples takes --spec-version.

Ask. Accept a configured graph id (or say in the error that a path is expected), and accept --spec-version on spec schema.

Found in an end-to-end trial of the released binaries (Runtime v0.40.0). Verified by running.

主要言語
Go
スター
2
フォーク
6
平均マージ
2時間 11分
マージ済み PR(30日)
63

環境構築

はじめの一歩

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

Judgment-Pack/judgment-pack-runtime のほかの issue

Judgment-Pack/judgment-pack-runtime の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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