/srv/irclogs.ubuntu.com/2015/07/07/#cloud-init.txt

openstackgerritDaniel Watkins proposed stackforge/cloud-init: Basic implementation of a reporting framework.  https://review.openstack.org/19114408:05
=== rangerpbzzzz is now known as rangerpb
smoserdoes this look right:17:01
smoser http://paste.ubuntu.com/11836765/17:01
smoserwhat is line 2 there?17:01
harlowjasmoser ah17:17
harlowjau have discovered googles notrious anti-parsing mechanisms17:17
harlowjalol17:17
harlowja^ not kidding actually17:17
smoserhm..17:18
smoserodd. its actuallydocumented17:18
harlowjalet me see if i can find why they do that17:18
smoser http://review.cyanogenmod.org/Documentation/rest-api-changes.html17:18
harlowjaya17:18
harlowjalet me see if i can find the reason, forgot it17:18
harlowjaafaik they do that in other json apis google makes to17:20
harlowja* http://gerrit-documentation.googlecode.com/svn/Documentation/2.5/rest-api.html17:21
harlowja'The JSON response body starts with a magic prefix line that must be stripped before feeding the rest of the response body to a JSON parser:'17:21
harlowjanow let me see if i can find why17:21
smosermagic17:22
harlowja:-P17:24
smoserharlowja, before i write something , do you know of an existing tool that allows me to :17:28
smoser gerrit-grab --branch=mybranch https://review.openstack.org/#/c/191144/17:28
harlowjahmmm, i thought there was one that did that17:30
harlowjamaybe ask on #openstack-infra they might rememb ber17:30
harlowjai'm pretty sure there is something :-P17:31
harlowjasooo smoser  https://code.google.com/p/gerrit/source/browse/gerrit-httpd/src/main/java/com/google/gerrit/httpd/RestApiServlet.java?r=92edc8e4812acd9972bd213c60ea6eb25a52f545#5017:32
harlowjathere is your reason :-P17:32
harlowja'Garbage prefix inserted before JSON output to prevent XSSI.'17:32
harlowjai remember that when i made https://github.com/harlowja/gerrit_view/ (i was like wtf is that line) so ya, thats how i know, lol17:39
harlowjahttps://github.com/harlowja/gerrit_view/#czuul and https://github.com/harlowja/gerrit_view/#cgerrit is still cool17:39
harlowjaand u should use them17:39
harlowjalol17:39
harlowja* https://pypi.python.org/pypi/gerrit-view17:40
harlowjaand http://paste.openstack.org/show/352612/ u can share my config, lol17:41
harlowja* for czull17:42
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
smoserharlowja_, jblaire pointed out git review -b. i requesetd merge https://review.openstack.org/19922519:43
harlowja_cool19:43
harlowja_nice nice, i thought git review did it somehow19:44
harlowja_or something like it, ha19:44
smoserthat is pretty smooth, harlowja_21:04
smoserijust used gertty to do a review and that is pretty smooth too.21:06
harlowja_smoser cool21:19
harlowja_i haven't tried gerrtty recently21:19
harlowja_i'm ok with the webui :-P21:19
harlowja_but zuul i got bored oneday and made a console-ui for it21:19
harlowja_lol21:19
boreihi all21:48
boreiim trying to use cloud-init with NoCloud datasource, but how can i point that user-data and meta-data are on the cdrom attached to VM ?21:48

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