Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 899082 Details for
Bug 1101029
[rfe][plugins] yum-plugin-security (list-sec) or similar function support in dnf
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
An experimental patch to make updateinfo fetched and loaded in dnf
0001-make-updateinfo-metadata-fetched-and-loaded-from-rep.patch (text/plain), 2.25 KB, created by
Satoru SATOH
on 2014-05-25 17:19:23 UTC
(
hide
)
Description:
An experimental patch to make updateinfo fetched and loaded in dnf
Filename:
MIME Type:
Creator:
Satoru SATOH
Created:
2014-05-25 17:19:23 UTC
Size:
2.25 KB
patch
obsolete
>From ecc5b297af5e773331288aa1647712d09f6cb4be Mon Sep 17 00:00:00 2001 >From: Satoru SATOH <satoru.satoh@gmail.com> >Date: Mon, 26 May 2014 01:44:10 +0900 >Subject: [PATCH] make updateinfo metadata fetched and loaded from repos if > available anytime > >Signed-off-by: Satoru SATOH <satoru.satoh@gmail.com> >--- > dnf/base.py | 5 ++++- > dnf/repo.py | 11 ++++++++++- > 2 files changed, 14 insertions(+), 2 deletions(-) > >diff --git a/dnf/base.py b/dnf/base.py >index 5ef430f..984f9e0 100644 >--- a/dnf/base.py >+++ b/dnf/base.py >@@ -120,9 +120,12 @@ class Base(object): > hrepo.presto_fn = repo.presto_fn > else: > self.logger.debug("not found deltainfo for: %s" % repo.name) >+ if repo.updateinfo_fn: >+ hrepo.updateinfo_fn = repo.updateinfo_fn > repo.hawkey_repo = hrepo > self._sack.load_yum_repo(hrepo, build_cache=True, load_filelists=True, >- load_presto=repo.deltarpm) >+ load_presto=repo.deltarpm, >+ load_updateinfo=bool(repo.updateinfo_fn)) > > def _setup_excludes(self): > disabled = set(self.conf.disable_excludes) >diff --git a/dnf/repo.py b/dnf/repo.py >index e8c1606..86a73ca 100644 >--- a/dnf/repo.py >+++ b/dnf/repo.py >@@ -135,7 +135,8 @@ class _Handle(librepo.Handle): > self.interruptible = True > self.repotype = librepo.LR_YUMREPO > self.useragent = dnf.const.USER_AGENT >- self.yumdlist = ["primary", "filelists", "prestodelta", "group_gz"] >+ self.yumdlist = ["primary", "filelists", "prestodelta", "group_gz", >+ "updateinfo"] > > def __str__(self): > return '_Handle: metalnk: %s, mlist: %s, urls %s.' % \ >@@ -205,6 +206,10 @@ class Metadata(object): > return self.repo_dct.get('filelists') > > @property >+ def updateinfo_fn(self): >+ return self.repo_dct.get('updateinfo') >+ >+ @property > def mirrors(self): > return self._mirrors > >@@ -570,6 +575,10 @@ class Repo(dnf.yum.config.RepoConf): > def filelists_fn(self): > return self.metadata.filelists_fn > >+ @property >+ def updateinfo_fn(self): >+ return self.metadata.updateinfo_fn >+ > def load(self): > """Load the metadata for this repo. :api > >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1101029
: 899082