Changes

Jump to navigation Jump to search
327 bytes removed ,  13:51, 29 January 2013
no edit summary
Line 3: Line 3:  
[mailto:marco.hess@through-ip.com Marco Hess]
 
[mailto:marco.hess@through-ip.com Marco Hess]
 
=== Description ===
 
=== Description ===
This is a place holder for a '''Git''' integration contrib for SME server that is currently under development. It integrates '''git''' with '''git-http-backend''' and '''gitweb''' into SME8.
+
This is a place holder for a '''Git''' integration contrib for SME server that is currently under development. It integrates '''git''' with '''git-http-backend''' and '''gitweb''' into SME8. Have a look http://git.through-ip.com for a live instance of the contrib.
    
  [[File:Smeserver-git_server_manager_menu.png|right‎]]
 
  [[File:Smeserver-git_server_manager_menu.png|right‎]]
Line 14: Line 14:  
* Per repository network access setting for either local only or internet.
 
* Per repository network access setting for either local only or internet.
 
* All repositories accessed over HTTPS for easy remote access through firewalls.
 
* 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)
+
* Separate name space for Git repositories using git as a prefix (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
 
* Email notification of push operations to all users that have either pull or push access to the repository
 
* Web viewing of repositories through gitweb
 
* Web viewing of repositories through gitweb
Line 23: Line 23:     
=== Installation ===
 
=== Installation ===
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. Use the following guidelines for a manual install:
+
While still very alpha, there are now RPMs available from my personal repository that can be found at
 +
 
 +
http://through-ip.com/packages/smeserver/i386/repoview/
 +
 
 +
Source RPMs are also available, as well as cloning with Git from either:
 +
 
 +
http://git.through-ip.com
 +
 
 +
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 ====
 
==== Dag Repositpory ====
Line 32: Line 47:  
==== Install Git RPM's ====
 
==== Install Git RPM's ====
   −
  yum --enablerepo=dag install git gitweb
+
  yum --enablerepo=through-ip --enablerepo=dag install smeserver-git smeserver-gitweb smeserver-gitweb-theme
    
==== Clone the smeserver-git repository ====
 
==== Clone the smeserver-git repository ====
Line 42: Line 57:     
  git clone https://git.through-ip.com/smeserver-git.git
 
  git clone https://git.through-ip.com/smeserver-git.git
  −
==== Add a 'git' hostname ====
  −
  −
In the server-manager panel under '''Configuration''' & '''Hostnames and addresses''', add a host with the name of 'git' to your domain with the location '''Self'''
  −
  −
==== Installing the contrib ====
  −
  −
{{Note box|''The repository contains an install script that can be used to install the required files but your mileage may vary.''
  −
}}
  −
  −
First add a couple of config variables:
  −
  −
config set git service status enabled domain git.yourserver.com allow_access_from local
  −
  −
Enter the directory where you cloned the git repository:
  −
  −
cd smeserver-git
  −
  −
Make the script executable and run it:
  −
  −
chmod +x install-smeserver-git.sh
  −
./install-smeserver-git
  −
  −
=== Removal ===
  −
The repository contains an uninstall script:
  −
  −
./uninstall-smeserver-git.sh
      
=== Feedback ===
 
=== Feedback ===
374

edits

Navigation menu