-
Notifications
You must be signed in to change notification settings - Fork 42
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
Make dry_run a setting and --force its inverse #236
Conversation
fe73eba
to
44c2859
Compare
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.
LGTM. Maybe update https://github.com/pulp/pulp-cli/blob/develop/docs/install.md#katello ?
@@ -87,3 +87,6 @@ key = "/etc/pki/katello/private/pulp-client.key" | |||
verify_ssl = false | |||
``` | |||
|
|||
As Katello uses Pulp as a backend all modifying actions in Pulp should be performed via Katello. | |||
Therefore you are also strongly encourged to set `dry_run = false`, to prevent accidentally calling into dangerous commands. | |||
This setting can in turn be overwritten on the command-line with the `--force` flag. |
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.
@daviddavis
Is this, what you had in mind?
@@ -87,3 +87,6 @@ key = "/etc/pki/katello/private/pulp-client.key" | |||
verify_ssl = false | |||
``` | |||
|
|||
As Katello uses Pulp as a backend all modifying actions in Pulp should be performed via Katello. | |||
Therefore you are also strongly encourged to set `dry_run = false`, to prevent accidentally calling into dangerous commands. |
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.
Should that have been dry_run = true
? ;-)
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.
absolutely!
fixes TBA