Gerrit Upgrade 2019: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Create initial version of page)
 
No edit summary
 
(4 intermediate revisions by 2 users 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 ==
_I can't review or give +1s anymore!_
'''''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.
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.


_I can't stage series of changes?_
'''''Some buttons (e.g. giving +2) are broken'''''
You can, but they can only be staged in order.
 
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?_
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!
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!_
'''''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.


_ I get failed authentication against rest endpoint errors (message suggests "prepend url with /a/" or something)_
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.
Clear your browser cache and try again. No really, clear your browser's cache!


== TO DO ==
'''''I get failed authentication against rest endpoint errors (message suggests "'''''prepend url with /a/'''''" or something)'''''
* internal user testing → take notes what is non-obvious
* branch moving: do not use bot, it's in the UI
* Update missing info in the FAQ (X and Y) and add screenshots


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


== How to edit commit message ==
'''''I have a change that has a -2 from the sanity bot'''''
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.