Home > gitosysadmin

gitosysadmin

Gitosysadmin is a project mainly written in Ruby, based on the MIT license.

NO LONGER UNDER DEVELOPMENT: A tiny administration panel for Gitosis, written in Sinatra and using Ruby-Git. NOTE: Nothing major done on this project in awhile -- just haven't had the time to work on it. If you really want the functionality,

Gitosysadmin

Gitosysadmin is a tiny administration panel for Gitosis, written in Sinatra and using Grit. (Gitosysadmin should make it easy to add new groups, repos, and users to Gitosis.)

Requirements

  • ruby-git
  • Sinatra
  • datamapper
  • do_sqlite3

Source

The source is available at:

http://github.com/mathias/gitosysadmin

and cloned with:

git clone git://github.com/mathias/gitosysadmin.git

Usage

First, make sure you have gitosis up and running on your server. Garry Dolley has a good guide to setting up gitosis.

The users database needs to be created first:

rake db:migrate
rake db:testusers

This creates a default admin user with password pw. More instructions to follow development.

Once logged in, you'll need to clone the gitosis-admin repo off your server. Gitosysadmin will keep this repo locally in the dir it was launched from. After logging in, clone the gitosis-admin repo in the Clone tab by supplying it with the path to the repo on your server, with a username. If gitosis is running on the same machine as Gitosysadmin, this path probably looks like

git@localhost:gitosis-admin.git

If you get an error on submitting this, you should double-check the path to the repo on your server.

Credits

Icons are Mark James's Silk icons under a Creative Commons Attribution 3.0 License.

Inspiration for the login system drawn from http://github.com/daddz/sinatra-dm-login/