-
Notifications
You must be signed in to change notification settings - Fork 13
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
HAMR-164: Add migrate command #287
Conversation
@@ -94,7 +94,7 @@ def click_config_file_provider(ctx: Context, opts: CustomOptionClass, value: Non | |||
type=int, | |||
default=60, | |||
show_default=True, | |||
help="The HTTP request retry timeout period. Defaults to 60s", | |||
help="The HTTP request retry timeout period in seconds.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the show_default=True
already shows the default of 60.
@@ -104,7 +104,7 @@ def click_config_file_provider(ctx: Context, opts: CustomOptionClass, value: Non | |||
type=int, | |||
default=30, | |||
show_default=True, | |||
help="The HTTP request timeout period. Defaults to 30s", | |||
help="The HTTP request timeout period in seconds.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the show_default=True
already shows the default of 30.
"--create-global-downtime", | ||
required=False, | ||
is_flag=True, | ||
default=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably switch the create-global-downtime to default to true since we almost always want it to happen.
What does this PR do?
Add a
migrate
command that both imports and sync resources in one step.Description of the Change
Add the
migrate
command that just does animport
and async
. Renamed the non_import_common_options to be diff_common_options since these options are shared between diff, sync, and migrate. Created sync_common_options to be shared between sync and migrate.