protocol
pack_protocol
Pack specification protocol. Objects implementing this protocol should be named after the pack with a _pack suffix and saved in a file with the same name as the object.
staticPublic predicates
name/1
Pack name.
staticname(Name)name(?atom) - zero_or_onedescription/1
Pack one line description.
staticdescription(Description)description(?atom) - zero_or_onelicense/1
Pack license. Specified using the identifier from the SPDX License List (https://spdx.org/licenses/) when possible.
staticlicense(License)license(?atom) - zero_or_onehome/1
Pack home HTTPS or file URL.
statichome(Home)home(?atom) - zero_or_oneversion/6
Table of available versions.
staticversion(Version,Status,URL,Checksum,Dependencies,Portability)version(?compound,?atom,-atom,-pair(atom,atom),-list(pair(atom,callable)),?atom) - zero_or_moreversion(?compound,?atom,-atom,-pair(atom,atom),-list(pair(atom,callable)),-list(atom)) - zero_or_more
Version: This argument uses the same format as entity versions:
Major:Minor:Pathch. Semantic versioning should be used.Status: Version development status. E.g
stable,rc,beta,alpha, ordeprecated.URL: File URL for a local directory, file URL for a local archive, or download HTTPS URL for the pack archive.
Checksum: A pair where the key is the hash algorithm and the value is the checksum. Currently, the hash algorithm must be
sha256. Forfile://URLs of local directories, usenoneinstead of a pair.Dependencies: A list of the pack dependencies. Each dependency is a compound term
Registry::Pack Operator VersionwhereOperatoris a term comparison operator. The atomlogtalkor a backend identifier atom can also be used in place ofRegistry::Pack.Portability: Either the atom
allor a list of the supported backend Prolog compilers (using the identifier atoms used by theprolog_dialectflag).Clause order: Versions must be listed ordered from newest to oldest.
note/3
Table of notes per action and version.
staticnote(Action,Version,Note)note(?atom,?term,-atom) - zero_or_more
Action: Possible values are
install,update, anduninstall. When unbound, the note apply to all actions.Version: Version acted on (i.e. version being installed, updated to, or uninstalled). When unbound, the note apply to all versions.
Note: Note to print when performing an action on a pack version.
Protected predicates
(none)
Private predicates
(none)
Operators
(none)