Hi,
as I'm used to git I don't want to use/learn bazaar to follow the calibre development.
Fortunatly there are several git-bazaar bridges, but their developers seem to work under linux, so it took some effort to find a working solution for Windows.
Here are the steps necessary to create a calibre git repository under Windows 7 64bit:
- Install msysgit (I'm using
http://code.google.com/p/msysgit/dow...ew20110204.exe)
- Install bazaar 2.2.3 Windows standalone (
http://launchpad.net/bzr/2.2/2.2.3/+....2.3-setup.exe)
Warning: Don't use release 2.3.0, as it is broken (see
https://bugs.launchpad.net/bzr-windo...rs/+bug/715610)
- Open a cmd shell as Administrator
- Go to the bazaar installation directory (in my case c:\Program Files (x86)\Bazaar)
- cd plugins\fastimport
- unzip
fastimport_patch.zip
- Go to the git installation directory (in my case c:\Program Files (x86)\Git)
- cd libexec\git-core
- unzip
git-bzr.zip
git-bzr.zip contains a Windows standalone binary of the git-bzr python script from
https://github.com/termie/git-bzr-ng
fastimport-patch.zip contains patched files for the bazaar fastimport plugin. The patch found in the git-bzr-ng repository doesn't match the fastimport plugin version contained in the Windows distribution, so I created this archive with the modified files.
After the installation we can clone the calibre repository:
- Go to a directory where the calibre repository should be created.
- git bzr clone lp:calibre calibre
To fetch new commits from the master repository and rebase the commits on the local branch "mybranch" execute the following commands in the calibre repository:
- git checkout master
- git bzr sync
- git checkout mybranch
- git rebase bzr/master
I hope this HowTo can help some fellow developers to work on calibre.
Ciao,
Steffen