Git

From SME Server
Revision as of 05:45, 9 May 2012 by Thf (talk | contribs)
Jump to navigationJump to search
PythonIcon.png Skill level: Developer
Risk of inconsistencies with Koozali SME Server methodology, upgrades & functionality is high. One must be knowledgeable about how changes impact their Koozali SME Server. Significant risk of irreversible harm.


Maintainer

Marco Hess

Description

This is a currently a place holder for a Git integration contrib for SME server that is under development. It integrates git with git-http-backend and gitweb into SME.

The current feature list includes:

  • Create & manage centralised git repositories through the SME server-manager panel.
  • Access rights based on SME server users and groups.
  • Per repository settings for pull and push access control (including support for setting anonymous access).
  • Per repository network access setting for either local only or internet.
  • All repositories accessed over HTTPS for easy remote access through firewalls.
  • Separate name space for Git repositories using git subdomain (i.e. independent of ibays and other resources on the server)
  • Email notification of push operations to all users that have either pull or push access to the repository
  • Web viewing of repositories through gitweb
  • Gravatars support in gitweb
  • Automatic markdown of README.md into README.html and shown in gitweb

Installation

You need to install the git rpms on your server with:

yum --enablerepo=dag install git gitweb

For the smeserver-git contrib is currently no RPM available for this package but a very alpha (but functional) version is available from my Git repository and can be anonymously cloned:

 git clone https://git.through-ip.com/smeserver-git.git

You may need to change your git configuration to ignore the warning about the self signed SSL certificate with:

 git config --global http.sslVerify false

The repository contains an install script that can be used to install the required files but your mileage may vary.

Feedback

I welcome any feedback on this contrib for bugs, features or assistance (e.g. turning it into an RPM). Email me at the address found at the top of this page.

Additional information

More information about Git can be found on http://git-scm.com/.