Bug 559693 - Add md5sum in package description from channel.software.listAllPackages
Summary: Add md5sum in package description from channel.software.listAllPackages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Colin Coe
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
: 580124 (view as bug list)
Depends On:
Blocks: space09
TreeView+ depends on / blocked
 
Reported: 2010-01-28 18:48 UTC by Mihai Ibanescu
Modified: 2012-03-15 12:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-05 14:57:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Mihai Ibanescu 2010-01-28 18:48:55 UTC
Description of problem:
It would be useful if the channel.software.listAllPackages XMLRPC call would also expose the package's md5sum (aside from NEVRA and last_modified).

This would help identify potential packages with the different content, but same NEVRA, in two different channels.

When NEVRAs were guaranteed to be unique within an org_id (I believe there used to be a unique constraint on name_id, evr_id, package_arch_id, org_id on rhnPackage), you could get away with comparing the org_id of the channels.

Without this, one would have to iterate over each package and individually fetch the rest of the info, and it's too expensive.

Comment 1 Clifford Perry 2010-02-04 04:25:40 UTC
About to release Space08, moving to 09 for now.

Comment 2 Todd Warner 2010-02-09 13:39:43 UTC
Mihai.

All patches welcome! :)

Comment 3 Colin Coe 2010-03-24 13:58:43 UTC
Patch submitted via spacewalk-devel mailing list

Comment 4 Tomas Lestach 2010-03-24 16:12:59 UTC
Thanks to Colin Coe for the patch!

spacewalk.git: 1822a606bdf6072e29af4b08b9e8ca7b4e6415cb

updated API doc: f4da592071efc56e040ec32e148f401494a60255

Comment 5 Miroslav Suchý 2010-05-05 14:57:16 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.

Comment 6 Jan Pazdziora 2012-03-15 12:54:51 UTC
*** Bug 580124 has been marked as a duplicate of this bug. ***


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