[Biopython-dev] biopython on github

Giovanni Marco Dall'Olio dalloliogm at gmail.com
Sun Feb 15 10:29:53 EST 2009


Hi,
I have uploaded a git-converted branch of biopython on github, in case
you want to try it and see how it works.

You can find it here:
- http://github.com/biopython/biopython/


To work with it, the optimal protocol is:

- create an account on github.com. Upload an ssh public key by
clicking on 'account' after having logged in.
It is not mandatory to use github, but it will help you understanding
how git works, and it allows other people to follow your branches and
your work.

- go to the biopython repo:
 http://github.com/biopython/biopython/tree/master
and you will see a button named 'Fork': click on it.
It will create a fork of the official biopython repository your
personal account.
Here the word 'fork' is not used in the common way it is, but just to
indicate that you are going to work on a modified version of the
official code, and it's not even a git command.


- now, install git on your computer, and execute the following commands:
$: git clone git at github.com:<your username>/biopython.git
$: git remote add official_dist git://github.com/biopython/biopython.git

With the first command, you will download a copy of the repository on
your local computer, which will be the one you will modify
(technically, you are creating a new branch on your computer).
With the second command, you are adding a reference to the official
biopython repository, so in the future you will be able to easily
import the official code and compare it with yours.

Here it is an explanation on these two commands:
http://github.com/guides/keeping-a-git-fork-in-sync-with-the-forked-repo


p.s.: to convert to git from cvs I have followed the instructions here:
- http://www.kernel.org/pub/software/scm/git/docs/v1.4.4.4/cvs-migration.html
This seems to be a good tutorial on git, too:
- http://www.kernel.org/pub/software/scm/git/docs/v1.4.4.4/tutorial.html


-- 

My blog on bioinformatics (now in English): http://bioinfoblog.it


More information about the Biopython-dev mailing list