Skip to content
Povilas Kanapickas edited this page Feb 16, 2014 · 11 revisions

Welcome to the kicad-source-mirror wiki!

How to contribute

This repository is a mirror of the Kicad Bazaar branch which is hosted on Launchpad. If you are not used to Bazaar VCS, then you can do all your development in Git and send the patches to the Kicad mailing list (in order to post, you need to join Launchpad and apply for membership in the developers team).

How to update the source mirror

The instructions below are only useful for Kicad developers that have commit rights to the mirror.

'''Initialization''':

Install the official git-bzr bridge that comes along with git. Other plugins or scripts (in particular, git-bzr-ng) are not supported as they produce different commit hashes.

sudo apt-get install git-bzr

Clone this repository

Add a bzr remote to the newly created git repository:

git remote add bzr-upstream bzr::/location/to/your/bzr/branch

'''Updating'''

Update your Kicad Bazaar branch (cd to /location/to/your/bzr/branch first):

bzr pull

Pull new changes from the bazaar branch:

git pull bzr-upstream master

Push to Github

git push origin master

That's it!

The bridge seems to be a bit unstable at the moment, removing .git/bzr directory (if it exists) before pulling is recommended. This seems to be fixed in Git 1.9 series.

Clone this wiki locally