|Zuul 0b2d553fd2||1 week ago|
|dashboards||1 week ago|
|doc/source||2 years ago|
|gerrit_dash_creator||1 week ago|
|personal||4 years ago|
|templates||5 years ago|
|tools||5 years ago|
|.gitignore||4 years ago|
|.gitreview||2 years ago|
|CONTRIBUTING.rst||2 years ago|
|HACKING.rst||2 years ago|
|LICENSE||7 years ago|
|README.rst||2 years ago|
|gerrit-bug-dash||6 years ago|
|gerrit-dash-creator||7 years ago|
|requirements.txt||1 year ago|
|setup.cfg||1 year ago|
|setup.py||7 years ago|
|test-requirements.txt||1 year ago|
|tox.ini||1 year ago|
Creates custom URLs for Gerrit dashboards
The Gerrit code review system is great, until it gets completely out of control with too much content in it. When you are staring at a single list of 400 reviews, it's completely overwhelming.
Sisyphus never had it so good.
I've found that slicing up the giant review task into a set of smaller buckets that you can see actually get smaller as you go through them becomes a far more motivating way of looking at reviews.
As of Gerrit 2.6 there is support for building custom dashboards, both on the server side, and on the client side (as a URL). These are really powerful.
The server side definition for these dashboards is pretty easy to understand, however you need really extreme levels of permissions to create these dashboards. The client side definition is a single URL which is hard to manipulate inline.
This tool takes the server side definition, creates the client side encoding of it, and spits that URL out on the command line. You can then load it in your browser and off you go.
It's super easy, just check out the code, and pass 1 argument, which is the dashboard file you want the URL for:
Then put the URL in your browser and off you go.
The latest dashboards are available at http://gerrit-dash-creator.readthedocs.org/en/latest/dashboards/index.html
If you have a dashboard definition that your OpenStack team finds useful, please submit a change request via git-review. The list of current outstanding changes can be seen at:
I'm very happy to include additional interesting examples that teams find useful, and make it possible for teams to explore other approaches to reviewing code.
If you have questions please find me on #openstack-dev, #openstack-infra, or #openstack-qa on FreeNode to discuss.