Joe Di Pol wrote:
> Over in the Update Center 2 project we want to support informing
> the user what's new in a package update (relative to the previous
> version) and highlight updates that contain security fixes. To
> do this we need to get the information from the package metadata.
> 
> I don't see much in tags-and-attributes.txt on this.
> 
> Reading through the /PSARC/2008/190 materials I find these examples:
> 
> com.sun.service.info_url =
> "http://service.opensolaris.com/xml/pkg/[EMAIL 
> PROTECTED],5.11-1:20080514I120000Z"
> 
> com.sun.service.keywords = "sort null -n -m -t sort 0x86 separator"
> 
> com.sun.service.incorporated_changes = "6556919" "6627937" [list-valued]
> 
> This seems to cover what I need if "security" can be used as a keyword
> to highlight security updates.
> 
> Questions:
> 
> 1) Are these finalized?

Not yet.

> 2) Is there a reason these are scoped to "com.sun.service"? Why not:
> 
>      info.info_url, info.keywords, info.incorporated_changes
> 
> (I think there was a proposal to use "info" for general optional metadata)

Yes, because it is likely that those will be specific to Sun or 
OpenSolaris.  For example, keywords will likely be limited to a 
pre-defined list by Sun.  incorporated_changes is likely to refer to 
Sun's bug-tracking system, etc.  At least, that's my understanding...

-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to