=pod =head1 NAME pkg - Package maintenance utility =head1 SYNOPSIS B I [ I ] =head1 DESCRIPTION B is the basic script for maintaining packages I may be one of: =over =item B|B I fetch given I from the package_root and install it =item B I Show I's changelog (if available) =item B I Change the default source on all packages to I Example: `changeroot ssh://kraftwerk/var/packages_root` will change the source of core to 'ssh://kraftwerk/var/packages_root/core' =item B [ I ] Check dependencies, conflicts and symlinks of I. If no argument is given, checks all installed packages =item B|B I Remove I from the local packages tree =item B I Evauluate I, e.g. to manually execute a hook =item B I Show information on I, like dependencies, version, etc =item B List all installed packages =item B 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 =item B Update the local package list =item B I Show commit history for package =item B [ I ] push new local versions to PKG_ROOT. If no argument is given, pushes all installed packages =item B Update remote package list =item B [ I ] Check for local changes to the I's files. If no arguments is given, checks all installed packages =item B Update local and remote package list =item B [ I ] retrieve and install newest available version of I. If no argument is given, updates all installed packages =back =head1 FILES =over =item F<~/.pkg.conf> Contains configuration vars =back =head1 CAVEATS On the server holding the PKG_ROOT, core/include/pkglist must be executed for pkg upgrade and pkg push to work properly. It's recommended to execute it as cronjob. A concept to execute it 'on demand' is planned. =head1 EXAMPLES =over =item * B Get new stuff from the packages_root =item * B Push local changes to the packages_root =item * B Update the core package after local changes. (Yeah, this sucks. I'm working out a better way) =back =head1 AUTHOR Daniel Friesel =head1 SEE ALSO L(5) =cut vim:ft=pod