Path: | lib/plugins/git-sync.rb |
Last Update: | Wed Feb 09 10:41:59 +0000 2011 |
git-sync ditz plugin
This plugin is useful for when you want synchronized, non-distributed issue coordination with other developers, and you‘re using git. It allows you to synchronize issue updates with other developers by using the ‘ditz sync’ command, which does all the git work of sending and receiving issue change for you. However, you have to set things up in a very specific way for this to work:
Once that‘s set up, ‘ditz sync’ will change to the bugs checkout dir, bundle up any changes you‘ve made to issue status, push them to the remote repo, and pull any new changes in too. All ditz commands will read from your bugs directory, so you should be able to use ditz without caring about where things are anymore.
This complicated setup is necessary to avoid accidentally mingling code change and issue change. With this setup, issue change is synchronized, but how you synchronize code is still up to you.
Usage:
0. read all the above text very carefully 1. add a line "- git-sync" to the .ditz-plugins file in the project root 2. run 'ditz reconfigure' and answer its questions 3. run 'ditz sync' with abandon