| Summary: | Syncing a repo from Fedora ISO fails. Issue with relative path in ISO metadata | ||
|---|---|---|---|
| Product: | [Retired] Grinder | Reporter: | John Matthews <jmatthew> |
| Component: | core | Assignee: | John Matthews <jmatthew> |
| Status: | CLOSED EOL | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
John Matthews
2011-10-26 13:45:30 UTC
Looking at primary.xml from ISO which exhibits this problem: <location xml:base="media://1287685820.403779" href="Packages/openoffice.org-langpack-mr_IN-3.3.0-9.3.fc14.x86_64.rpm"/> Example of a metadata from a working repo: <location href="9:kdevelop-libs-4.0.0-1.fc13.x86_64.rpm"/> pkg objects from: self.repo.getPackageSack().returnPackages() are returning with 'remote_url' populated to 'Packages/foo.rpm'. Typically we would expect remote_url to be None, then we would prepend self.repo_url to pkg.relativepath In YumInfo.py::__getRPMs(): info['downloadurl'] = pkg.remote_url or self.repo_url + '/' + pkg.relativepath |