graphprotocol / graphprotocol/graph-node

graphman command to manage deployed subgraphs

Open
#4,234 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Do you want to request a feature or report a bug?
feature

What is the expected behavior?
graphman can be passed a list of subgraphs and will make the necessary updates to ensure that is the current list of subgraphs, removing anything not on the list and adding anything missing from the list. This should also check for grafts and deploy/remove the (un)necessary ones.

example:
graphman subgraphs ensure < subgraphs.csv
graphman subgraphs status < subgraphs.csv

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at graphman's subgraphs command and inspect how deployed subgraphs and grafts are currently listed, added, and removed. Trace the CSV input handling for the proposed ensure and status commands. Done means the requested list is reconciled, unnecessary deployments are removed, missing ones are added, and grafts are handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.