Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphman deploy command #4930

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Graphman deploy command #4930

merged 2 commits into from
Oct 24, 2023

Conversation

incrypto32
Copy link
Member

Closes #4842


/// The url of the graph-node
#[clap(long, short, default_value = "http://localhost:8020")]
url: String,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be awesome if we would not need a url, but getting away from that might be pretty tough as we would have to instantiate our own SubgraphRegistrar; if the default is ok in most cases, I think it's not a big deal.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That didn't cross my mind, just took a look at how that would turn out. We still would need to provide a NodeID when creating a new SubgraphRegistrar.
And the default_value for the url i believe is almost always ok unless the indexer change it explicitly. So we can go with this now and update in the future?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, let's not hold this up because of the URL; just go ahead and merge

node/src/manager/commands/deploy.rs Outdated Show resolved Hide resolved
@incrypto32 incrypto32 merged commit 886af97 into master Oct 24, 2023
7 checks passed
@incrypto32 incrypto32 deleted the krishna/graphman-deploy branch October 24, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add a graphman deploy
2 participants