Bug 18247 - Update Type Icons what triggers them?
Summary: Update Type Icons what triggers them?
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 11:16 UTC by G. Michael Carter
Modified: 2008-11-04 06:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description G. Michael Carter 2008-10-27 11:16:58 UTC
Sorry to put this here, wasn't sure where to ask.

In a rpm/yum package what triggers the update type icon?   I want to code my packages with this but can't find any documentation on what triggers it.
Comment 1 Richard Hughes 2008-11-04 05:40:32 UTC
Sorry for the delay. The icons are derived from the metadata from bodhi. A severity is chosen at reposync time, and this is used for the icon. If you have any other questions, join the mialing list, we're a friendly enough gang :-)
Comment 2 G. Michael Carter 2008-11-04 06:36:05 UTC
Thanks for the help.  You pointed me in the right direction

Just for completeness.   

This explains why I couldn't find it.  I was looking at the package level when it's on the repository level.  The file is repodata/updateinfo.xml.gz which is an xml report of packages being released and their level.

For a custom repository you need to build the file updateinfo.xml manually and use "modifyrepo path_to_file/updateinfo.xml path_to_dir/repodata" to add it after createrepo is built.    The createrepo clobbers this definition so if your doing a reposync with cobbler you need to apply this modifyrepo each time manually.

There may be an auto way of doing this, I just haven't found it yet.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.