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

Revert "Move deploy options into subcommands that actually support them" + Revert "Add R10K::CLI spec tests" #1047

Merged
merged 2 commits into from
Apr 24, 2020

Conversation

mwaggett
Copy link
Contributor

Please add all notable changes to the "Unreleased" section of the CHANGELOG.

@mwaggett mwaggett requested a review from a team April 22, 2020 23:56
@mwaggett
Copy link
Contributor Author

hey @nabertrand ! We really appreciate your contribution to r10k, but this change caused the r10k CLI to no longer accept some options, notably --cachedir, which is causing issues in PE. We’re happy to work with you on any future contributions!

@nabertrand
Copy link
Contributor

Hi @mwaggett! I tried to ensure that my changes didn't break anything, but apologies if I missed something. If you can provide an example usage that broke with this change, I might be able to fix it and add a spec test to make sure it doesn't break again in the future.

@nabertrand
Copy link
Contributor

I opened #1048 to solve the issue I'm assuming this PR was created in response to. Let me know if there's anything else I can do.

@adrienthebo
Copy link
Contributor

@mwaggett @nabertrand let's get tests passing on master, we can expand test coverage for the CLI in #1048.

@nabertrand
Copy link
Contributor

@adrienthebo if master is failing with just the one R10K::CLI r10k Cri argument parsing when help specified prints command help and exits 0 test, that should be fixed in #1042, which I believe is ready for merge: #1048 (comment)

Copy link
Collaborator

@Magisus Magisus left a comment

Choose a reason for hiding this comment

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

So it sounds like we want to go forward with this revert for now, and re-add the tests a little differently later on, right?

@adrienthebo
Copy link
Contributor

So it sounds like we want to go forward with this revert for now, and re-add the tests a little differently later on, right?

That's my vote - I'd prefer that we build the test coverage incrementally and build tests on a per-option and per-command basis for simplicity.

@adrienthebo adrienthebo merged commit 71a7ae7 into puppetlabs:master Apr 24, 2020
@mwaggett mwaggett deleted the maint/master/fix-cachedir branch August 13, 2021 17:25
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.

4 participants