Wednesday, 2016-04-06

lifelesspleia2: they were already gone02:10
pleia2she's here as Zara :)02:10
pleia2will see in the morning02:10
*** mrmartin has joined #storyboard04:36
*** mrmartin has quit IRC05:30
*** NikitaKonovalov_ has joined #storyboard06:08
NikitaKonovalov_Zara: it may be simply missing there06:09
NikitaKonovalov_I mean implementation for PUT06:09
*** NikitaKonovalov_ has quit IRC06:10
*** aswadr_ has joined #storyboard06:14
*** mrmartin has joined #storyboard06:46
*** NikitaKonovalov_ has joined #storyboard06:50
*** mrmartin has quit IRC06:54
*** openstackgerrit has quit IRC07:02
*** openstackgerrit has joined #storyboard07:03
*** mrmartin has joined #storyboard07:26
*** mrmartin has quit IRC07:28
*** fay_ has joined #storyboard07:32
*** mrmartin has joined #storyboard07:43
*** mrmartin has quit IRC07:53
*** mrmartin has joined #storyboard07:54
*** mrmartin has quit IRC07:54
*** NikitaKonovalov_ has quit IRC08:13
*** NikitaKonovalov_ has joined #storyboard08:17
*** NikitaKonovalov_ has quit IRC08:18
*** NikitaKonovalov_ has joined #storyboard08:28
*** mrmartin has joined #storyboard08:29
*** NikitaKonovalov_ has quit IRC09:08
*** NikitaKonovalov_ has joined #storyboard09:18
ZaraNikitaKonovalov_: I found it in the end, I was just using the wrong name for it for what I was doing(I needed update() , not put() ). Nice work; I can't believe this still works so well after so long. :D09:22
Zarapleia2: yeah, that's what made me first notice it; we had a big drive to get things merged just before sotk went on holiday! So weird. I'm wondering if rebasing on an old commit could do that, given he was last looking at automatic worklists in october. otherwise, no idea.09:24
openstackgerritMerged openstack-infra/python-storyboardclient: Update Docs  https://review.openstack.org/29891009:29
*** NikitaKonovalov_ has quit IRC10:04
*** NikitaKonovalov_ has joined #storyboard10:04
*** NikitaKonovalov_ has quit IRC10:07
*** NikitaKonovalov_ has joined #storyboard10:16
*** mrmartin has quit IRC10:20
-openstackstatus- NOTICE: npm lint jobs are failing due to a problem with npm registry. The problem is under investigation, and we will update once the issue is solved.10:20
*** ChanServ changes topic to "npm lint jobs are failing due to a problem with npm registry. The problem is under investigation, and we will update once the issue is solved."10:20
*** mrmartin has joined #storyboard10:25
Zarakrotscheck: conversation in #infra suggests that we should be update node/npm, I basically don't touch it in case it all topples over like a house of cards.10:32
Zaras/be//10:32
*** mrmartin has quit IRC10:34
*** NikitaKonovalov_ has quit IRC10:44
Zaraon the r&d side, today I'm trying to get gerritlib reading the stream events, and hopefully sending relevant ones to another function11:26
ZaraI assume npm things will be coordinated across infra so I might as well wait for people to wake up for that stuff11:26
ZaraI'm on 4 terminal tabs for storyboard at this point11:36
Zara5 if you count irc11:36
*** mrmartin has joined #storyboard11:58
ZaraI remember a while ago finding something that explained the rationale for less over sass (to do with needing a bulky compiler, iirc). not urgent, and no intentions to change it, just talking about it elsewhere and couldn't find wherever I'd found that.12:31
Zaraif anyone knows, feel free to link me for curiosity's sake12:31
Zaraaha!12:33
Zara         *12:33
Zara         * Note: We're using LessCSS here because SASS requires ruby-compass,12:33
Zara         * and cannot be easily installed with npm.12:33
Zarafrom gruntfile.js12:33
Zara         */12:33
betherlynot totally true any more12:37
betherlyhttp://sass-lang.com/libsass12:37
betherlylibsass allows for using things like sass.js https://github.com/medialize/sass.js and other wrappers12:37
betherlyso that its as accessible as possible.12:38
betherlyheres an interesting article on the comparison of LESS and Sass https://www.keycdn.com/blog/sass-vs-less/12:40
betherlypretty up to date too so the stats are pretty accurate12:41
Zarayeah, I think I found those a while ago and concluded 'more effort than it's worth to change'12:42
betherlydefinitely12:42
betherlybut worth considering for future ventures for sure12:43
Zarayeah12:43
persiaTo my mind, there's not much to choose between them.  I generally pick sass, because I wrote more sass, but I think the right choice for a given team is to pick the one for which the team has more experience: they are essentially feature-compatible at this point.12:45
* persia only wishes more folk used haml-js in the javascript world12:46
Zarayeah, in this case I think less was chosen originally because of the difficulty of automating the install for sass, which doesn't work well for openstack12:47
Zarawell, didn't, since that's changed12:47
Zarabut in another environment, it seems that sass is more flexible12:47
Zaraand yeah, that's 'another enviroment to openstack in 2014'.12:48
Zarahm, can you even use 'another' like that?12:48
Zara'a different'12:48
Zaraeh12:48
ZaraI remember being interested in sass a while back because I read it allowed for logical operators and loops12:50
Zarawhether I've ever needed to use them here... less sure. :P12:53
* Zara finally gets back to looking at http://gerritlib.readthedocs.org/en/latest/api.html13:02
Zaraso I guess I want the first one, to create a watcher13:03
Zaraoh, hang on, to 'pass events to?'13:06
Zaramaybe I want the second, actually13:06
ZaraI'd've thought both but eh13:06
persiaMy read is that you want a Gerrit, and that a Gerrit creates a GerritWatcher for itself when you tell it to startWatching().13:18
persiaThe docs are limited, but gerrit.py is fairly cleanly written.13:19
Zaraheh13:21
ZaraI think I got startWatching() to work, though now I'm not sure that it will ever stop...13:36
persiaI think it doesn't stop until/unless you tell it to stop.13:45
persia(by exiting)13:45
Zarayeah, atm I'm not telling it anything13:47
Zarathe program is effectively just startWatching()13:47
Zarabut it finishes running ,since it's just told to print startWatching13:48
Zarait's an ace program... ^_^13:48
ZaraI'm also not sure if I should have something in the keyfile field, and think I probably should...13:49
ZaragerritThing = gerrit.Gerrit("review.openstack.org", "Zara", port=29418, keyfile=None)13:49
ZaragerritWatcher = gerritThing.startWatching()13:49
Zara(there are some print statements further down, that's pretty much it)13:49
Zaraoh yeah, storyboard meeting in about an hour13:50
Zaraerm well I tried to do getEvent and now I can't seem to find any way to exit my program14:11
persiaYou probably want a loop wherein you collect the events.14:11
Zara(well, ctrl+c didn't work)14:11
persiaOh, heh.  Try kill(1)14:11
Zaranot sure how to do that, but I can see the process14:12
Zarawell kill $pid worked, anyway14:15
ZaragerritThing = gerrit.Gerrit("review.openstack.org", "Zara", port=29418, keyfile=None)14:15
ZaragerritWatcher = gerritThing.startWatching()14:15
ZaragerritEvent = gerritThing.getEvent()14:15
Zara^ was what I just ran14:15
Zara(well, with some print statements again)14:15
ZaraI'm still trying to make sure I'm actually accessing what I think I'm accessing14:16
* Zara tries using listPlugins to test14:17
Zaraparamiko.ssh_exception.PasswordRequiredException: Private key file is encrypted14:18
Zarathat's encouraging, I think14:18
*** rpjr has joined #storyboard14:18
Zara    gerritPlugins = gerritThing.listPlugins()14:19
Zaraand same for projects, pretty sure I need to actually set a keyfile xD14:21
Zaradon't know exactly how yet14:21
Zarathere's a place for it in the function parameters14:21
Zarabut I don't know what I'm writing14:21
*** mrmartin has quit IRC14:26
*** mrmartin has joined #storyboard14:28
*** mrmartin has quit IRC14:30
Zarahttp://paste.openstack.org/show/493171/14:31
Zaratraceback ^14:31
Zaraso maybe it's finding my keyfile but it doesn't like that it uses a password...14:38
persia`ssh-agent` might help: it lets you give the password in advance.14:44
persiaFor production use, you'd want a key that could be unlocked without human involvement.14:44
Zarayeah, for now I'm just hacking it up, but pretty much all of this can't be used in production14:45
ZaraI'm even hardcoding my storyboard token14:45
Zara(though rn I'm not looking at the storyboard part)14:45
Zarahm, I think paramiko is doing something like ssh-agent?14:47
Zaratried running ssh-agent first, didn't seem to make a difference, but I'm probably missing... everything.14:51
Zarastoryboard meeting in ten-ish14:52
Zarameeting in two14:58
*** rpjr has quit IRC15:46
ZaraI can list all the gerrit projects with a python script now16:30
Zara\o/16:30
*** mrmartin has joined #storyboard16:30
*** jtomasek has quit IRC16:33
Zarathere are apparently 1036 projects in openstack's gerrit16:42
*** mrmartin has quit IRC17:10
*** jtomasek has joined #storyboard17:14
krotscheckYep17:31
krotscheckUp from 400 a year ago17:31
krotscheckWait, two years ago17:31
krotscheckYay big tent?17:31
Zarahehe17:35
krotscheckNPM fix has merged. Now we have to wait for ansible/puppet to pick it up, which kinda requires nodepool to be alive again.17:37
Zara\o/17:37
Zarasorta17:37
ZaraI have been completely distracted17:39
Zaratalking about summit lunches and snacks17:39
Zaravitally important.17:39
*** mrmartin has joined #storyboard18:07
*** mrmartin has quit IRC18:27
*** mrmartin has joined #storyboard18:40
*** mrmartin has quit IRC18:51
*** mrmartin has joined #storyboard18:53
*** fay_ has quit IRC19:01
*** aswadr_ has quit IRC19:50
*** mrmartin has quit IRC20:04
*** b3rnard0 is now known as b3rnard0_away21:09

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