go: create better endpoint for packages directory

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

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

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

  • #1508 @asteurer による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go

調査の方向性

go-modules によって go.bytecodealliance.org/cm エンドポイントがどのように提供されているか、また crates/go/src/package 配下の Go パッケージが現在どのように利用されているかを確認してください。エンドポイント名を決定し、その後、v0.51.0 で go.bytecodealliance.org/wit-bindgen として解決され、既存の replace ディレクティブが削除されることを確認してください。

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

説明

The go-modules project uses an endpoint for their wit types that looks like this: go.bytecodealliance.org/cm. I'm wondering if we can create a similar endpoint for wit-bindgen's Go package and have it be something like go.bytecodealliance.org/wit-bindgen. This would mean we wouldn't need to add a replace directive in the mod file:

require (
-	github.com/bytecodealliance/wit-bindgen v0.0.0-00010101000000-000000000000
+       go.bytecodealliance.org/wit-bindgen v0.51.0
	github.com/julienschmidt/httprouter v1.3.0
)

- replace github.com/bytecodealliance/wit-bindgen => github.com/bytecodealliance/wit-bindgen/crates/go/src/package v0.51.0 

Also, I don't have super strong opinions on what the actual endpoint will be named. If there are other endpoints that folks like better than /wit-bindgen, please feel free to share!

主要言語
Rust
スター
1.5k
フォーク
306
平均マージ
1日 4時間
マージ済み PR(30日)
21

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

bytecodealliance/wit-bindgen のほかの issue

bytecodealliance/wit-bindgen の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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