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

snap_alias: using CmdRunner #5486

Merged

Conversation

russoz
Copy link
Collaborator

@russoz russoz commented Nov 7, 2022

SUMMARY

snap_alias now using CmdRunner instead of CmdModuleHelper

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/modules/snap_alias.py

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module os packaging plugins plugin (any type) labels Nov 7, 2022
@felixfontein felixfontein added the check-before-release PR will be looked at again shortly before release and merged if possible. label Nov 7, 2022
@ansibullbot ansibullbot added the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR label Nov 7, 2022
@russoz russoz changed the title snap_alias: using CmdRunner [WIP] snap_alias: using CmdRunner Nov 7, 2022
@ansibullbot ansibullbot added the WIP Work in progress label Nov 7, 2022
@ansibullbot ansibullbot added the stale_ci CI is older than 7 days, rerun before merging label Nov 16, 2022
@russoz russoz closed this Jan 7, 2023
@russoz russoz reopened this Jan 7, 2023
@ansibullbot ansibullbot added needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI and removed stale_ci CI is older than 7 days, rerun before merging labels Jan 7, 2023
@ansibullbot

This comment was marked as resolved.

@ansibullbot ansibullbot removed the needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI label Jan 7, 2023
@ansibullbot ansibullbot added the integration tests/integration label Jan 7, 2023
@ansibullbot ansibullbot added the tests tests label Jan 7, 2023
@russoz russoz changed the title [WIP] snap_alias: using CmdRunner snap_alias: using CmdRunner Jan 7, 2023
@ansibullbot ansibullbot removed WIP Work in progress needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jan 7, 2023
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

As far as I can judge, this looks good. Also there are tests, so it should be fine :)

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Jan 8, 2023
@felixfontein felixfontein merged commit 4caa657 into ansible-collections:main Jan 8, 2023
@patchback
Copy link

patchback bot commented Jan 8, 2023

Backport to stable-6: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-6/4caa6574de486d6840ac50affe48501f9d895bf4/pr-5486

Backported as #5801

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jan 8, 2023
* snap_alias: using CmdRunner

* add changelog fragment

* fix changelog fragment

* invert order of initialization in __init_module__()

* comment extra changed=True from code

* add extra info when verbose

* add extra info when verbose - fix blank line

* handle check_mode the old way

* fix logical test

* fix error when using multiple aliases

* fix error when using multiple aliases, part 2

* revert to using check_mode_skip=True again

(cherry picked from commit 4caa657)
@felixfontein
Copy link
Collaborator

@russoz thanks!

@github-actions
Copy link

github-actions bot commented Jan 8, 2023

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

felixfontein pushed a commit that referenced this pull request Jan 8, 2023
…5801)

snap_alias: using CmdRunner (#5486)

* snap_alias: using CmdRunner

* add changelog fragment

* fix changelog fragment

* invert order of initialization in __init_module__()

* comment extra changed=True from code

* add extra info when verbose

* add extra info when verbose - fix blank line

* handle check_mode the old way

* fix logical test

* fix error when using multiple aliases

* fix error when using multiple aliases, part 2

* revert to using check_mode_skip=True again

(cherry picked from commit 4caa657)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
@russoz russoz deleted the snap-alias-cmd-runner branch January 8, 2023 21:20
felixfontein pushed a commit to felixfontein/community.general that referenced this pull request Feb 20, 2023
… using CmdRunner (ansible-collections#5801)

snap_alias: using CmdRunner (ansible-collections#5486)

* snap_alias: using CmdRunner

* add changelog fragment

* fix changelog fragment

* invert order of initialization in __init_module__()

* comment extra changed=True from code

* add extra info when verbose

* add extra info when verbose - fix blank line

* handle check_mode the old way

* fix logical test

* fix error when using multiple aliases

* fix error when using multiple aliases, part 2

* revert to using check_mode_skip=True again

(cherry picked from commit 4caa657)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request integration tests/integration module module os packaging plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants