Tag Archives: repository

Setup A Hosted Git Repository With Gitolite

Git LogoGit has gotten a lot of hype recently, especially among smaller development teams and contractors, for its flexible, distributed environment, ease of use and while Subversion is the old kid on the block, there are pros and cons for each. This article assumes that you already know the intrinsics of the different version control systems and you’ve decided that Git is for you.

Gitolite is a package that allows us to host our repositories using one dedicated user that has restricted access to the host OS and provides access to the source code.

The following steps helped me successfully install and setup Git on a Ubuntu Server 11.04, install gitolite to host my Git repositories and allow secure access over SSH. I’ve not tested other Linux versions, but assume it should be very similar.

The basic steps include:

  • Create User
  • Generate SSH keys
  • Install Git
  • Install Gitolite
  • Administer Gitolite

Read more »

Move a SVN Subversion Repository

Subversion SVNAt some point in a developers life, we have to upgrade, switch hosting providers or replace broken hardware and with that comes the inevitable. Moving all of our apps, data and configuration settings, and eventually our holy repository.

Moving an SVN repository from one Subversion server to another, while carrying over the entire version history information may seem like a daunting task, but fortunately it’s rather quite easy and straight forward.

Backup your old Repository

Step one is the generate a dump file of the existing repository which we can later move to our new server.
We create this dump with the following command:

# svnadmin dump /path/to/old/repository > repository.svn_dump

This dump file contains now all the revisions that have ever been made and committed to our SVN repository, and therefore this file may get rather large, depending on how active and old the repository is. Read more »

Add Medibuntu Repository for Ubuntu 9.04

Medibuntu is probably the most useful and popular non-included repository, as it contains a lot of codecs for viewing or creating audio and video files. It’s a must have repository for Ubuntu.

  • Acrobat Reader
  • Firmware for the ALSA sound system
  • Google Earth
  • DVD decryption
  • MPlayer / MEncoder
  • Non-free codecs and
  • Skype

and the list goes on. Two simple commands get you up and running:

sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list –output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

This adds the Medibuntu as a repository and updates the sources list. You can now install software like additional codecs, utilities and more like this:

sudo apt-get install non-free-codecs libdvdcss2

And you can always use Synaptic to install new software, of course. For a complete list, go here.