-
-
Notifications
You must be signed in to change notification settings - Fork 15
Upgrade Clap to 3.0.4 #289
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
Conversation
//! name = "Spark Operator", | ||
//! author, | ||
//! version, | ||
//! about = "Stackable Operator for Foobar" |
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.
"Stackable Operator for Spark"
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.
Switched the remaining names to "Foobar Operator".
//! name = "Spark Operator", | ||
//! author, | ||
//! version, | ||
//! about = "Stackable Operator for Foobar" |
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.
Same here
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.
Switched the remaining names to "Foobar Operator".
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. | |||
|
|||
## [Unreleased] | |||
|
|||
### Changed | |||
- BREAKING: clap 2.33.3 -> 3.0.4 ([#289]). |
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.
Are there any breaking changes in how the operator is used now?
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.
Users need to replace their clap 2 and structopt dependencies with clap 3, and replace references to structopt::StructOpt
with clap::Parser
.
bors r+ |
Build succeeded: |
291: Allow overriding CLI run arg type r=teozkr a=teozkr ## Description This is useful for secret-operator, which doesn't have a product-config but does care about other options, such as the CSI plugin socket path. This depends on and builds upon #289. ## Review Checklist - [ ] Code contains useful comments - [ ] (Integration-)Test cases added (or not applicable) - [ ] Documentation added (or not applicable) - [ ] Changelog updated (or not applicable) Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de>
Description
This requires some manual work (compared to #288), since Clap is a breaking update. In particular,
structopt::StructOpt
has now been upstreamed asclap::Parser
.Review Checklist