-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Triage Structopt PRs since the fork #2809
Comments
@pksunkara and @CreepySkeleton since you two were involved a lot during the late stages of |
Looks like I found the point of divergence. We have everything up to 401 and need 414 and after |
TeXitoi/structopt#414 was ported in a951958 but the test was less exhaustive. This updates our test to match structopt's latest version of the test. This is a part of clap-rs#2809
Some programs do not use anything to separate word boundaries. For example a struct may contain the field `build_dir` while the flag is `--builddir`. This is a port of TeXitoi/structopt#412 This is part of clap-rs#2809
This carries over a test case from TeXitoi/structopt#448, and re-fixes it according to the changes we've made since we forked. I also tried to identify other cases and quote them to avoid playing whack-a-mole with this. This is a part of clap-rs#2809
This is a port of TeXitoi/structopt#450 This is a part of clap-rs#2809
…us type of `map` > This PR closes clap-rs#490. Please refer to clap-rs#490 for the detail of the problem. Let me know if you want to make `convert_type` a function. This is a port of TeXitoi/structopt#491 This is part of clap-rs#2809
> Resolves clap-rs#493 This is a port of TeXitoi/structopt#494 This is part of clap-rs#2809
This carries over a test case from TeXitoi/structopt#448, and re-fixes it according to the changes we've made since we forked. I also tried to identify other cases and quote them to avoid playing whack-a-mole with this. This is a part of clap-rs#2809
This is a port of TeXitoi/structopt#450 This is a part of clap-rs#2809
Some programs do not use anything to separate word boundaries. For example a struct may contain the field `build_dir` while the flag is `--builddir`. This is a port of TeXitoi/structopt#412 This is part of clap-rs#2809
This carries over a test case from TeXitoi/structopt#448, and re-fixes it according to the changes we've made since we forked. I also tried to identify other cases and quote them to avoid playing whack-a-mole with this. This is a part of clap-rs#2809
TeXitoi/structopt#414 was ported in a951958 but the test was less exhaustive. This updates our test to match structopt's latest version of the test. This is a part of clap-rs#2809
|
I'm not even sure what that is trying to test; I forgot what structopt does when As for #[derive(clap::Parser)]
struct Opt {
#[clap(flatten)]
sub: SubCmd,
}
#[derive(clap::Parser)]
enum SubCmd {}
fn main() {} I'm mixed on the value of expanding out the rest of the combinations but either way, don't think it would block 3.0. |
I'm delegating the generics work to #2769 which means we are done or practically done with this. Rather than this lingering on for each new issue, I'm going to go ahead and close it. We can create new issues for each additional structopt porting effort and prioritize accordingly. |
Yeah, we need an UI test for that. |
Discussed in #2658
Originally posted by epage August 2, 2021
Dependabot notified me of a structopt update that included TeXitoi/structopt#483. This seems relevant for clap but made me wonder about the problem generally.
When was our last sync-up with structopt and how do we track it so things don't fall through the cracks for future changes?
The text was updated successfully, but these errors were encountered: