Push a sieve script to your mailserver and have it applied automatically.
Project description
# Sieve git push deployment [](https://travis-ci.org/mheistermann/sieve-git-pushdeploy)
## Introduction
Keep your sieve scripts in a git repos (e.g. on your mailserver), push to them to deploy a new version.
Warning: experimental, use at your own risk. Probably quite buggy, just hacked this together quickly.
## Installation
### Installation with pip
`pip3 install sieve-git-pushdeploy HOOK=/usr/local/bin/sieve_git_pushdeploy `
### Installation without pip
` virtualenv -p python2 .venv source .venv/bin/activate pip install -r requirements.txt HOOK=$(pwd)/.venv/bin/sieve_git_pushdeploy ` Copy the provided example copy to ~/.config/sieve-git-pushdeploy/sieve.conf and adjust the values.
### Setup a sieve repository
Somewhere, ` git init --bare sieve.git cd sieve.git/hooks ln -s $HOOK update ` You can also opt to only use a subset of the hooks.
Now if you clone that repo and push your configs to it, they will be checked and uploaded automatically.
## License
sieve-git-pushdeploy was written by Martin Heistermann <github()mheistermann.de> and is available under the terms of the GPL v3.
## Ideas
Colored output that stands out from the rest of the git output
## Contributing
Send me a pull request on github or [email me a patch](mailto:github[]mheistermann.de).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sieve-git-pushdeploy-0.4.0.tar.gz.
File metadata
- Download URL: sieve-git-pushdeploy-0.4.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0958e9bd1d02226fc0bb8d1fa7bbe78ff6480f8e0b76eb178f57b895b9c48a23
|
|
| MD5 |
caa6163666a1c98ec1fecdbdbc566b50
|
|
| BLAKE2b-256 |
882a636c96846961ba3d632170d3e0c12f62972b960dd5ba7ca1895831b99793
|