Version 3 (modified by andar, 14 years ago) (diff)

--

Git Source Repository

Deluge's source code is always available through our git repository.

To get a copy of the code, you will need to clone it from the repository, but before doing so you will need to decide on which branch to checkout.

Once you clone the code, you may want to see Installing/Source.

Initial Clone

The first step is to clone our git repo:

git clone git://deluge-torrent.org/deluge.git

This will create a deluge/ directory with a copy of the repo.

We will also want to update the submodules which includes libtorrent.

git submodules init
git submodules update

Selecting Branch

There are multiple branches or tags that you can choose from, but the main two will be the current stable branch and the development branch. You can always browse the entire repository here.

List the branches:

cd deluge
git branch -a

If you want a different branch then the currently selected (master) then you will need to create a local branch and switch to it.

Stable:

git checkout -b 1.2-stable origin/1.2-stable

Development:

git checkout master

Updating

You only need to do a clone once, after that you can simply update the branch by pulling changes from the repo.

Assuming you are in the folder you cloned to:

git pull
git submodule update

Now your tree is synchronized to the latest revision in our repository!