graphprotocol / graphprotocol/graph-node

[Feature] Include pointer to source in subgraph manifest

Offen
#5,181 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement needs discussion needs planning Stale
Vorherrschende Sprache
Rust
Sterne
3.2k
Forks
1.1k
Ø Merge
4 T. 1 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit nachzuverfolgen, wie Subgraph-Schemas und Manifeste dargestellt werden und wie graph-cli derzeit Deployment-Metadaten ausfüllt. Lege fest, wie eine git-Repository-URL und ein Commit-Hash gespeichert würden, wie graph-cli sie ausfüllen würde und wie Benutzer die Veröffentlichung deaktivieren könnten; die Funktion ist fertig, wenn bereitgestellte Subgraphs diese Provenienz bewahren, ohne dass sie erforderlich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git, graphql, rust
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.