Skip to content

Instantly share code, notes, and snippets.

@lbolla
Created October 21, 2011 09:16
Show Gist options
  • Save lbolla/1303423 to your computer and use it in GitHub Desktop.
Save lbolla/1303423 to your computer and use it in GitHub Desktop.
Add reviewer to Gerrit
javascript:(function() {var s=document.createElement('script'); s.src="https://raw.github.com/gist/1303423/4859b59a423612c90ec5b0c77591f984c4dfdd07/add_reviewers.js"; document.getElementsByTagName('head')[0].appendChild(s);})()
(function () { var inp = document.getElementsByClassName('gwt-SuggestBox')[0]; var btn = document.getElementsByClassName('gwt-Button')[1]; var reviewers = [ 'Matt Jackson', 'Chris Morgan', 'Chris McDevitt', 'Dan O\'Huiginn', 'Gianni Moschini', 'Aleksander Sumowski', 'Lorenzo Bolla' ]; for (var i in reviewers) { (function (i) { setTimeout(function () { inp.focus(); inp.value = reviewers[i]; btn.click(); }, 1000 * i)})(i); } })();
@lbolla
Copy link
Author

lbolla commented Oct 21, 2011

Add a list of reviewers to Gerrit, through its web interface.

@minimal
Copy link

minimal commented Oct 21, 2011

Quality

@emanuelez
Copy link

Nice!!! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment