PublicShow sourcecpack.pl -- CPACK HTML components

This module defines vizualisation primitives for CPACK resources. It also hooks the local-view of ClioPatria to provide nicer pages for instances of CPACK objects such as cpack:Package.

To be done
- Use PlDoc Wiki for rendering the description. Should that be yet another package?
Source cliopatria:list_resource(+Pack)//[multifile]
Hook the ClioPatria local view page to create a more sensible represention of a package.
Source package_table(Options)// is det
Emit a table that describes Packages. Options supported:
sort_by(Column)
Sort table by given column.
Source cpack(+Pack, +Options)// is det
Display information about Pack.
Source commit_info(+Pack, +Hash, +Options)//
Component to show an individual commit. Options:
diff(Diff)
One of stat (default) or patch (full difference)
Source cpack_status_icon(+Package)// is det
Show an icon for the sanity-state of the package
Source cpack_link(+R)// is det
Source cpack_link(+R, +P)// is det
Display a link to a CPACK resource. The version cpack_link//2 can be used to select a given property for producing the label.
Source rdf_label:display_label_hook(+Pack, ?Lang, -Label) is semidet[multifile]
Provide the label of a package using the cpack:packageName property.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source cpack_prop(Arg1, Arg2, Arg3, Arg4)
Source current_package(Arg1, Arg2)