Skip to content

Latest commit

 

History

History
 
 

client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

drib

open source packaging and deployment manager

Requirements

  • Perl v5.8.8
  • CPAN module

drib has only been tested on Centos 5.6 & Fedora 14

Usage:

drib [options] command [sub-command] [command-options]

Install

  1. Download the latest stable build wget http://drib-pdm.org/download/stable
  2. Untar tar -xf drib-0.6.21.tar
  3. Move into the drib directory cd drib/
  4. Configure the environment ./configure
  5. Make make
  6. Install make install

Commands & Options

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>

Contribute

Feel free to fork and hack away. How to submit your patches

Examples

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

Get Help

LICENSE

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.