On 03/ 9/10 05:42 AM, Ghee Teo wrote:
On 03/ 9/10 09:09 AM, Tim Foster wrote:
On Mon, 2010-03-08 at 15:31 +0000, Ghee Teo wrote:
Padraig has talked to me about including a more meaningful value for
pkg.description in the IPS manifest for the Desktop packages. That is,
something a bit more verbose than pkg.summary.
Would a pkg.description containing a URL be a better way of providing
this level of detail? If the description was a URL, the GUI could
render the page that URL pointed to. If pkg.description didn't contain a
URL, it could word-wrap and inline the text value.
While this is an interesting suggestion, I think it is not a practical
solution for the following reasons:
- the description text while available is in the open but is it is not
readily referable by a URL, they are often capture in source rpm or some
compressed metadata.
- doing this on the fly will be a big performance hit on the GUI
Not really. The information would be retrieved on-demand in the background.
- In system that have not access to the internet, as you said render
this useless.
Which is why only optional information should be specified this way.
- These information is pretty static and unlikely to change once they
are in place.
Any information that you want to available to the user must be part of
the package manifest, and at this time, only textual information is
supported.
As Bart said, you're free to add additional attributes to existing
actions, or simply add set actions to a package manifest to add this
additional metadata.
But for any standard package metadata such as the summary or
description, that *must* realistically be part of the appropriate set
action and not part of an external resource.
We do have a bug open for allowing newlines in pkg.description, but
other than that, there aren't any planned enhancements for metadata. If
you actually have content significant enough that it almost qualifies as
documentation, I'd suggest that it be delivered as a file under
usr/share/doc or the like for the package since it sounds applicable
outside of the package management system.
Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss