Bug 600201 - createrepo does not pretty-print the first <file> entry correctly
Summary: createrepo does not pretty-print the first <file> entry correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 13
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-04 06:45 UTC by Bruce Jerrick
Modified: 2016-09-20 02:40 UTC (History)
3 users (show)

Fixed In Version: yum-3.2.28-3.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-04 14:59:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruce Jerrick 2010-06-04 06:45:33 UTC
Description of problem:
In the *primary.xml.gz repodata, the first <file> entry of package is not
indented properly -- instead, it is on the same lines as the end-tag of
the preceding entries.

Version-Release number of selected component (if applicable):
createrepo-0.9.8-4.fc13.noarch

How reproducible:
?

Steps to Reproduce:
1. zcat *primary.xml.gz | less
2. Search for <file>
  
Actual results:
An example from the F13 Updates repodata:
    ...
    </rpm:requires>    <file>/usr/bin/plague-server</file>
    <file>/etc/sysconfig/plague-server</file>
    ...

Expected results:
    ...
    </rpm:requires>
    <file>/usr/bin/plague-server</file>
    <file>/etc/sysconfig/plague-server</file>
    ...

Additional info:
Note that <file> entries after the first are properly indented.

Comment 1 seth vidal 2010-06-04 14:59:09 UTC
1. so this is now fixed upstream and will make it into a release eventually.
2. not pretty printing doesn't really impact anything xml doesn't _care_
3. if you want to see the xml file pretty at any time you can do:
    xmllint --format filename.xml.gz

and it'll output the file pretty-formatted.

thanks for reporting this!

Comment 2 Fedora Update System 2010-08-02 14:12:31 UTC
yum-3.2.28-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/yum-3.2.28-1.fc13

Comment 3 Fedora Update System 2010-08-02 14:14:02 UTC
yum-3.2.28-1.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/yum-3.2.28-1.fc14

Comment 4 Fedora Update System 2010-08-02 14:15:34 UTC
yum-3.2.28-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/yum-3.2.28-1.fc12

Comment 5 Fedora Update System 2010-08-05 23:45:47 UTC
yum-3.2.28-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-08-12 20:16:37 UTC
yum-3.2.28-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc12

Comment 7 Fedora Update System 2010-08-12 20:19:03 UTC
yum-3.2.28-3.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc13

Comment 8 Fedora Update System 2010-08-12 20:21:25 UTC
yum-3.2.28-3.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc14

Comment 9 Fedora Update System 2010-08-17 05:46:46 UTC
yum-3.2.28-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-08-20 02:20:20 UTC
yum-3.2.28-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-08-24 01:37:59 UTC
yum-3.2.28-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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