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

added availability flags and logic for genesis setting #77

Open
wants to merge 19 commits into
base: spyglass
Choose a base branch
from

Conversation

purnendu15
Copy link
Collaborator

No description provided.

node_type = 'genesis'
genesis_set = True
else:
node_type = 'genesis'
Copy link
Collaborator

Choose a reason for hiding this comment

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

node_type should be genesis in else loop?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This has been fixed. It should be controller

hosts_list = []
genesis_set = False
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it a design rule to take first node as genesis or hardcoded?

Instead of introducing new flag, why cant the first element is taken out of control_host, handle genesis stuff. And then for loop from [1:]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Left it for readability sake we can loop fron [1: ] also



1. Running Spyglass with Remote Data Source
-s, --site TEXT Specify the site for which manifests to be
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we create plugin as the sub command to spyglass, this will cleanup this help to an extent.

e.g.: spyglass [options] plugin_name [ options]
spyglass --loglevel 10 tugboat ...

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.

3 participants