repository with email-based push/pull
A friend and I are working on a small project, there are only two of us and each has a personal development machine (neither of the machines is on 24/7), we don't want to pay to set-up a dedicated machine for running the main branch like a lot of the tutorials I've seen suggest (it also defeats the purpose of a distributed CVS), and we don't want to use launchpad since we're trying to keep the code private for now. I've currently setup a local branch on my machine and it works well as long as no one else needs to update it. Since neither of the machines is online all the time, my idea was to setup an email-based system, where my branch could automatically generate a patch file on commit and send it via email to my friend. My friend could then run a command to automatically scan for that special email message, retrieve patch and patch his local branch (and vice versa for his commits). The two promising plugins I saw for this is bzr-email (which sends an email notification upon commit), and bzrtools (which can automatically apply a patch to local branch). However, they don't seem to automate this solution completely (bzr-email will generate a message with preview of code changes, not attached patch, and bzrtools will only apply the patch, not download it from the email). To simplify things, we don't mind making these special emails easy to detect (have a unique title format from other emails or even setting up a separate email address we use only for patch transactions). I was considering writing a couple python scripts to do the push/pull through email if no other solution is currently available (but since I haven't used email.utils package in python at all yet, I'm not sure how hard it would be).
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alex T for more information if necessary.