Navigation

2 Gtk‎ > ‎2 Tutorials‎ > ‎Collaboration‎ > ‎Repository setup‎ > ‎

Secure network repository setup

Introduction

In this tutorial we are going to set up a secure network repository.

It uses a git repository on sourceforge.net.

Open an account on sourceforge.net. We will use the username "joe" in this tutorial.

Register a new project on your personal account page on sourceforge.net. Let's call this project "repo2".

Enable project feature "Git" on this project. This provides the repository.

The next thing is to try whether you can read the repository properly. To try that, open a terminal and issue the following command:

git ls-remote ssh://joe@repo2.git.sourceforge.net/gitroot/repo2/repo2

This command probably will ask for your password, and the first time it could ask you whether you want to continue connecting. But it should show no errors. If it completes without errors, then your secure repository works well.

The repository that was created in this tutorial has the following URL:

ssh://user@repo2.git.sourceforge.net/gitroot/repo2/repo2

The users that are going to use this repository need this URL. Where it says "user", each user would need to fill in his own username. 

Each user will need to open his or her own account on sourceforge.net. After that, they need to open an e-mail from sourceforge.net and click the link to activate their account. Each user needs to be registered as a member of the project, in this example, project "repo2". This is so that the user can write to the repository. 

So the moderator (or the person to first set up the repository) will need to log onto to his account at sourceforge.net,

  • click on “account” in the upper right, 
  • choose the projects tab, 
  • click on the project name, 
  • then click View all files.
  • Now there will be a series of tabs at the top which expand if your mouse cursor hovers above them. Go to the last one, Project Admin, and click Members.
  • Finally! From there you will be add any members who have activated their accounts by clicking in the e-mail that was sent to them.


  Sign in   Recent Site Activity   Terms   Report Abuse   Print page  |  Powered by Google Sites