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

Make dry_run a setting and --force its inverse #236

Merged
merged 1 commit into from
May 13, 2021

Conversation

mdellweg
Copy link
Member

fixes TBA

mdellweg added a commit to mdellweg/pulp-cli that referenced this pull request May 12, 2021
@mdellweg mdellweg marked this pull request as ready for review May 12, 2021 17:32
@mdellweg mdellweg force-pushed the no_dry_run branch 3 times, most recently from fe73eba to 44c2859 Compare May 13, 2021 08:01
Copy link
Contributor

@daviddavis daviddavis left a comment

Choose a reason for hiding this comment

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

@@ -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.
Copy link
Member Author

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?

@mdellweg mdellweg mentioned this pull request May 13, 2021
@mdellweg mdellweg merged commit d845811 into pulp:develop May 13, 2021
@mdellweg mdellweg deleted the no_dry_run branch May 13, 2021 20:42
@mdellweg mdellweg added this to the 0.9.0 milestone May 14, 2021
@@ -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.
Copy link
Member

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? ;-)

Copy link
Member Author

Choose a reason for hiding this comment

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

absolutely!

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