【2013.12.17更新】
以下のコメントに従って、前と同じように gerrit を 2.8 に、gitblit を 1.3.2 にアップグレードします。
ソースから gitblit をコンパイルするのは複雑です。githubリリースの gitblit.zip から jar を抽出します。
【更新終了】
デモ用に Windows に gitblit (1.3.2) プラグインを使用して gerrit (2.8) をインストールしようとしました。
以下は、MSysGit 環境を使用した Windows での私の手順です。
$ java -jar gerrit-2.8.war init -d review
# use ldap to connect local ldap server, others are default
# copy gitblit plugin into plugins' folder
$ unzip gitblit-1.3.2.zip
$ cp gitblit.jar review/plugins/gitblit.jar
etc/gerrit.config
gitblitの更新
[gitweb]
type = custom
url = plugins/
project = gitblit/summary/${project}
revision = gitblit/commit/${project}/${commit}
branch = gitblit/log/${project}/${branch}
filehistory = gitblit/history/${project}/${branch}/${file}
linkname = GitBlit
今、ゲリットを開始します
$ java -jar review/bin/gerrit.war daemon -d review
gerrit が通常どおり開始され、gitblit リンクがブランチで利用可能になります。
gitblit リンクをクリックすると、以下に記載されています (URL リンクは http:///plugins/gitblit/log/gtr/HEAD で、logs
ディレクトリにエラーが見つかりません
HTTP ERROR: 404
Problem accessing /plugins/gitblit/log/gtr/HEAD. Reason:
Not Found
なにか提案を ?