|2 months ago|
|dashboards||2 months ago|
|doc/source||3 years ago|
|gerrit_dash_creator||7 months ago|
|personal||5 years ago|
|templates||6 years ago|
|tools||6 years ago|
|.gitignore||5 years ago|
|.gitreview||3 years ago|
|CONTRIBUTING.rst||3 years ago|
|HACKING.rst||3 years ago|
|LICENSE||8 years ago|
|README.rst||3 years ago|
|gerrit-bug-dash||7 years ago|
|gerrit-dash-creator||8 years ago|
|requirements.txt||2 years ago|
|setup.cfg||2 years ago|
|setup.py||8 years ago|
|test-requirements.txt||2 years ago|
|tox.ini||2 years ago|
Gerrit Dashboard Creator
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.