[Development] User script for Qt's gerrit to have code.woboq.org integration

Olivier Goffart olivier at woboq.com
Tue May 3 10:21:03 CEST 2016


Hi,

Some time ago, I made an user script that tries to integrate with https://
code.woboq.org/qt5 with gerrit.  (i posted it once but it was in a deep thread 
so you might not have noticed it)

With that script, you can just click on a function in the code on gerrit and 
it will lookup in the code.woboq.org database and show the signature in a 
tooltip and links to code.woboq.org. (screenshot: 
http://i.imgur.com/Q3a2ixz.png ). It shows a disambiguation popup if there 
are several possibilities.
It also makes the filename in the header of the diff clickable to the 
corresponding file on code.woboq.org

The user script is there: 
   https://code.woboq.org/qt-gerrit.user.js
You can use it with the Greasmonkey extension on Firefox or the Tampermonkey 
extension on Chrome, or whatever equivalent extension for your browser.


Feedback welcome.

-- 
Olivier 

Woboq - Qt services and support - https://woboq.com - https://code.woboq.org




More information about the Development mailing list