Git 的 Web 管理界面 Git Manager

jopen 14年前發布 | 90K 次閱讀 Git

Git Manager 是 Git 的 Web 接口,可用于創建和管理 Git 資料庫、用戶和訪問組。基于 Apache 的認證機制 (HTTP or LDAP) 并使用 MySQL 數據庫來存儲資料庫、用戶和組的關系數據。同時包含 ViewGit 資料庫查看工具。
項目地址:http://labs.softjourn.com/projects/gitmanager

Git 的 Web 管理界面 Git Manager

Description

GitManager Manage git repositories, users and access groups.
It is based on Apache authentication mechanisms (HTTP or LDAP)
and uses MySQL database to store repo/user/group relation data.
It is a git web management interface, that aims to be easy to set
up and upgrade, light on dependencies, and comfortable to use.

Some of the current features are:

  • Authenticate either with Apache http(CRYPT) or LDAP
  • Create git repositories, manage user & group access per repository
  • Bundled ViewGit a comfortable git web interface / repository viewer, light on dependencies

Dependencies

  • PHP 5
  • Apache or compatible web server
  • MySQL 5
  • Reasonably new git

First installation

  • Create a direcory "repos" writable by the web server user and put .htaccess file there
  • either from doc/example-htaccess-apache-http or doc/example-htaccess-ldap whichever auth
  • Make .hpasswd and .htgroup files writable by the web server user
  • Create the includes/config.php from includes/example-config.php file to select an auth
  • schema, setup the path and populate the DB settings
  • Create the MySQL database and load the doc/gitmanager.sql schema and data
  • Change the built-in admin account password: htpasswd -bd .htaccess gforgeadmin newpassword
  • Setup the Apache VirtualHost from doc/example-virtualhost
  • License: AGPL


Git是一個開源的分布式版本控制系統,用以有效、高速的處理從很小到非常大的項目版本管理。

Git 是 Linux Torvalds 為了幫助管理 Linux 內核開發而開發的一個開放源碼的版本控制軟件。

Torvalds 開始著手開發 Git 是為了作為一種過渡方案來替代 BitKeeper,后者之前一直是 Linux 內核開發人員在全球使用的主要源代碼工具。開放源碼社區中的有些人覺得 BitKeeper 的許可證并不適合開放源碼社區的工作,因此 Torvalds 決定著手研究許可證更為靈活的版本控制系統。盡管最初 Git 的開發是為了輔助 Linux 內核開發的過程,但是我們已經發現在很多其他自由軟件項目中也使用了 Git。例如,X.org 最近就遷移到 Git 上來了,很多 Freedesktop.org 的項目也遷移到了 Git 上。

Git與CVS的區別

  • 分支更快、更容易。
  • 支持離線工作;本地提交可以稍后提交到服務器上。
  • Git 提交都是原子的,且是整個項目范圍的,而不像 CVS 中一樣是對每個文件的。
  • Git 中的每個工作樹都包含一個具有完整項目歷史的倉庫。
  • 沒有哪一個 Git 倉庫會天生比其他倉庫更重要。

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!