Bug 1187765 - [RFE] updateinfo.xml parser support
Summary: [RFE] updateinfo.xml parser support
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1156481
TreeView+ depends on / blocked
 
Reported: 2015-01-30 20:06 UTC by Luke Macken
Modified: 2016-09-20 02:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-03 05:46:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Luke Macken 2015-01-30 20:06:24 UTC
In the effort to Port All The Things from yum to dnf/hawkey/librepo, we've hit a roadblock with the `yum.update_md` UpdateMetadata parser. It doesn't seem like there is an easy way to parse this file from the repodata.

http://yum.baseurl.org/gitweb?p=yum.git;a=blob;f=yum/update_md.py

Comment 1 Luke Macken 2015-01-30 20:08:05 UTC
I did stumble upon a python-Updateinfo package that the Scientific Linux folks created for dealing with this file, which has potential: girpm.pbone.net/index.php3/stat/4/idpl/22670939/dir/scientific_linux_6/com/python-Updateinfo-0.1.5-6.5.sl6.noarch.rpm.html (I can't seem to find the upstream repo though...)

Comment 2 Luke Macken 2015-01-30 20:09:03 UTC
(In reply to Luke Macken from comment #1)
> I did stumble upon a python-Updateinfo package that the Scientific Linux
> folks created for dealing with this file, which has potential:

Oops, botched the link. http://rpm.pbone.net/index.php3/stat/4/idpl/22670939/dir/scientific_linux_6/com/python-Updateinfo-0.1.5-6.5.sl6.noarch.rpm.html

Comment 3 Luke Macken 2015-02-03 05:46:32 UTC
Closing, as createrepo_c has support for this: https://github.com/Tojaj/createrepo_c/blob/master/examples/python/updateinfo_parsing.py


Note You need to log in before you can comment on or make changes to this bug.