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

Default values for ovirt-img add_sub_command method added #206

Merged

Conversation

sri-srikanth
Copy link
Contributor

@sri-srikanth sri-srikanth commented Apr 26, 2023

ovirt-img add_sub_command method's help and func parameters now have
default values that are set to "help" and a no-op lambda func,
respectively, to simplify method usage in test cases. Method calls
referencing the add_sub_command method have also been cleaned up
accordingly.

Fixes #120
Signed-off-by: sri-srikanth srivatsansrikanth2018@gmail.com

@aesteve-rh
Copy link
Member

Do the reviews over the same commit, to have a clean commit history.

In this case, you can squash the commits with an interactive rebase:

git rebase -i HEAD~2

And then change pick for squash on the last commit and that should merge them.
Then, you can force push to update the remote branch (and the PR status).

git push -f

No need to open a new PR for changes.

If you have any issue, let me know!

@sri-srikanth sri-srikanth force-pushed the add_sub_command_default_values branch from b1122f5 to 746ecea Compare June 3, 2023 17:57
@sri-srikanth
Copy link
Contributor Author

Squashed :)

@aesteve-rh
Copy link
Member

The change looks good, but could you please change the commit text with the one you used for the PR?

Including the Signed-off line and the Fixes #120.
Try to fit the commit title into 72 characters if posible.

@aesteve-rh aesteve-rh force-pushed the add_sub_command_default_values branch from 746ecea to 9f0db8b Compare January 17, 2024 08:41
ovirt-img add_sub_command method's help and func
parameters now have default values that are set to
"help" and a no-op lambda func, respectively, to
simplify method usage in test cases. Method calls
referencing the add_sub_command method have also
been cleaned up accordingly.

Fixes: oVirt#120
Signed-off-by: sri-srikanth <srivatsansrikanth2018@gmail.com>
@aesteve-rh aesteve-rh force-pushed the add_sub_command_default_values branch from 9f0db8b to ad3af85 Compare January 17, 2024 08:49
Copy link
Member

@aesteve-rh aesteve-rh left a comment

Choose a reason for hiding this comment

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

Thanks for contributing!

I've updated the commit text to match the PR's.
All is good now :)

@aesteve-rh aesteve-rh merged commit 866e3e6 into oVirt:master Jan 17, 2024
13 checks passed
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.

Add default values for ovirt-img add_sub_command method
2 participants