<div dir="ltr">if peoples like this why don't we have it directly on the reviews?<br><br>Chmouel.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 10:00 PM, Carl Baldwin <span dir="ltr"><<a href="mailto:carl@ecbaldwin.net" target="_blank">carl@ecbaldwin.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nachi,<br>
<br>
Great! I'd been meaning to do something like this. I took yours and<br>
tweaked it a bit to highlight failed Jenkins builds in red and grey<br>
other Jenkins messages. Human reviews are left in blue.<br>
<div class=""><br>
javascript:(function(){<br>
list = document.querySelectorAll('td.GJEA35ODGC');<br>
for(i in list) {<br>
</div> title = list[i];<br>
if(! title.innerHTML) { continue; }<br>
text = title.nextSibling;<br>
if (text.innerHTML.search('Build failed') > 0) {<br>
title.style.color='red'<br>
} else if(title.innerHTML.search('Jenkins|CI|Ryu|Testing|Mine') >= 0) {<br>
title.style.color='#666666'<br>
} else {<br>
title.style.color='blue'<br>
}<br>
}<br>
})()<br>
<span class="HOEnZb"><font color="#888888"><br>
Carl<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Feb 26, 2014 at 12:31 PM, Nachi Ueno <<a href="mailto:nachi@ntti3.com">nachi@ntti3.com</a>> wrote:<br>
> Hi folks<br>
><br>
> I wrote an bookmarklet for neutron gerrit review.<br>
> This bookmarklet make the comment title for 3rd party ci as gray.<br>
><br>
> javascript:(function(){list =<br>
> document.querySelectorAll('td.GJEA35ODGC'); for(i in<br>
> list){if(!list[i].innerHTML){continue;};if(list[i].innerHTML &&<br>
> list[i].innerHTML.search('CI|Ryu|Testing|Mine') ><br>
> 0){list[i].style.color='#666666'}else{list[i].style.color='red'}};})()<br>
><br>
> enjoy :)<br>
> Nachi<br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>