[Yum] PATCH: handle more checksum in repomd file
Miroslav Suchý
msuchy at redhat.com
Fri Jun 26 15:18:47 UTC 2009
During the work on Spacewalk I tried to create repomd.xml file with more
checksums in that file. See:
https://www.redhat.com/archives/spacewalk-devel/2009-June/msg00021.html
for more info. But it's safe to skip.
But it takes only few moments that I find in yum code, that yum will
pickup only last checksum it will find... :(
So I created patch for yum which will pickup only checksums, which are
known to yum.
See attachment.
Can you please review it and if find appropriate, merge to git?
I tested it only on repomd.xml, but would like to have the same
functionality on filelists.xml.gz, other.xml.gz, primary.xml.gz.
I did not try to fiddle with those tree yet. Does repoMDObject.py parse
those file too. Or some other file does that job, can you give me pointers?
--
Miroslav Suchy
Red Hat Satellite Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-recognize-sha-as-equal-to-sha1.patch
Type: text/x-patch
Size: 1490 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090626/f9ba1dcf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-accept-more-checksums-in-repomd-file-pickup-only-wh.patch
Type: text/x-patch
Size: 1160 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090626/f9ba1dcf/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-prefer-default-checksums-rather-then-some-other.patch
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090626/f9ba1dcf/attachment-0002.bin>
More information about the Yum
mailing list