Changes

Jump to navigation Jump to search
425 bytes added ,  09:37, 10 June 2016
Line 3: Line 3:  
[mailto:marco.hess@through-ip.com Marco Hess]
 
[mailto:marco.hess@through-ip.com Marco Hess]
   −
=== Status ===
+
=== Versions ===
As of 2 Feb 2015, RPM's are available from my personal repository (see below) for SME8 (Version 1.0) and SME9 (Version 1.1) in the noarch part of my repository. Both versions have been validated on a latest version of SME8 and SME9. Feedback will be appreciated.
+
{{ #smeversion: smeserver-git}}
 
+
{{ #smeversion: smeserver-gitweb}}
A request has been put in to upload the RPM's to the smecontribs repository in the near future.
+
{{ #smeversion: smeserver-gitweb-theme}}
    
=== Description ===
 
=== Description ===
This is a place holder for a '''Git''' integration and collaboration contrib for SME server. This contrib turns your SME8 or SME9 server into an easy to manage centralised 'git' repository server. Access is with HTTPS and fine grained access permissions are handled through the SME users and groups. Web viewing is provides with the optional '''gitweb''' contrib and its GitHub like theme.
+
This is a place holder for a '''Git''' integration and collaboration contrib for SME server. This contrib turns your SME8 or SME9 server into an easy to manage centralised 'git' repository server. Access is with HTTPS and fine grained access permissions are handled through the SME users and groups. Web viewing is provided with the optional '''gitweb''' contrib and its GitHub like theme.
    
Have a look http://through-ip.com/git for a live instance of this contrib.
 
Have a look http://through-ip.com/git for a live instance of this contrib.
Line 27: Line 27:  
* Web viewing of repositories through gitweb with full view access to local users, but from the internet only the anonymous accessible repositories or with a login, those repositories that that user has permissions for.
 
* Web viewing of repositories through gitweb with full view access to local users, but from the internet only the anonymous accessible repositories or with a login, those repositories that that user has permissions for.
 
* Special GitHub style theme for gitweb viewer (optionally, but highly recommended).
 
* Special GitHub style theme for gitweb viewer (optionally, but highly recommended).
 +
* Syntax colouring when viewing code in the web view.
 
* Gravatars support in the gitweb web view.
 
* Gravatars support in the gitweb web view.
 
* Automatic markdown of README.md into README.html and shown in gitweb repository summary.
 
* Automatic markdown of README.md into README.html and shown in gitweb repository summary.
Line 33: Line 34:     
=== Installation ===
 
=== Installation ===
There are now RPMs available from my personal repository that can be found at
+
There are now RPMs available from the smedev repository.
   −
SME8: http://through-ip.com/packages/smeserver/i386/repoview/
+
==== Epel Repository ====
 
+
The Git packages and the Highlight comes from the [http://wiki.contribs.org/Epel Epel] repository.
SME9: http://through-ip.com/packages/smeserver/noarch/repoview/
+
Check the instructions on that wiki page and make sure you use the settings matching your server (either '''SME8''' or '''SME9''').
   −
Source RPMs are also available, as well as cloning with Git from either:
+
On SME8 it installs Git 1.8 from the Epel repository. On SME9 it is only git 1.7 and from the base repository.
 
  −
http://through-ip.com/git
  −
 
  −
or from GitHub:
  −
 
  −
# https://github.com/MarcoHess/smeserver-git/tree/smeserver-git
  −
# https://github.com/MarcoHess/smeserver-git/tree/smeserver-gitweb
  −
# https://github.com/MarcoHess/smeserver-git/tree/smeserver-gitweb-theme
  −
  −
==== Through IP Repositpory ====
  −
{{Repository|Through-IP}}
  −
 
  −
==== Dag Repositpory ====
  −
The Git packages comes from the [http://wiki.contribs.org/Dag Dag] repository.
  −
Check the instructions on that wiki page and make sure you use the settings matching your server (either '''SME8''' or '''SME9''').
      
==== Install the SME Server Git RPM's ====
 
==== Install the SME Server Git RPM's ====
   −
  yum --enablerepo=through-ip --enablerepo=dag install smeserver-git smeserver-gitweb smeserver-gitweb-theme
+
  yum --enablerepo=smecontribs,epel install smeserver-git smeserver-gitweb smeserver-gitweb-theme
    
==== Subversion conflict with smeserver-subversion ====
 
==== Subversion conflict with smeserver-subversion ====
Line 74: Line 60:     
=== Notes on using SME Server Git ===
 
=== Notes on using SME Server Git ===
 +
 +
==== Further Configuration ====
 +
 +
There are a few configuration parameters in the config database as follows:
 +
 +
Show the current git configuration:
 +
 +
  config show git
 +
 +
===== status =====
 +
 +
Configure if the HTTP access to 'git' is to be enabled. Default 'enabled'.
 +
 +
===== GitWeb =====
 +
 
 +
Configure if gitweb is enabled or disabled. Default enabled when smeserver-gitweb is installed.
 +
 +
===== GitWebTheme =====
 +
 +
Configure if theme for gitweb is enabled or disabled. Default enabled when smeserver-gitweb-theme is installed.
 +
 +
===== debugging =====
 +
 +
Configure the LogLevel used in apache for debugging the git configuration. Default 'disabled'. Generates a lot of log data. Use with caution.
 +
 +
===== gitweb_access_from =====
 +
 +
Configure network level access to the gitweb interface. Settings 'disabled', 'local' or 'internet'.
 +
 +
===== SystemName =====
 +
 +
Configure the shown system name in gitweb. Defaults to the config db 'SystemName'.
 +
 +
===== DomainName =====
 +
 +
Configure the shown domain name in gitweb. Defaults to the config db 'DomainName'.
    
==== Git client needs to ignore self signed SSL certificates ====
 
==== Git client needs to ignore self signed SSL certificates ====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu