cpack

Prolog files

cpack.pl  -- The ClioPatria package managerShow source
cpack_add_dir/2Install package located in directory PackageDir.Source
cpack_configure/1Just configure a package.Source
cpack_create/3Create a new package.Source
cpack_install/1Install package by name or URL.Source
cpack_property/2True when Property is a property of the CPACK Name.Source
cpack_register/3Attach a CPACK to the search paths.Source
cpack_remove/1Remove CPACK Pack.Source
cpack_remove/2Remove CPACK Pack.Source
cpack_upgrade/0Upgrade all packages to the server versions.Source
cpack_upgrade/1Upgrade Package.Source
current_cpack/1True when Name is the name of a registered package.Source
git_module_hook/3Make packages available for the version management implemented by library(version).Source

Package management TODO list

Installation

Dependency tracking

-

Examine package status

Trust management

The CPAN model

CPAN introduces some level of trust using the following steps below. We assume that this level of trust is sufficient for us too. GIT gives us a few free extras.

The CPACK model

We rely on GIT repositories. This allows for distribution and we can express our trust in several ways as listed below. Note that these trust-levels go from low to high.

  1. Trust a server
  2. Trust a repository
  3. Trust a signed commit
  4. Trust a hash

We need a reliable URL for a submitter. I.e., OpenID. Using OpenID, we could establish a `network of trust' using e.g., FOAF? An OpenID user can submit:

Additional services:

GIT Tricks

Find tags on a branch (ordered):

Get a single file from a remote repo

git archive --remote=url://to.git.repo branch path/to/dir | tar -x file