tomaswolf / gerrit-gitblit-plugin

Integrates standard GitBlit (currently 1.7.1) as a repository viewer in Gerrit
Apache License 2.0
22 stars 5 forks source link

Gerrit GitBlit Plugin for Gerrit 2.10.5 #17

Closed cherylhu closed 8 years ago

cherylhu commented 8 years ago

I want to use the plugin of gitblit. But the version of my gerrit is 2.10.5. I can't find a suitable plugin. Can you send it to me, please? My email address is xiuyun.hu@hisilicon.com. Thanks very much.

tomaswolf commented 8 years ago

I've created a release from the maintenance-2.10 branch for this : release v2.10.4.162.1. Should work with all JGit-4-based Gerrit 2.10 versions, i.e., 2.10.4 and higher. Give it a try!

I don't have a Gerrit 2.10 installation anymore, so I can't test myself. Please report back whether it works. It should; basically I only had to cherry-pick a few commits from the master branch; mainly the adaptation to JGit 4, plus some other minor fixes.

cherylhu commented 8 years ago

Thanks. It can work now. I have doubts that how can I configure gitblit and whether gitblit can use caches to make response time shorter. Because I have thousands of projects, so that It costs a very long time when I login to gitblit or click on the button of "Repository".

tomaswolf commented 8 years ago

I have thousands of projects

Whoa! See the README. It says:

In the installations where I run this plugin, we have about 10 to 50 projects, and less than 100 users.

I have no idea how, if it's possible at all, Gitblit would need to be configured to perform well with thousands of projects. (And presumably tens of thousands of users?) I suppose you'd need to have a significant front-end infrastructure (web caches, (reverse) proxies, load balancers) to make such a large-scale set-up perform well.

Maybe ask the author of Gitblit?

cherylhu commented 8 years ago

I see it. You are so kind to help me. Thks very much.