-
Notifications
You must be signed in to change notification settings - Fork 21
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
Conditional sourcing of plugins using profiles #143
Conversation
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.
Hi, thanks for contributing! I love this addition and I think it is a suitable solution for #119.
Some more general comments:
- We should consider adding a command line option
--profile
to sheldon as well similar to--clone-dir
- Could you add at least one config file test in
src/config/file.rs
- Could you add at least one test that tests the filtering logic, probably easiest to add as another test case to the integration tests in the
tests/
directory. - Could you add some documentation for this field in
docs/src/Configuration.md
- You can regenerate the completions using the following
cargo run -- completions --shell bash > completions/sheldon.bash
cargo run -- completions --shell zsh > completions/sheldon.zsh
- Don't worry about the clippy lints failing on GitHub Actions
Thanks for the detailed review. Can you please check my recent changes? |
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.
You also need to run cargo run -p gen-readme
since you modified the documentation.
Co-authored-by: Ross MacArthur <ross@macarthur.io>
Co-authored-by: Ross MacArthur <ross@macarthur.io>
Thanks once more! Worked on your suggestions. |
Hmmm build is failing I think my suggestions were not 100% correct code. |
Didn't catch the compilation errors. Latest commit reverts some code but removes the unnecessary collect you mentioned. |
This contributes to #119 although it uses a different approach.