Skip to content

Rails application that helps you administrate your git repositories from a web interface.

Notifications You must be signed in to change notification settings

standout/gitosis-web-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitosis web admin

Gitosis web admin is a web based backend (rails application) for your gitosis based git repository hosting.

It basically manages your configuration and public key files which then will be pushed to your admin repository. But it does this through a very simple interface everyone understands.

This app assumes that you already set up gitosis. If not, see hosting git repositories the easy and secure way

Work in progress

Please note that this is work in progress. Feel free to report issues or send feedback.

Installation

Install the rails app


git clone git://github.com/masone/gitosis-web-admin.git
cd gitosis-web-admin

Edit the configuration located at config/database.example.yml and save it as config/database.yml


sudo rake gems:install
rake db:create
rake db:migrate

Configuration

Edit the configuration located at config/application.example.yml and save it as config/application.yml

Import data

If you’re not working on a clean installation of gitosis, you can import the current repositories and keys with rake.


rake gitosis:import

SSH key

Create a ssh key for the user that runs the application and give it access to gitosis-admin.
Do not set a password (otherwise it won’t work).


su application_user
ssh-keygen -t rsa
sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub

Ready to go


script/server

Todo

  • Find a way that the key of the admin user can have a password
  • Ajaxify submits

Planned features

  • Send mail notification to repository owner if anything related changes
  • Send mail to key owner if anything related changes
  • Links to a gitweb client
  • Supporting more git config tags

Notes

  • Config and database are loosely coupled. gitosis.conf is regenerated from database all the time. Manual changes in the config will be lost.
  • If anything with your config or keys goes wrong, you can get them from git

http://www.masone.ch

About

Rails application that helps you administrate your git repositories from a web interface.

Resources

Stars

Watchers

Forks

Packages

No packages published