Make cmd/pscale `go install`-able
まだ誰も着手していません。
評価
調査の方向性
cmd/pscale と go.mod 内の単一の replace ディレクティブから始め、次に go install github.com/planetscale/cli/cmd/pscale@latest を実行して報告された失敗を再現します。置き換えられた依存関係を追跡し、モジュールのインストールに影響を与える replace ディレクティブがなくてもコマンドが正常にインストールされることを確認します。
索引モデルが issue の本文から書いたものです。
説明
It would be great if some of us Go users can install/update the pscale library by just doing go install github.com/planetscale/cli/cmd/pscale@latest
However, due to the 1 replace directive, go install refuses to install binaries that have a replace directive in them:
$ go install github.com/planetscale/cli/cmd/pscale@latest
go: downloading github.com/planetscale/cli v0.177.0
go: github.com/planetscale/cli/cmd/pscale@latest (in github.com/planetscale/cli@v0.177.0):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Looking at the go.mod file, there's only one replace clause, which seems like a hopefully small lift (by either changing the import path of the fork), or resolving whatever is being replaced upstream would unable this helpful feature.
Thanks!
- 主要言語
- Go
- スター
- 670
- フォーク
- 63
- 平均マージ
- 11時間 37分
- マージ済み PR(30日)
- 64
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
planetscale/cli のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
planetscale/cli#1172 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
planetscale/cli#980 · コメント 1 件 ·
planetscale/cli の issue をすべて見る
似ている issue
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
🤔 refinement needed
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
equinor/radix-operator#1979 ·