Community
Participate
Working Groups
git.eclipse.org/r still runs Gerrit 2.2.2-rc1. Since 2.2.2.1 and also 2.3 have been released I would suggest to upgrade to Gerrit 2.3 which can be downloaded here [1]. [1] http://code.google.com/p/gerrit/downloads/list
Wow, some folks have been busy. Looks like a straightforward upgrade, I'll see what I can do.
^^ that was a reference to the (rather packed) release notes: http://gerrit-documentation.googlecode.com/svn/ReleaseNotes/ReleaseNotes-2.3.html
yeah, 2.3 was cooking for quite a while hence it's bringing a ton of new features. Note, that also the first release candidate for 2.4 is already available [1]. Compared to the past release schedule the Gerrit project plans to do releases more frequently in the future, i.e. you may expect a new release every few months. [1] http://groups.google.com/group/repo-discuss/browse_thread/thread/6d04c794fd191cd5/b805f981c07aac4d?lnk=gst&q=2.4rc0#b805f981c07aac4d
I've run the upgrade, which was flawless. But when I log in, the list of projects is gone...
Looks like it's not following symlinks anymore. All our projects are either symlinks to directories containing .git repos, or directories with symlinks to git repos.
I upgraded, then backed out because of bug https://code.google.com/p/gerrit/issues/detail?id=1353
Looks the bug has been fixed in Gerrit 2.4 which also adds an awesome Rebase button. I have take the liberty to update the summary accordingly. Would be great if a Gerrit update could be considered as part of Summer maintenance!
Shouldn't be a problem. I've backed everything up, and I'll give it a quick whirl tomorrow.
I ran the upgrade, everything went smoothly, but now I can't seem to access any of the changes. Clicking on an ID, I see the yellow "Working..." message appear and disappear, but nothing happens :-(
Firefox' error console shows this when I click something: Error: uncaught exception: Class$GYb: One or more exceptions caught, see full set in UmbrellaException#getCauses
*sigh* I've reverted back to 2.2.2
Did you see any errors in the error_log ?
Nothing is generated in the error_log. I've set up a 2.2.2 sandbox and got it working, then I upgraded the sandbox to 2.4.2. It still behaves the same way (ie, clicking a change does nothing. https://git.eclipse.org/sandbox/
Could we get debug access to the sandbox instance ? Then we could help debugging the problem from over here.
The sandbox is alongside the production instance, but on a different port. What kind of debugging would you do? I appreciate the help, but at some point being self-sufficient would be nice.
The same (or similar) issue was discussed on gerrit discussion group: https://groups.google.com/d/topic/repo-discuss/0eFLM6ytZyw/discussion Could you try removing the [gitweb] section in gerrit.config on the sandbox instance and restart it to verify if this workaround helps. If this solves the issue then please provide the [gitweb] section here for further analysis. It is not a solution to remove the [gitweb] section but we first need to be sure that this is causing the issue.
Indeed, removing the gitweb section makes the sandbox usable: #[gitweb] # url = http://git.eclipse.org/c/ # type = custom # revision = ${project}.git/commit/${commit} # project = ${project}.git # branch = ${project}.git/commit/?h=${branch}
Gerrit 2.5rc1 was just published [1], could you give it a try and update the sandbox instance so that we can see if this fixes the problem which occurred with 2.4 ? [1] https://groups.google.com/forum/?fromgroups=#!topic/repo-discuss/fiv6-LW1mAM
I've upgraded the sandbox and re-enabled the [gitweb] section that I had removed in comment 17. It still doesn't seem to work. Commenting-out the [gitweb] section and restarting Gerrit works.
I've upgraded to Gerrit 2.5 (release, not the RC).
This GitWeb configuration looks like incomplete to me. If you specify 'revision', 'project' and 'branch', you also need to set the 'filehistory' parameter. Can you try to set it? E.g. filehistory = /?p=${project}.git;a=history;hb=${branch};f=${file} Not sure, how exactly this must be set for your system, but it should open the history for the file in a certain branch of the specified project. Alternatively it is a valid GitWeb configuration to only specify type and url. [1] https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#_a_id_gitweb_a_section_gitweb
I can try that; problem is, we're not using gitweb per se, but cGit, which has different semantics.
Gerrit 2.5 is broken also. Gitweb links still cause issues, and pushing via https is broken: http://code.google.com/p/gerrit/issues/detail?id=1408 It is unfortunate that we're burned by a second consecutive Gerrit upgrade.
Regarding the issue with the GitWeb links, have you actually tried setting the filehistory parameter?
Closing, as we've been running 2.5.1 for a while now.