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

BREAKING: remove lean cli variant #218

Closed

Conversation

caspervonb
Copy link
Contributor

@caspervonb caspervonb commented Oct 11, 2021

(WIP, need to untangle the feature flags a bit)

Towards #215

@caspervonb caspervonb force-pushed the breaking-remove-lean-variants branch from c49fa19 to db1fd37 Compare October 11, 2021 15:36
@@ -53,7 +51,6 @@ pretty-cli = ["clap",
"gitoxide-core/local-time-support",
"env_logger",
"futures-lite"]
lean-cli = ["argh", "prodash/progress-log", "env_logger" ]
Copy link
Member

Choose a reason for hiding this comment

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

I think it should be easier to rename lean-cli into something like lean-progress and leave all features but argh, which is replaced with clap. Maybe lean-cli could even stay as a name, but without argh.

res
}
});
// LIMITATION: This will hang if the thread panics as no message is send and the renderer thread will wait forever.
Copy link
Member

Choose a reason for hiding this comment

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

I have the feeling this comment is (sigh) out of date, catch unwind is actually used further down which resolves the panic issue described here.

@Byron
Copy link
Member

Byron commented Oct 12, 2021

Maybe the untangling will be helped with this document, a doc about all available features or how they are intended.

@caspervonb
Copy link
Contributor Author

caspervonb commented Oct 19, 2021

Punting for now, I want to reduce the number of overall variants. Will get back to this.

@caspervonb caspervonb closed this Oct 19, 2021
@Byron
Copy link
Member

Byron commented Oct 19, 2021

Punting for now, I want to reduce the number of overall variants. Will get back to this.

Let's get back to this together, feature flags here are quite a beast by now and since I know their intend beyond documentation, doing so will probably speed up getting to a PR that can be merged.

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.

2 participants