Display project repositories from database gitorious:

SELECT slug, name FROM repositories r INNER JOIN projects p ON r.project_id = WHERE NOT LIKE '%wiki' ORDER BY p.slug,;

Runtime Init Dependencies

  • mysql
  • stompserver


  • git clone git:// gitorious
  • cp config/database.sample.yml to config/database.yml and edit
  • cp config/gitorious.sample.yml to config/gitorious.yml and edit
  • bundle exec rake db:create:all (creates MySQL databases)
  • bundle exec rake db:setup
  • script/poller start
  • script/gitorious -d -e production

Git Access

All git access is run through user 'git', and is accessible by using SSH public keys. The keys can be added through the gitorious web interface.


It is possible to run gitorious through Apache, but git ssh access would not work. Instead, we are running it as a separate daemon.

Search is made available by running ultrasphinx. There's a custom init script named gitorious-search which is the original searchd script shipped with the ebuild, modified to run as user git.

The configuration file in /etc/sphinx/sphinx.conf is copied from /var/www/gitorious/config/ultrasphinx/production.conf