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

Restore BOOLEANS import in basic.py #42008

Merged
merged 1 commit into from
Jul 2, 2018
Merged

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented Jun 27, 2018

SUMMARY

This import was removed by mistake. This is required for backward
compatibility.

Fixes: #41988

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

lib/ansible/module_utils/basic.py

ANSIBLE VERSION
2.7devel

@Akasurde Akasurde requested a review from bcoca June 27, 2018 13:09
@Akasurde Akasurde assigned abadger and unassigned abadger Jun 27, 2018
@Akasurde Akasurde requested a review from abadger June 27, 2018 13:09
@Akasurde Akasurde mentioned this pull request Jun 27, 2018
@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. small_patch support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Jun 27, 2018
@Akasurde Akasurde removed the needs_triage Needs a first human triage before being processed. label Jun 27, 2018
@abadger
Copy link
Contributor

abadger commented Jun 27, 2018

Maybe add a comment that BOOLENS is there for backwards compatibility.

Otherwise +1 to merge. Needs to be backported to stable-2.6 and stable-2.5

@ansibot ansibot added shipit This PR is ready to be merged by Core needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed shipit This PR is ready to be merged by Core labels Jun 27, 2018
@Akasurde
Copy link
Member Author

Closing and re-opening for CI trigger.

@Akasurde Akasurde closed this Jun 27, 2018
@Akasurde Akasurde reopened this Jun 27, 2018
Copy link
Contributor

@resmo resmo left a comment

Choose a reason for hiding this comment

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

+1

@abadger
Copy link
Contributor

abadger commented Jun 27, 2018

Code looks good. We need to have a changelog entry for this as well. Something like restore module_utils.basic.BOOLEANS variable for backwards compatibility with the module API in older ansible releases. This was mistakenly removed in 2.5.0.

This import was removed by mistake. This is required for backward
compatibility.

Fixes: ansible#41988

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@Akasurde
Copy link
Member Author

Akasurde commented Jul 2, 2018

rebuild_merge

@Akasurde Akasurde closed this Jul 2, 2018
@Akasurde Akasurde reopened this Jul 2, 2018
@Akasurde Akasurde closed this Jul 2, 2018
@Akasurde Akasurde reopened this Jul 2, 2018
@ansibot ansibot removed the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. label Jul 2, 2018
@ansibot ansibot merged commit 087fc0c into ansible:devel Jul 2, 2018
@Akasurde Akasurde deleted the boolean_restore branch July 2, 2018 14:53
Akasurde added a commit to Akasurde/ansible that referenced this pull request Jul 3, 2018
This import was removed by mistake. This is required for backward
compatibility.

Fixes: ansible#41988

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Akasurde added a commit to Akasurde/ansible that referenced this pull request Jul 3, 2018
This import was removed by mistake. This is required for backward
compatibility.

Fixes: ansible#41988

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
nitzmahone pushed a commit that referenced this pull request Jul 3, 2018
This import was removed by mistake. This is required for backward
compatibility.

Fixes: #41988

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
mattclay pushed a commit that referenced this pull request Jul 3, 2018
This import was removed by mistake. This is required for backward
compatibility.

Fixes: #41988

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@ansible ansible locked and limited conversation to collaborators Jul 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 bug This issue/PR relates to a bug. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BOOLEANS removal
4 participants