open source packaging and deployment manager
- Perl v5.8.8
- CPAN module
drib has only been tested on Centos 5.6 & Fedora 14
drib [options] command [sub-command] [command-options]
- Download the latest stable build
wget http://drib-pdm.org/download/stable
- Untar
tar -xf drib-0.6.21.tar
- Move into the drib directory
cd drib/
- Configure the environment
./configure
- Make
make
- Install
make install
help Display this message
install Install a package from dist
config Display or change a drib configuration
create Create a package
dist Upload a file to dist
remove Remove an installed package
set Update a package setting
unset Remove a package setting
list Show a list of installed packages
build Run a build manifest
deploy Deploy a manifest
repo Show dist repository information
Options:
-h, --help Show this message
-v, --version Version of drib
For more information about a command, run drib help <command>
Feel free to fork and hack away. How to submit your patches
Install a Package
drib install project/package
drib install project/package-current
drib install project/package -br test
Install to a Remote Server
drib install project/package --host="remote.server.com:99"
Create a Package
drib create package.dpf
Create & Install a Symlinked Package
drib create package.dpf --type=symlink --install --cleanup
Execute a Build File
drib build project.build
Deploy a Build File coming soon
drib deploy project.build
Example Package File
# fe.dpf -- 2010-05-14
# internal variables
src = ../src
htdocs = /home/bolt/share/htdocs/demo/fe
assets = /home/bolt/share/htdocs/assets/demo/fe
conf = /home/bolt/conf/httpd/
# meta data
meta project = demo
meta name = fe
meta version = file:./changelog
meta summary = Demo FrontEnd Package
meta description = Demo FrontEnd Package
meta changelog = ./changelog
# settings
set host waroftruth.com
set port 80
# directorys
dir - - - $(htdocs)
dir - - - $(assets)
# assets
find - - - $(assets) $(src)/assets/ -depth -name "*.*"
# pear
find - - - $(htdocs) $(src)/ -depth -name "*.php"
# set our conf file
settings $(conf) ../conf/demo_fe.conf
# post install
command post-install /etc/init.d/httpd restart
command post-set /etc/init.d/httpd restart
- IRC: #dribpdm - irc://irc.oftc.net/#dribpdm
- Mailing List: drib-pdm@googlegroups.com
- Bugs: github issues
The MIT License
Copyright (c) 2009-2011 Travis Kuhl travis@kuhl.co
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.