Change Page layout

76 views
Skip to first unread message

bubbleb...@gmail.com

unread,
Aug 31, 2015, 11:14:48 AM8/31/15
to Repo and Gerrit Discussion
This may be an obvious question, I apologize in advance for my ignorance, I'm new to gerrit.

I've noticed that my local installation of gerrit has a different layout for the tables and info on the change pages.

I've seen a different layout on both the wikimedia gerrit page as well as the qt gerrit. Is there a simple way to change this that I have failed to find in the documentation? So far I understand how to change the colors and headers and footers, but not the actual page layout.

Any help would be greatly appreciated.

Peter

Christian Aistleitner

unread,
Aug 31, 2015, 2:02:34 PM8/31/15
to bubbleb...@gmail.com, Repo and Gerrit Discussion
Hi Peter,

On Mon, Aug 31, 2015 at 08:11:54AM -0700, bubbleb...@gmail.com wrote:
> I've noticed that my local installation of gerrit has a different layout
> for the tables and info on the change pages.

Yup, there are (or: used to be) two kinds of ChangeScreens. The old
one, and the new one:
* Gerrit up to v2.7 only provides the old one.
* Gerrit v2.8 to v2.10 provides both the old one, and the new one. (A
gerrit site can select [1] which of the two is the default, and each
user can overrule the default in their user settings.)
* Gerrit v2.11 onwards only provides the new one.

> I've seen a different layout on both the wikimedia gerrit page as well as
> the qt gerrit.

Wikimedia's gerrit is a v2.8 that has both variants, but defaults to
the old change screen.

qt's gerrit is a v2.7 that only has the old change screen.

gerrit-review is closer to master and only has the new change screen.

If you want to use the old change screen, you have to use a
Gerrit < v2.11.

Have fun,
Christian

[1] https://gerrit.wikimedia.org/r/Documentation/config-gerrit.html#gerrit.changeScreen



--
---- quelltextlich e.U. ---- \\ ---- Christian Aistleitner ----
Companies' registry: 360296y in Linz
Christian Aistleitner
Kefermarkterstrasze 6a/3 Email: chri...@quelltextlich.at
4293 Gutau, Austria Phone: +43 7946 / 20 5 81
Fax: +43 7946 / 20 5 81
Homepage: http://quelltextlich.at/
---------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages