Bug 600201
| Summary: | createrepo does not pretty-print the first <file> entry correctly | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bruce Jerrick <bmj001> |
| Component: | createrepo | Assignee: | Luke Macken <lmacken> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 13 | CC: | james.antill, lmacken, pfrields |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | yum-3.2.28-3.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-06-04 14:59:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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!
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 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 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 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. 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 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 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 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. 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. 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. |
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.