repository.pl -- Manage CPACK repositories
- git clone --mirror URL
- git fetch
- cpack_add_repository(+User, +URL, +Options)
- Add a git repository from URL. Fetch the meta-data into a graph
named
cpack:<package>
and add a provenance statement that indicates the creator of the graph. Options include:- branch(Branch)
- Add the given branch rather than the master
- cpack_update_package(+User, +Package) is det
- Update the given package.
- cpack_refresh_metadata(+BareGitPath) is det
- Regenerate the metadata associated with BareGitPath from the plain (mirrored) git repository.
- cpack_refresh_metadata
- Rebuild all (xref) metadata for all packages from scratch. This is intended to deal with changes to the metadata formats, lost GIT mirrors, etc.
- cpack_clone_server(+User, +Server, +Options)
- Clone all packages from Server.
- cpack_uri(+Type, +Identifier, -URI) is det
- Create a persistent URI for Identifier of the given Type.
- cpack_our_mirror(+Pack, -Dir) is det
- Dir is the directory holding the bare git repository for Pack.
- cpack_log(+Pack, -ShortLog, Options) is det
- Fetch information like the GitWeb change overview. Processed
options:
- limit(+Count)
- Maximum number of commits to show (default is 10)
- git_path(+Path)
- Only show commits that affect Path
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.