lifeless | pleia2: they were already gone | 02:10 |
---|---|---|
pleia2 | she's here as Zara :) | 02:10 |
pleia2 | will see in the morning | 02:10 |
*** mrmartin has joined #storyboard | 04:36 | |
*** mrmartin has quit IRC | 05:30 | |
*** NikitaKonovalov_ has joined #storyboard | 06:08 | |
NikitaKonovalov_ | Zara: it may be simply missing there | 06:09 |
NikitaKonovalov_ | I mean implementation for PUT | 06:09 |
*** NikitaKonovalov_ has quit IRC | 06:10 | |
*** aswadr_ has joined #storyboard | 06:14 | |
*** mrmartin has joined #storyboard | 06:46 | |
*** NikitaKonovalov_ has joined #storyboard | 06:50 | |
*** mrmartin has quit IRC | 06:54 | |
*** openstackgerrit has quit IRC | 07:02 | |
*** openstackgerrit has joined #storyboard | 07:03 | |
*** mrmartin has joined #storyboard | 07:26 | |
*** mrmartin has quit IRC | 07:28 | |
*** fay_ has joined #storyboard | 07:32 | |
*** mrmartin has joined #storyboard | 07:43 | |
*** mrmartin has quit IRC | 07:53 | |
*** mrmartin has joined #storyboard | 07:54 | |
*** mrmartin has quit IRC | 07:54 | |
*** NikitaKonovalov_ has quit IRC | 08:13 | |
*** NikitaKonovalov_ has joined #storyboard | 08:17 | |
*** NikitaKonovalov_ has quit IRC | 08:18 | |
*** NikitaKonovalov_ has joined #storyboard | 08:28 | |
*** mrmartin has joined #storyboard | 08:29 | |
*** NikitaKonovalov_ has quit IRC | 09:08 | |
*** NikitaKonovalov_ has joined #storyboard | 09:18 | |
Zara | NikitaKonovalov_: 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. :D | 09:22 |
Zara | pleia2: 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 |
openstackgerrit | Merged openstack-infra/python-storyboardclient: Update Docs https://review.openstack.org/298910 | 09:29 |
*** NikitaKonovalov_ has quit IRC | 10:04 | |
*** NikitaKonovalov_ has joined #storyboard | 10:04 | |
*** NikitaKonovalov_ has quit IRC | 10:07 | |
*** NikitaKonovalov_ has joined #storyboard | 10:16 | |
*** mrmartin has quit IRC | 10: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 #storyboard | 10:25 | |
Zara | krotscheck: 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 |
Zara | s/be// | 10:32 |
*** mrmartin has quit IRC | 10:34 | |
*** NikitaKonovalov_ has quit IRC | 10:44 | |
Zara | on the r&d side, today I'm trying to get gerritlib reading the stream events, and hopefully sending relevant ones to another function | 11:26 |
Zara | I assume npm things will be coordinated across infra so I might as well wait for people to wake up for that stuff | 11:26 |
Zara | I'm on 4 terminal tabs for storyboard at this point | 11:36 |
Zara | 5 if you count irc | 11:36 |
*** mrmartin has joined #storyboard | 11:58 | |
Zara | I 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 |
Zara | if anyone knows, feel free to link me for curiosity's sake | 12:31 |
Zara | aha! | 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 |
Zara | from gruntfile.js | 12:33 |
Zara | */ | 12:33 |
betherly | not totally true any more | 12:37 |
betherly | http://sass-lang.com/libsass | 12:37 |
betherly | libsass allows for using things like sass.js https://github.com/medialize/sass.js and other wrappers | 12:37 |
betherly | so that its as accessible as possible. | 12:38 |
betherly | heres an interesting article on the comparison of LESS and Sass https://www.keycdn.com/blog/sass-vs-less/ | 12:40 |
betherly | pretty up to date too so the stats are pretty accurate | 12:41 |
Zara | yeah, I think I found those a while ago and concluded 'more effort than it's worth to change' | 12:42 |
betherly | definitely | 12:42 |
betherly | but worth considering for future ventures for sure | 12:43 |
Zara | yeah | 12:43 |
persia | To 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 world | 12:46 | |
Zara | yeah, 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 openstack | 12:47 |
Zara | well, didn't, since that's changed | 12:47 |
Zara | but in another environment, it seems that sass is more flexible | 12:47 |
Zara | and yeah, that's 'another enviroment to openstack in 2014'. | 12:48 |
Zara | hm, can you even use 'another' like that? | 12:48 |
Zara | 'a different' | 12:48 |
Zara | eh | 12:48 |
Zara | I remember being interested in sass a while back because I read it allowed for logical operators and loops | 12:50 |
Zara | whether I've ever needed to use them here... less sure. :P | 12:53 |
* Zara finally gets back to looking at http://gerritlib.readthedocs.org/en/latest/api.html | 13:02 | |
Zara | so I guess I want the first one, to create a watcher | 13:03 |
Zara | oh, hang on, to 'pass events to?' | 13:06 |
Zara | maybe I want the second, actually | 13:06 |
Zara | I'd've thought both but eh | 13:06 |
persia | My read is that you want a Gerrit, and that a Gerrit creates a GerritWatcher for itself when you tell it to startWatching(). | 13:18 |
persia | The docs are limited, but gerrit.py is fairly cleanly written. | 13:19 |
Zara | heh | 13:21 |
Zara | I think I got startWatching() to work, though now I'm not sure that it will ever stop... | 13:36 |
persia | I think it doesn't stop until/unless you tell it to stop. | 13:45 |
persia | (by exiting) | 13:45 |
Zara | yeah, atm I'm not telling it anything | 13:47 |
Zara | the program is effectively just startWatching() | 13:47 |
Zara | but it finishes running ,since it's just told to print startWatching | 13:48 |
Zara | it's an ace program... ^_^ | 13:48 |
Zara | I'm also not sure if I should have something in the keyfile field, and think I probably should... | 13:49 |
Zara | gerritThing = gerrit.Gerrit("review.openstack.org", "Zara", port=29418, keyfile=None) | 13:49 |
Zara | gerritWatcher = gerritThing.startWatching() | 13:49 |
Zara | (there are some print statements further down, that's pretty much it) | 13:49 |
Zara | oh yeah, storyboard meeting in about an hour | 13:50 |
Zara | erm well I tried to do getEvent and now I can't seem to find any way to exit my program | 14:11 |
persia | You probably want a loop wherein you collect the events. | 14:11 |
Zara | (well, ctrl+c didn't work) | 14:11 |
persia | Oh, heh. Try kill(1) | 14:11 |
Zara | not sure how to do that, but I can see the process | 14:12 |
Zara | well kill $pid worked, anyway | 14:15 |
Zara | gerritThing = gerrit.Gerrit("review.openstack.org", "Zara", port=29418, keyfile=None) | 14:15 |
Zara | gerritWatcher = gerritThing.startWatching() | 14:15 |
Zara | gerritEvent = gerritThing.getEvent() | 14:15 |
Zara | ^ was what I just ran | 14:15 |
Zara | (well, with some print statements again) | 14:15 |
Zara | I'm still trying to make sure I'm actually accessing what I think I'm accessing | 14:16 |
* Zara tries using listPlugins to test | 14:17 | |
Zara | paramiko.ssh_exception.PasswordRequiredException: Private key file is encrypted | 14:18 |
Zara | that's encouraging, I think | 14:18 |
*** rpjr has joined #storyboard | 14:18 | |
Zara | gerritPlugins = gerritThing.listPlugins() | 14:19 |
Zara | and same for projects, pretty sure I need to actually set a keyfile xD | 14:21 |
Zara | don't know exactly how yet | 14:21 |
Zara | there's a place for it in the function parameters | 14:21 |
Zara | but I don't know what I'm writing | 14:21 |
*** mrmartin has quit IRC | 14:26 | |
*** mrmartin has joined #storyboard | 14:28 | |
*** mrmartin has quit IRC | 14:30 | |
Zara | http://paste.openstack.org/show/493171/ | 14:31 |
Zara | traceback ^ | 14:31 |
Zara | so 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 |
persia | For production use, you'd want a key that could be unlocked without human involvement. | 14:44 |
Zara | yeah, for now I'm just hacking it up, but pretty much all of this can't be used in production | 14:45 |
Zara | I'm even hardcoding my storyboard token | 14:45 |
Zara | (though rn I'm not looking at the storyboard part) | 14:45 |
Zara | hm, I think paramiko is doing something like ssh-agent? | 14:47 |
Zara | tried running ssh-agent first, didn't seem to make a difference, but I'm probably missing... everything. | 14:51 |
Zara | storyboard meeting in ten-ish | 14:52 |
Zara | meeting in two | 14:58 |
*** rpjr has quit IRC | 15:46 | |
Zara | I can list all the gerrit projects with a python script now | 16:30 |
Zara | \o/ | 16:30 |
*** mrmartin has joined #storyboard | 16:30 | |
*** jtomasek has quit IRC | 16:33 | |
Zara | there are apparently 1036 projects in openstack's gerrit | 16:42 |
*** mrmartin has quit IRC | 17:10 | |
*** jtomasek has joined #storyboard | 17:14 | |
krotscheck | Yep | 17:31 |
krotscheck | Up from 400 a year ago | 17:31 |
krotscheck | Wait, two years ago | 17:31 |
krotscheck | Yay big tent? | 17:31 |
Zara | hehe | 17:35 |
krotscheck | NPM 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 |
Zara | sorta | 17:37 |
Zara | I have been completely distracted | 17:39 |
Zara | talking about summit lunches and snacks | 17:39 |
Zara | vitally important. | 17:39 |
*** mrmartin has joined #storyboard | 18:07 | |
*** mrmartin has quit IRC | 18:27 | |
*** mrmartin has joined #storyboard | 18:40 | |
*** mrmartin has quit IRC | 18:51 | |
*** mrmartin has joined #storyboard | 18:53 | |
*** fay_ has quit IRC | 19:01 | |
*** aswadr_ has quit IRC | 19:50 | |
*** mrmartin has quit IRC | 20:04 | |
*** b3rnard0 is now known as b3rnard0_away | 21:09 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!