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

dnf module load/init dnf pkg mgr plugins properly #49278

Merged
merged 2 commits into from
Nov 30, 2018

Conversation

maxamillion
Copy link
Contributor

Signed-off-by: Adam Miller admiller@redhat.com

SUMMARY

Fixes #45940

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

dnf

@ansibot
Copy link
Contributor

ansibot commented Nov 29, 2018

Hi @maxamillion, thank you for submitting this pull-request!

click here for bot help

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Nov 29, 2018
Fixes ansible#45940

Signed-off-by: Adam Miller <admiller@redhat.com>
@maxamillion maxamillion force-pushed the bugfix/45940-dnf-plugin-loading branch from f0c5a4e to 82916de Compare November 29, 2018 05:20
base.pre_configure_plugins()
base.configure_plugins()
except AttributeError:
pass # older versions of dnf didn't require this and don't have these methods
Copy link
Contributor

Choose a reason for hiding this comment

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

Can these configuration methods raise dnf.exceptions.RepoError? If not, they should probably be above the RepoError try: except instead of nested inside of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@abadger not to the best of my knowledge, no ... will update 👍

@ansibot ansibot removed the needs_triage Needs a first human triage before being processed. label Nov 29, 2018
Signed-off-by: Adam Miller <admiller@redhat.com>
@abadger
Copy link
Contributor

abadger commented Nov 30, 2018

Looks good. +1 to merge from me.

@maxamillion
Copy link
Contributor Author

rebuild_merge

@abadger abadger merged commit 378cc96 into ansible:devel Nov 30, 2018
maxamillion added a commit to maxamillion/ansible that referenced this pull request Nov 30, 2018
* dnf module load/init dnf pkg mgr plugins properly

Fixes ansible#45940

Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit 378cc96)
abadger pushed a commit that referenced this pull request Dec 4, 2018
* dnf module load/init dnf pkg mgr plugins properly

Fixes #45940

Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit 378cc96)
kbreit pushed a commit to kbreit/ansible that referenced this pull request Jan 11, 2019
* dnf module load/init dnf pkg mgr plugins properly

Fixes ansible#45940

Signed-off-by: Adam Miller <admiller@redhat.com>
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. 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.

dnf module does not respect dnf versionlock plugin
3 participants