Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dnfdaemon
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
manatools
dnfdaemon
Commits
ec3cbde0
Commit
ec3cbde0
authored
4 years ago
by
Laurie Reeves
Committed by
Neal Gompa (ニール・ゴンパ)
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Load dnf plugins
Plugins are required in cases where they populate variables in repository urls.
parent
87f92586
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/dnfdaemon/server/backend.py
+11
-0
11 additions, 0 deletions
python/dnfdaemon/server/backend.py
with
11 additions
and
0 deletions
python/dnfdaemon/server/backend.py
+
11
−
0
View file @
ec3cbde0
...
@@ -51,6 +51,17 @@ class DnfBase(dnf.Base):
...
@@ -51,6 +51,17 @@ class DnfBase(dnf.Base):
super
(
DnfBase
,
self
).
__init__
()
super
(
DnfBase
,
self
).
__init__
()
self
.
parent
=
parent
self
.
parent
=
parent
self
.
md_progress
=
MDProgress
(
parent
)
self
.
md_progress
=
MDProgress
(
parent
)
try
:
self
.
init_plugins
()
except
RuntimeError
as
err
:
logger
.
info
(
"
Failed to init plugins: %s
"
,
err
)
else
:
logger
.
debug
(
"
pre_configure plugins...
"
)
self
.
pre_configure_plugins
()
logger
.
debug
(
"
configure plugins...
"
)
self
.
configure_plugins
()
RELEASEVER
=
dnf
.
rpm
.
detect_releasever
(
self
.
conf
.
installroot
)
RELEASEVER
=
dnf
.
rpm
.
detect_releasever
(
self
.
conf
.
installroot
)
self
.
conf
.
substitutions
[
'
releasever
'
]
=
RELEASEVER
self
.
conf
.
substitutions
[
'
releasever
'
]
=
RELEASEVER
self
.
conf
.
read
()
# read the dnf.conf
self
.
conf
.
read
()
# read the dnf.conf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment