Accessing and using Git Repositories for Netzob development

Repositories

Official repository :
Netzob's latest and official sources are managed by this one.

netzob

Repository per package :
Each OS package of Netzob can be hosted on our servers and therefore contains OS specifics modifications.

Debian :

netzob-debian

Gentoo :
netzob-gentoo

Windows :
netzob-windows

Repository per developer :
Each developer can host its specifics sources and modifications of Netzob on our servers in a Write Access restricted repository.

people/<username>/netzob

The <username> value is the one you use to login on dev.netzob.org.

Read access on repositories

All the repositories can be accessed using HTTPS protocols without any restrictions using the url : https://dev.netzob.org/git/

Cloning the official repository :

git clone https://dev.netzob.org/git/netzob.git

Cloning a package repository
Debian :

git clone https://dev.netzob.org/git/netzob-debian.git

Gentoo :
git clone https://dev.netzob.org/git/netzob-gentoo.git

Windows :
git clone https://dev.netzob.org/git/netzob-windows.git

Cloning a developer repository :

git clone https://dev.netzob.org/git/people/<username>/netzob.git

Write access on repositories

The authentication and therefore your write-permissions are set according to the SSH key you use to connect on the repository. Therefore, you need to send
your public key to before having access to your repository(ies).

  • Each developer has a write access on its own repository.
  • Each package maintainer has a write access on its dedicated package repository.
  • Each release manager has a write access on the official repository.

Official repository :
Netzob's latest and official sources are managed by this one.

netzob@dev.netzob.org:netzob

Repository per package :
Each OS package of Netzob can be hosted on our servers and therefore contains OS specifics modifications.

Debian :

netzob@dev.netzob.org:netzob-debian

Gentoo :
netzob@dev.netzob.org:netzob-gentoo

Windows :
netzob@dev.netzob.org:netzob-windows

Repository per developer :
Each developer can host its specifics sources and modifications of Netzob on our servers in a Write Access restricted repository.

netzob@dev.netzob.org:people/<username>/netzob

The <username> value is the one you use to login on dev.netzob.org.

Handling submitted commits

Pull-requests submissions can be handled by either merging with a remote branch or cherry-picking commits from a remote branch.

Merging with a remote branch

Add the remote branch

$ git remote add netzob-xxx https://dev.netzob.org/git/people/xxx/netzob.git master

Fetch its content

$ git fetch netzob-xxx

Merge the content of the master branch of netzob-xxx into the local branch

$ git merge netzob-xxx/master

Push the merged files into origin

$ git push origin master

Cherry picking with a remote branch

Add the remote branch

$ git remote add netzob-xxx https://dev.netzob.org/git/people/xxx/netzob.git master

Fetch its content

$ git fetch netzob-xxx

Inspect the commits on the netzob-xxx branch and pick the relevant commits

$ git cherry-pick commit1
$ git cherry-pick commit2

Push the merged files into origin

$ git push origin master

Also available in: PDF HTML TXT