Holger Dormann
Holger Dormann
clap_complete with the features "unstable-dynamic" and "unstable-command" is really unstable for the time being. The ank code that compiles with clap_complete 4.5.14 does not compile when using 4.5.18 anymore. Maybe...
Currently the build fails as clippy complains about unused variables. This is a bug in clippy which exists in Rust 1.80.0 (current Rust version in dev container) and is fixed...
Besides that, this PR is feature complete but lacks tests and also SWDD changes.
Created bug report https://github.com/clap-rs/clap/issues/5701.
All done. Read for review.
We should also have a dry run for `ank set state`.
Maybe we can also have an optional maximum time before Ankaios stops to reach desired state. The parameter could be part of a config file (see #302).
Just to make it sure: The capping at 5 minutes in K8S does not mean, that all attempts are stopped after 5 minutes but that the maximum time between two...
Maybe for a first version of the feature we can skip the maximum time for retries. Anyhow I don't see the use case for that at the time being.
@krucod3 I think there should be no space. Linux commands like `ls -lh` usually do not print spaces there.