Bug 1120215
| Summary: | YUM repositories using deltainfo don't get delta RPMs published | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Michael Moll <kvedulv> |
| Component: | rpm-support | Assignee: | pulp-bugs |
| Status: | CLOSED UPSTREAM | QA Contact: | pulp-qe-list |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.4 Beta | CC: | bcourt, kvedulv, mhrivnak |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-19 01:18:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michael Moll
2014-07-16 12:59:55 UTC
Thank you for finding both of these incompatibilities between pulp and SUSE content. We want to support SUSE content, and this will be very helpful in making that happen. A diligent investigation of the schema for the deltainfo file vs. the prestodelta file will be required before we can implement this. Any additional help with that would be quite welcome. http://en.opensuse.org/openSUSE:Standards_Rpm_Metadata says: deltainfo.xml used to support delta rpms. Format is the same as yum-presto A glance at those deltainfo.xml files is also confirming that, so it shouldn't be hard to fix. Unfortunately I don't have a clue how to handle that in the importer, as PRESTO_DELTA_FILE_NAME = 'prestodelta.xml.gz' doesn't leave much room for or-clauses. ;) It would probably make sense to publish the contents of a generated prestodelta.xml also as deltainfo.xml so zypper/yast can consume it. Workaround at https://github.com/pulp/pulp_rpm/pull/527 Michael Moll, With some browsing & testing I did, it appeared that zypper will read the presto-delta.xml.gz file if it is in the repository. Can you confirm whether or not the file must be named deltainfo if zypper will use a presto-delta file if it is found instead. There is another patch at https://github.com/pulp/pulp_rpm/pull/629 that will ensure that all the information is synced into a pulp repository. It's just a matter of how it is published. In this case it is vastly simpler if we can always use presto-delta as the name of the output file. After changing employers, I don't have a pulp instance around to test at the moment, sorry... If your tests are positive with zypper from SLES 11 SP3 (that's the oldest still supported, I think), I'd say just go ahead. If real testing is needed, ping me again and I'll setup something. Thanks for following up on that! Moved to https://pulp.plan.io/issues/240 |