Questions tagged [gerrit]

Gerrit is a web based code review system, facilitating online code reviews for projects using the Git version control system.

Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer. This functionality enables a more centralized usage of Git.

29 questions
11
votes
1 answer

How Do I Install Gerrit Under Tomcat with LDAP?

I'm trying to find good instructions for installing Gerrit under Tomcat with LDAP support. I need this installed on a Windows 2008 Server, preferably. However, I can opt for Linux if not possible. The Gerrit instructions only cover install under…
Jason Huntley
  • 1,253
  • 3
  • 10
  • 22
6
votes
1 answer

I would like Jenkins to fire a build when a patchset is uploaded or changed in Gerrit. How, exactly, do I configure this?

I am using Jenkins 1.557 to watch a Gerrit 2.8 instance for changes. I am using the following plugins: Git Plugin 2.1.0 Git Client Plugin 1.7.0 Gerrit Trigger 2.11.1 When I use "test connection" on the Gerrit Trigger, it returns success, so I know…
Ry Jones
  • 404
  • 8
  • 18
4
votes
2 answers

Gerrit Label - Verified

I have gerrit up and running I have committed my first initial change. However, I can only see the Code Review on the Review page. I went to the access page for All-Projects (from which my project inherits its ACLs) and added the Label Verify for…
Matthew Hoggan
  • 153
  • 1
  • 3
  • 8
4
votes
2 answers

Gerrit ssh key setup on windows server

I am attempting to configure google's 'Gerrit' code review web app on a Windows server 2008 virtual machine on our internal network. We are using Apache Tomcat (6.0.36) to host the web app and have deployed the gerrit.war to tomcats webapp folder,…
hotpotato
  • 171
  • 5
3
votes
1 answer

Gerrit replication, reject HostKey

I am trying to set up gerrit replication on my environment, but I am getting reject HostKey output. The pubkey of the user running gerrit is in the authorized_keys2 file on the remote host, however I am able to ssh just fine when I manually do it in…
Botto
  • 231
  • 1
  • 9
2
votes
0 answers

docker-compose fails to spin up a gerrit container due to permission errors

I'm trying to spin up a gerrit workspace on ubuntu following the details provided in the following link. https://gerrit.googlesource.com/docker-gerrit However, this keeps failing only in when trying to initialise gerrit. If I run with sudo, I get…
2
votes
1 answer

Gerrit LDAP Configuration

I am configuring gerrit over Windows server 2008 R2 along with mysql and tomcat. I have completed installation successfully. Authentication mode is LDAP. I am unable to login. The error is: com.google.gerrit.server.account.AccountManager: Cannot…
1
vote
1 answer

"Page isn't redirecting properly" when I set gerrit.canonicalWebUrl

After installing Gerrit following Using Gerrit in production section from https://github.com/GerritCodeReview/docker-gerrit, the field was set automatically to this value: [gerrit] canonicalWebUrl = http://eac32ee72f2b/ I want to use Gerrit…
andi
  • 143
  • 1
  • 1
  • 11
1
vote
0 answers

How to Configure Gerrit for Git over HTTP

I've setup Gerrit on Ubuntu Server 14.04. Everything seems to be running correctly and I have users using LDAP to authenticate to the web interface and we've been pulling and pushing commits. I'm not using a reverse proxy in Apache to get to port…
Mike G
  • 283
  • 1
  • 4
  • 11
1
vote
1 answer

How to maintain login status with 2 websites in same server?

I've set up two gerrit servers for my department based on apache. With port 8660 and 8088 seperately. But i found that, when some one log in 8088, 8660 will log out automatically, vise visa. How can i log into these two gerrit at the same time?
demonguy
  • 125
  • 3
1
vote
1 answer

Gerrit Jenkins trigger plugin

According to this site: https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger and section Trigger Configuration with subsection Comment Added i'm a little confused, because seems like trigger after added comment doesn't work. I've trried to add…
1
vote
1 answer

iptables can't NAT multiple IP addresses

I have a server with two network adaptors: eth0 and eth1. This server is running two distinct https webservers: One is listening on eth0 (172.29.49.112:8443) The other is listening on eth1 (172.29.49.113:4443) I have NAT rules for iptables that…
Kirin
  • 21
  • 4
1
vote
1 answer

Sync failure between Gerrit & Github for Windows client

I've set up a POC Gerrit server, and am able to push to it via the Git Command Line. I'm trying to set it up so that less experienced colleagues can use the Github for Windows client to sync commits with Gerrit but the sync always fails. I notice…
1
vote
3 answers

Gerrit installation fails at ssh verification

I used the official guide to install Gerrit on a Debian server. Now I am stuck at the paragraph where I am supposed to verify that the ssh connection works: ssh bastian@ip.of.the.server -p 29418 <-- home pc to server This is my situation: On…
Bastian
  • 95
  • 2
  • 4
  • 13
1
vote
1 answer

SSH executed from Perl get SIGSTOP instantly

I have some perl script which executes some commands on remote gerrit server via SSH. It's running on a Debian lenny virtual machin. During several monthes it was executed in the following way: ./script.pl &>~/script.log & disown and everything was…
VestniK
  • 121
  • 4
1
2