graphprotocol / graphprotocol/graph-node

[Feature] Include pointer to source in subgraph manifest

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

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

enhancement needs discussion needs planning Stale
主要言語
Rust
スター
3.2k
フォーク
1.1k
平均マージ
4日 1時間
マージ済み PR(30日)
1

説明

Description

Most subgraphs are maintained in git, but once they are deployed, the connection to the source is lost. Subgraph schemas should make it possible to include a URL to a git repo and a commit hash to make it possible to trace the provenance of a deployed subgraph. This should be supported by graph-cli to make filling these fields convenient, and probably needs some option to turn it off for people who do not want that information published.

Some information to help us out
  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、subgraph のスキーマとマニフェストがどのように表現されているか、また graph-cli が現在どのようにデプロイメタデータを設定しているかを追跡します。git リポジトリの URL とコミットハッシュをどのように保存するか、graph-cli がそれらをどのように設定するか、ユーザーが公開を無効化するにはどうするかを定義します。デプロイされた subgraph がこの来歴を、必須にすることなく保持できれば、この機能は完了です。

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

評価

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

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

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