Dandelion
Incremental Git repository deployment.
Install
Ensure that Ruby >= 2.0.0 is installed, then run:
$ gem install dandelion
You may need to install pkg-config and cmake before installing Dandelion. They're likely available in your OS package manager. For example:
$ brew install pkg-config cmake
or
$ apt-get install pkg-config cmake
You may also need to install the Ruby headers if you're using a version of Ruby installed by your OS package manager (ruby-dev on Debian, ruby-all-dev on Ubuntu).
Config
Configuration options are specified in a YAML file (by default, the root of your
Git repository is searched for a file named dandelion.yml).
Example:
adapter: sftp
host: example.com
username: user
password: pass
path: path/to/deployment
exclude:
- .gitignore
- dandelion.yml
- dir/
additional:
- config/auth.yml
Required:
adapter(alias:scheme, the file transfer adapter)
Optional:
path(relative path from root of remote file tree, defaults to the root)local_path(relative path from root of local repository, defaults to repository root)exclude(list of files or directories to exclude from deployment, iflocal_pathis set files are relative to that path)additional(additional list of files from your working directory that will be deployed)
