a command line tool that implements a development workflow for Ceph
Project description
ceph-workbench
ceph-workbench is a command line tool that implements a development workflow for Ceph
Documentation : http://ceph-workbench.readthedocs.org/ Home page : https://pypi.python.org/pypi/ceph-workbench
Installation
Install docker http://docs.docker.com/engine/installation/
function ceph-workbench() { docker run –rm dachary/ceph-workbench “$@”; }
ceph-workbench –help
Hacking
Get the code : git clone http://ceph-workbench.dachary.org/root/ceph-workbench.git
Run the tests : run-tests.sh
Check the documentation : rst2html < README.rst > /tmp/a.html
Prepare a new version
version=1.3.0 ; perl -pi -e “s/^version.*/version = $version/” setup.cfg ; for i in 1 2 ; do python setup.py sdist ; amend=$(git log -1 –oneline | grep –quiet “version $version” && echo –amend) ; git commit $amend -m “version $version” ChangeLog setup.cfg ; git tag -a -f -m “version $version” $version ; done
Publish a new version
python setup.py sdist upload –sign
git push ; git push –tags
docker build –tag dachary/ceph-workbench docker
docker login
docker push dachary/ceph-workbench
pypi maintenance
python setup.py register # if the project does not yet exist
trim old versions at https://pypi.python.org/pypi/ceph-workbench
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.