
cpack.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.
cliopatria:list_resource(+Pack)//[multifile]- Hook the ClioPatria local view page to create a more sensible represention of a package.
package_table(Options)// is det- Emit a table that describes Packages. Options supported:
- sort_by(Column)
- Sort table by given column.
cpack(+Pack, +Options)// is det- Display information about Pack.
commit_info(+Pack, +Hash, +Options)//- Component to show an individual commit. Options:
- diff(Diff)
- One of
stat(default) orpatch(full difference)
cpack_status_icon(+Package)// is det- Show an icon for the sanity-state of the package
cpack_link(+R)// is det
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.
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.