Gerrit Upgrade 2019: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Get started with the new version of Gerrit ==
== Get started with the new version of Gerrit ==
Official documentation:
https://gerrit-documentation.storage.googleapis.com/Documentation/2.16.7/index.html
https://gerrit-documentation.storage.googleapis.com/Documentation/2.16.7/intro-gerrit-walkthrough.html
https://gerrit-documentation.storage.googleapis.com/Documentation/2.16.7/intro-user.html


== FAQ ==
== FAQ ==
Line 5: Line 12:


The review button has been renamed to *Reply* and moved: It's big, blue and hidden in the middle → this is where you give +1.
The review button has been renamed to *Reply* and moved: It's big, blue and hidden in the middle → this is where you give +1.
'''''Some buttons (e.g. giving +2) are broken'''''
Try to clear your browser cache and reloading the page, left-overs from the old Gerrit installation tend to break things.


'''''What's with all the bells and whistles?'''''
'''''What's with all the bells and whistles?'''''
Line 12: Line 23:
'''''I can't move my change to a new branch!'''''
'''''I can't move my change to a new branch!'''''


Sure you can, but the bot doesn't do it for you anymore. Just do X and Y in the UI.
Sure you can, but the bot doesn't do it for you anymore. There is a menu in the top right corner of the change page (three dots), in that menu, select "Move change" to move it to another branch.


'''''I get failed authentication against rest endpoint errors (message suggests "'''''prepend url with /a/'''''" or something)'''''
'''''I get failed authentication against rest endpoint errors (message suggests "'''''prepend url with /a/'''''" or something)'''''
Line 18: Line 29:
Clear your browser cache and try again. No really, clear your browser's cache!
Clear your browser cache and try again. No really, clear your browser's cache!


== TO DO ==
'''''I have a change that has a -2 from the sanity bot'''''
* Update missing info in the FAQ (X and Y) and add screenshots
== How to edit commit message ==
Lorem ipsum, and a pretty cat image.


== How to edit content of files ==
There were a few changes that got a sticky -2 by the sanity bot. It should be easy enough to just push a new version of that change (just amend it, without making changes), that should get rid of the -2.
Lorem ipsum, and a pretty cat image.
If that doesn't work file an issue on bugreports.qt.io for QTQAINFRA with Gerrit as component.

Latest revision as of 09:45, 21 May 2019

Get started with the new version of Gerrit

Official documentation:

https://gerrit-documentation.storage.googleapis.com/Documentation/2.16.7/index.html

https://gerrit-documentation.storage.googleapis.com/Documentation/2.16.7/intro-gerrit-walkthrough.html

https://gerrit-documentation.storage.googleapis.com/Documentation/2.16.7/intro-user.html

FAQ

I can't review or give +1s anymore!

The review button has been renamed to *Reply* and moved: It's big, blue and hidden in the middle → this is where you give +1.

Some buttons (e.g. giving +2) are broken

Try to clear your browser cache and reloading the page, left-overs from the old Gerrit installation tend to break things.

What's with all the bells and whistles?

The new version has an updated UI and is (hopefully) easier to maintain for future us. For example, you can now do online edits of changes!

I can't move my change to a new branch!

Sure you can, but the bot doesn't do it for you anymore. There is a menu in the top right corner of the change page (three dots), in that menu, select "Move change" to move it to another branch.

I get failed authentication against rest endpoint errors (message suggests "prepend url with /a/" or something)

Clear your browser cache and try again. No really, clear your browser's cache!

I have a change that has a -2 from the sanity bot

There were a few changes that got a sticky -2 by the sanity bot. It should be easy enough to just push a new version of that change (just amend it, without making changes), that should get rid of the -2. If that doesn't work file an issue on bugreports.qt.io for QTQAINFRA with Gerrit as component.