Gerrit Getting You Down?
05 Nov 2013Gerrit getting you down? Don't worry, we know it can be a bit annoying to get Gerrit working properly to make contributions, but we've made a list of the top 5 reasons for Gerrit giving you problems when submitting changes. You should check these in order from 1 to 5, and you'll be contributing in no time!
1) Have you set a username within Gerrit? Log into the Gerrit interface, and select your name at the top right. Click Settings, and ensure a username is set correctly there.
2) Have you configured your local repo client to use the correct Gerrit username? Our wiki has instructions on how to do this.
3) Are you contributing from a secured business connection? Some businesses employ SSL sniffing, and will block connections to unknown HTTPS websites, for information security purposes. This mainly affects military and defense company networks. We are looking into possible solutions such as permitting HTTP access for such users (without SSL), but for now it is not possible to upload contributions without SSL access. This is for your own security.
4) Have you accepted the CLA? In the recent downtime, we enabled the Omni CLA. There's more information about this agreement available yet again on the wiki. In order to accept the CLA, you should log into the web interface of Gerrit, select your name at the top right, select Settings, and then choose Agreements. You can also access it directly by browsing to the submission page.
5) If you are receiving errors about Change IDs, you should ensure that the Change ID line is the last line of the git commit that does not begin with a comment symbol (#). To make this process easier, you can also install the git hook, which will automatically add a commit ID onto each commit. The instructions for this are given during the error message when the commit fails for this reason.
If you are still having issues after following the above, maybe now is a good time to drop into our IRC channel?