Saturday, 2018-07-28

*** sambetts_ has quit IRC00:00
*** sambetts_ has joined #zuul00:02
corvuszuul knows the starting and end lines of the configuration stanza where an error occurs, but not the exact line.  should we leave the line comment on the first line or the last line of the stanza?00:08
clarkbI find it easier to read them at the end in gerrit00:08
mordredyeah - I was going to say at the end00:08
clarkbbecause then the yellow comment doesnt break up the text00:08
mordredcorvus: is it possible in the api to highlight a section of lines when leaving the inline comment?00:09
mordredif so - it might be nice to leave it as a comment on the range of lines00:09
corvusi don't think i've seen that in the api; has anyone seen that in gerrit webui?00:10
mordredhttps://review.openstack.org/#/c/577035/6/doc/source/user/jobs.rst00:10
mordredthat comment I left you in those docs did that00:10
mordredyou click and drag in the web ui, then when you hit comment, it associates the comment with the selection00:10
mordredyou can also do it with individual words00:10
mordredlike here: https://review.openstack.org/#/c/577035/6/tests/unit/test_gerrit.py00:11
corvuscool -- i'm going to -1 https://review.openstack.org/577035 with that, because we should put that in zuul's file-comment plumbing00:11
clarkbya you have to highlight then hit c00:11
mordredneat00:11
mordredI think this is going to be a super awesome feature00:12
corvusyeah.  when we figure out how to do that with the api, i think highlighting the whole config snippet is the right answer to that UI question :)00:12
mordred++00:13
corvusmordred, clarkb: is that highlight whole lines, or partial lines?00:14
corvusmordred: oh, your second example answeres that question :)00:14
mordredcorvus: looks like this:00:14
openstackgerritMerged openstack-infra/zuul master: Add openstacksdk to executor extras  https://review.openstack.org/58671700:15
clarkbits arbitrary strings00:15
clarkbcontiguous strings00:15
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Report config errors as line comments  https://review.openstack.org/58190800:15
corvusokay, well, that ^ leaves comments at the end, and would have been ready for review except for the highlight thing.  i'll circle back on those two changes and add that00:16
mordredhttp://paste.openstack.org/show/726771/00:16
mordredcorvus: that's a captured payload00:16
mordredin pidgin-yaml00:16
corvusoh, and character is character on line, isn't it?  not index in file00:17
mordredI think so yeah00:17
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Report config errors as line comments  https://review.openstack.org/58190800:17
mordredyes00:17
corvusupdated patch to save the end column :)00:18
corvusmordred: yep here's the docs, looks like your capture: https://review.openstack.org/Documentation/rest-api-changes.html#comment-info00:19
corvusso should just be a matter of adding a range with start/end lines/chars00:19
mordredwoot!00:19
mordredcorvus: I left a comment with the link to that paste above - and with the inline comment that produced it :)00:20
corvusmordred: cool, thanks00:20
corvusi think i had better go work on dinner now, but this shouldn't take long to fix up i think.00:21
clarkbyes on the dinner. I need to figure out what I can do withthis csa box. Last night was stir fry00:22
corvusi'm pretty sure that supporting range will be forward-compatible; if it is, i'll remove my -1 and add it in a followup.00:24
openstackgerritMerged openstack-infra/zuul master: Report to gerrit over HTTP  https://review.openstack.org/57702700:45
*** swest has quit IRC01:12
*** swest has joined #zuul01:26
*** openstackstatus has quit IRC01:46
*** openstackstatus has joined #zuul01:49
*** ChanServ sets mode: +v openstackstatus01:49
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Add role to fetch zuul logs from nodes  https://review.openstack.org/58334601:51
corvusalso *of course* line numbers are base-1 and characters are base-0.02:09
*** ianychoi has quit IRC02:11
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Support line comments in Gerrit  https://review.openstack.org/57703502:18
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Report config errors as line comments  https://review.openstack.org/58190802:18
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Add support for line comment ranges  https://review.openstack.org/58673302:19
corvusokay that's the whole deal02:19
*** ianychoi has joined #zuul03:22
*** maeca has quit IRC04:57
*** fbouliane has quit IRC07:47
*** fbouliane has joined #zuul07:48
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Support job pause  https://review.openstack.org/58538908:47
*** bhavik1 has joined #zuul08:47
*** bhavik1 has quit IRC09:06
*** goern has quit IRC09:18
*** sambetts_ has quit IRC09:59
*** sambetts_ has joined #zuul10:00
*** sshnaidm|off has quit IRC10:26
*** sshnaidm|off has joined #zuul12:10
*** _ari_ has quit IRC12:34
*** _ari_ has joined #zuul12:34
openstackgerritMerged openstack-infra/zuul master: Support line comments in Gerrit  https://review.openstack.org/57703515:42
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Add a role to return file comments  https://review.openstack.org/57903316:05
*** xhku_ has joined #zuul18:15
*** fbouliane has quit IRC18:17
*** sshnaidm|off has quit IRC18:50
*** sshnaidm|off has joined #zuul22:02
*** elyezer has quit IRC23:05
*** elyezer has joined #zuul23:08

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!