Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Development


Thread Tools Search this Thread
Old 02-26-2011, 06:27 PM   #1
siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.
Posts: 137
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 3 WiFi / Nexus 4 (Android)
Exclamation HowTo: Use git under Windows to track calibre development


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
- Install bazaar 2.2.3 Windows standalone (
Warning: Don't use release 2.3.0, as it is broken (see
- Open a cmd shell as Administrator
- Go to the bazaar installation directory (in my case c:\Program Files (x86)\Bazaar)
- cd plugins\fastimport
- unzip
- Go to the git installation directory (in my case c:\Program Files (x86)\Git)
- cd libexec\git-core
- unzip contains a Windows standalone binary of the git-bzr python script from 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.

siebert is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Howto: Running Calibre Content server on Windows Startup sherman Calibre 25 12-30-2017 07:56 AM
Anyone keep track of their wanted or wish list in Calibre? texasnightowl Calibre 5 08-08-2010 11:27 PM
JE100/JE200 Windows CE Emulator (for development) rfog Alternative Devices 1 03-09-2010 04:21 PM
Calibre Windows Development ilovejedd Calibre 9 07-13-2009 12:09 AM
Howto crack Windows Media DRM9 doctorow Lounge 2 05-16-2005 04:19 PM

All times are GMT -4. The time now is 07:20 AM. is a privately owned, operated and funded community.