graphprotocol / graphprotocol/graph-node
graphman command to manage deployed subgraphs
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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