Hi,
I'm looking at upgrading a Gerrit server from 2.8.4 to 2.9. Most of it works, but I do have problem with one plugin; Gitblit. Usually I grab all plugins from gerrit.googlesource.com, check out correct branch and build against the correct Gerrit API.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Have you considered to use AngularJS?
We should upgrade to the latest and greatest GitBlit IMHO(master version => upcoming 1.7)It is not a 5' task as GitBlit now is much more powerful and includes code-review functionalities as well: the best would be to "plug" Gerrit as code-review engine and expose GitBlit as well as main UX, with the ability to go back to Gerrit UX at any time when needed.
In my backlog ... just not time to spend on it at the moment :-(
Yeah, I can share my thoughts.
@James how hard would it be to replace Lucene in Gitblit 1.3with 4.8.1 version (use by Gerrit)? I guess it isn't possible todisable Lucene in Gitblit entirely?
--
Agreed: on Gerrit we're actually focusing on removing it completely :-)
--
You received this message because you are subscribed to the Google Groups "gitblit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitblit+u...@googlegroups.com.
On 16 Jun 2015, at 18:42, Santhosh Kumar <santh...@gmail.com> wrote:Hi James/Luca,I had deployed a gitblit instance and I can able to clone my project and its visible in gitblit UI. Similarly, I have a gerrit UI which currently were not showing any code. Everything is blank. My goal is I have to integrate the gitblit code into gerrit as a code review tool. I tried thishttp://www.slideshare.net/lucamilanesio/gitblit-plugin-for-gerrit-code-review.
I can able to run the maven successfully after clearing so many issues.
But in gerrit UI, I can able to see the blank page with gerrit sections. Can you please help what I am doing wrong here. You have any documentation for gitblit+gerrit.
On 17 Jun 2015, at 18:58, Santhosh <santh...@gmail.com> wrote:Hi Luca,Thanks for you reply.I am newbie to this gitblit and gerrit integration. Can you please provide me more details. I have a sent an invite chat to you.What I understood from your mail is, I can use the gitblit plug in and gerrit war from jenkins. Mostly I wont need the gerrit.war as I am already using higher version which is 2.11.Can you please walk through the steps to integrate or you have any document. I would really appreciate your help on this.Santhosh
Hi Luca,Just an update. I can able to integrate successfully. Also If i use github-plugin 2.9 jar. I am getting the below exceptionCannot load plugin gitblitcom.google.inject.CreationException: Unable to create injector, see the following errors:
1) No implementation for com.google.gerrit.httpd.WebSession was bound.
while locating com.google.inject.Provider<com.google.gerrit.httpd.WebSession>
for parameter 2 at com.googlesource.gerrit.plugins.gitblit.auth.GerritToGitBlitUserService.<init>(GerritToGitBlitUserService.java:53)
while locating com.googlesource.gerrit.plugins.gitblit.auth.GerritToGitBlitUserService
for parameter 0 at com.googlesource.gerrit.plugins.gitblit.app.GerritGitBlit.<init>(GerritGitBlit.java:34)
at com.googlesource.gerrit.plugins.gitblit.GitBlitServletModule.configureServlets(GitBlitServletModule.java:42)
1 error
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:448)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:225)
at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:219)
at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:170)
at com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:461)
at com.google.gerrit.server.plugins.PluginLoader.rescan(PluginLoader.java:390)
at com.google.gerrit.server.plugins.PluginLoader.start(PluginLoader.java:295)
at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:74)
at com.google.gerrit.pgm.Daemon.start(Daemon.java:293)
at com.google.gerrit.pgm.Daemon.run(Daemon.java:205)
at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:166)
at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:93)
at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50)
After that I used 2.11 plugin. It got worked.
I am working on now how we can use more extensively the code review with gitblit. Let me know If you have any docs. Thanks a lot again.
On Wed, Jun 17, 2015 at 10:58 AM, Santhosh <santh...@gmail.com> wrote:
Hi Luca,Thanks for you reply.I am newbie to this gitblit and gerrit integration. Can you please provide me more details. I have a sent an invite chat to you.What I understood from your mail is, I can use the gitblit plug in and gerrit war from jenkins. Mostly I wont need the gerrit.war as I am already using higher version which is 2.11.Can you please walk through the steps to integrate or you have any document. I would really appreciate your help on this.Santhosh
On Wed, Jun 17, 2015 at 2:07 AM, Luca Milanesio <luca.mi...@gmail.com> wrote:
Moving forward you may be interested in using http://www.ractivejs.org/ I have been very impressed with it's almost-zero learning curve and importantly it plays well with other micro libraries.