diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-01 22:27:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-01 22:27:38 +0200 |
commit | 54563e84b72d7b07762eef937ad4f984a71145ea (patch) | |
tree | 28705842cfd24d189becef0a3923312ac626a192 /doc | |
parent | 750a51986b80015b95595b8d87a732a2cf8ca899 (diff) |
Introduced documentation
bin/pkg: Added `pkg doc`
doc/pkg: documentation for pkg
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pkg | 71 |
1 files changed, 71 insertions, 0 deletions
@@ -0,0 +1,71 @@ +pkg - Package maintaining utility + +Usage: pkg action [ package ] + +action may be one of: + + add, install + fetch given package from the package_root and install it + + changelog + Show package's changelog (if available) + + changeroot + Change the default source on all packages + Example: `changeroot ssh://kraftwerk/var/packages_root` will change + the source of core to 'ssh://kraftwerk/var/packages_root/core' + + delete, remove + Remove the package from the local packages tree + Note: This does not yet remove the symlinks + + info + Show information on a package, like dependencies, version, etc + + list + List all installed packages + + list-all + List all available (both installed and not installed packages + Hint: `diff <(pkg list) <(pkg list-all)` will show all packages + that are currently not installed + + log + Show commit history for package + + status + Check for local changes to the packages files + If no arguments is given, checks all installed packages + + update + retreive and install newest available version of package + If no argument is given, updates all installed packages + + +~/.pkg.conf: + Contains configuration vars + + syntax: VAR='argument' + comments with "#" are supported + + PKG_ROOT + the package root path + Default: ssh://derf.homelinux.org/var/packages_root + + PDIR + path for the local package tree + WARNING: changing this will break everything. Don't do it. + Default: $HOME/packages + + VCS_CMD + Command to invoke the vcs + Default: hg + + VCS_OPTIONS + global options to invoke VCS_CMD with + Default: --quiet + + CL_OPTIONS + Options to invoke checklinks with + Default: -q + |