Fabric methods to create Git bundles inlcuding direct submodules to be used for offline deployment. Submodule bundle support is adapted from git subundle. This project utilize Python and Fabric to make bundle support practicial especially for deployment tasks.
make install
To create bundle:
.virtualenv/bin/fab mode_local git_bundle:Projects/source_repository,Projects/source.bundle
To deploy bundle to local for testing:
.virtualenv/bin/fab mode_local git_unbundle:/temp/source.bundle,/temp/target/
To deploy bundle to remote host:
.virtualenv/bin/fab --hosts host1 mode_remote git_unbundle:/temp/source.bundle,/var/www/target_repository/
Bundle and deploy with single command:
.virtualenv/bin/fab --hosts host1 deploy_bundle:Projects/source_repository,/var/www/target_repository/
- Python 3 is not supported due to cuisine which appears to be not ready for Python 3 yet: sebastien/cuisine#133.