Wednesday, 2014-01-22

openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Storyboard API Interface and basic project management  https://review.openstack.org/6758201:31
* gothicmindfood does the "go-krotscheck" dance01:32
*** gothicmindfood has quit IRC01:32
krotscheckEh?01:33
krotscheckWhat is this, congrats-and-quit?01:33
krotschecksrsly?01:33
krotscheckYeeesh01:33
*** krotscheck has quit IRC01:36
*** drdee has joined #storyboard01:59
*** taps has quit IRC02:11
*** miqui has quit IRC02:16
*** miqui has joined #storyboard02:28
*** drdee has quit IRC02:52
*** drdee has joined #storyboard02:53
*** drdee has quit IRC03:25
*** miqui has quit IRC03:52
*** miqui has joined #storyboard03:53
*** miqui has quit IRC04:29
openstackgerritA change was merged to openstack-infra/storyboard: Fixed doc build  https://review.openstack.org/6737604:59
*** NikitaKonovalov_ is now known as NikitaKonovalov06:41
*** NikitaKonovalov is now known as NikitaKonovalov_06:50
*** NikitaKonovalov_ is now known as NikitaKonovalov07:18
*** SergeyLukjanov_ is now known as SergeyLukjanov08:23
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: API tests for rest  https://review.openstack.org/6744709:19
*** SergeyLukjanov is now known as SergeyLukjanov_a09:27
*** SergeyLukjanov_a is now known as SergeyLukjanov_09:28
*** SergeyLukjanov_ is now known as SergeyLukjanov09:40
*** SergeyLukjanov is now known as SergeyLukjanov_09:47
*** NikitaKonovalov is now known as NikitaKonovalov_09:47
*** jesusaurus has quit IRC10:35
*** jesusaurus has joined #storyboard10:37
*** drdee has joined #storyboard12:18
*** drdee has quit IRC13:02
*** miqui has joined #storyboard14:49
miqui..hello14:58
*** SergeyLukjanov_ is now known as SergeyLukjanov15:33
*** SergeyLukjanov is now known as SergeyLukjanov_a16:07
*** SergeyLukjanov_a is now known as SergeyLukjanov_16:08
*** _ruhe is now known as ruhe16:20
*** SergeyLukjanov_ is now known as SergeyLukjanov16:28
*** taps has joined #storyboard16:58
*** SergeyLukjanov is now known as SergeyLukjanov_17:10
*** SergeyLukjanov_ is now known as SergeyLukjanov17:18
*** SergeyLukjanov is now known as SergeyLukjanov_17:28
*** gothicmindfood has joined #storyboard17:32
*** SergeyLukjanov_ is now known as SergeyLukjanov18:21
*** gothicmindfood has quit IRC18:31
*** krotscheck has joined #storyboard18:33
*** ruhe is now known as _ruhe18:39
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Add tests for Alembic migrations  https://review.openstack.org/6641418:55
krotscheckpatchy patch18:57
krotscheckSo, what is general openstack policy on how many +1's you need to get something approved? Is that a personal thing, or is there a set policy?19:00
krotscheckFor instance: I have +2 on storyboard-core. Should I wait until at least one other person reviews something?19:01
krotscheckI'm not going to push my own code btw.19:01
*** _ruhe is now known as ruhe19:01
ruhekrotscheck: general rule is two have at least two +2 for a patch19:01
krotscheckruhe: Got it.19:02
krotscheckThat means we need at least one more +2 on the project, because mordred and ttx are super busy19:02
krotscheckruhe: I just wish we could get some movement on some of these patches :/19:03
krotscheckI don't want to start building features that are dependent on other patches which are dependent on other patches. Down that route lies madness.19:03
ruhekrotscheck: i don't see any problem when you approve a patch with only one +2 from you. as you said mordred and ttx are super busy. so it's the only way for now19:04
krotscheckruhe: Fair point.19:04
krotscheckLet's keep our eyes open for other +2's though, preferably non-HP types.19:04
* krotscheck may be dropping hints19:05
ruhe:)19:05
mordredkrotscheck: I do not believe you've failed everyone - I'm pretty sure that you've got a big blocker from infra being slammed right now19:06
mordred(reading old scrollback)19:06
krotscheckSo, david-lyle: I've got a javascript standards question regarding how openstack should handle inheritance. There's a non-trivial performance boost we get from using prototypical inheritance and avoiding  closures/lambdas, because of the way most javascript parsers assign pointers. On the flipside, prototypical inheritance means that everything we do is a public method (no concealing functionality in method scope). I'm more of a fan of the latte19:08
krotscheckr myself.19:08
krotscheckActually, that's a question for everyone19:08
krotscheckUnlike in python, there's not one obvious correct way to do things in javascript :/19:10
krotscheckA quick performance benchmark that illustrates the issue: https://coderwall.com/p/jj6fwa19:11
mordredkrotscheck: in terms of performance - I do think that snappy usability is important19:14
krotscheckmordred: I agree. For things like live graph rendering this kind of a decision is super important.19:15
ruhekrotscheck: i'm a total in n00b in js. but here is a question: wouldn't overall application performance be influenced by the way how framework (jquery, anguler, etc) handles inheritance?19:15
krotscheckruhe: Oh. Hrm. Point19:15
krotscheckruhe, mordred: In the case of most applications, I don't think it matters.19:16
krotscheckruhe, mordred: If we want to offload a LOT of processing to the browser though, it's something that bears consideration.19:16
krotscheckExample: Drawing a single line graph? Probably fine.19:16
krotscheckBuilding a 3D engine? Definitely not.19:16
krotscheckmordred: One thing about snappy usability is that the major lag will come from network traffic, not from the javascript engine.19:19
krotscheckAnd that's something we can manage. For example: You click on ticket. Page needs time to get ticket data, so we show you a page with a loading spinner and some good estimate on how long it might take to get the data.19:19
krotscheckMy project patch does that, but of course I don't have an API yet ;)19:20
krotscheck(So there's no lag there to show it off)19:20
krotscheckruhe: By the way, I rebased your patch and will push it through as soon as check finishes.19:20
ruhekrotscheck: that's great!19:21
ruhekrotscheck: is webclient in a state when we can point it to api server?19:21
krotscheckruhe: Yes, yes it is.19:21
krotscheckruhe: In fact, let me put together a patch that removes the mocks...19:21
mordredkrotscheck: then based on that, I'd say lets write clean code - I don't think we need to optimize for a 3d image19:22
ruhekrotscheck: good, then we (me and Nikita) will try see tomorrow how they work together19:22
krotscheckruhe: Got it.19:22
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Remove mock API interfaces from storyboard.  https://review.openstack.org/6846419:27
openstackgerritA change was merged to openstack-infra/storyboard: Add tests for Alembic migrations  https://review.openstack.org/6641419:27
krotscheckruhe: There you go.19:27
krotscheck(On both counts :) )19:27
ruhethanks :)19:28
krotscheckNow on to the API patch...19:28
mordredwoot19:33
krotscheckI hope ruhe and NikitaKonovalov_ don't mind me going in and handling their rebases.19:36
ruhekrotscheck: i appreciate your help19:37
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Introducing basic REST API  https://review.openstack.org/6311819:38
*** NikitaKonovalov_ is now known as NikitaKonovalov19:57
openstackgerritA change was merged to openstack-infra/storyboard: Introducing basic REST API  https://review.openstack.org/6311819:59
krotscheckDum dee dum20:00
krotscheckOk, next.20:00
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Load projects from yaml file  https://review.openstack.org/6628020:02
*** SergeyLukjanov is now known as SergeyLukjanov_20:28
* krotscheck might have storyboard-webclient running side-by-side with the api :)20:35
*** NikitaKonovalov is now known as NikitaKonovalov_20:42
mordredkrotscheck: w00t!20:43
mordredkrotscheck: like, running locally and working and stuff?20:43
ruheit's alive, it's alive!!!20:46
krotscheckmordred, ruhe: Well, running side by side.20:47
*** NikitaKonovalov_ is now known as NikitaKonovalov20:47
krotscheckmordred, ruhe: I'm still trying to figure out how to invoke the db migration from a tarball install20:47
krotschecki.e.: I got it running from storyboard, with db migration and whatnot.20:48
krotschecknow I'm trying to have storyboard-webclient to do a tox install from tarballs and run tests against that.20:49
ruhekrotscheck: that's easy - storyboard-db-manage --config-file /etc/storyboard/storyboard.conf upgrade head20:49
krotscheckruhe: Yeah, that gives me an sqlalchemy error20:50
ruhecan you post it to paste.openstack.org?20:50
krotscheckIt's a missing db connection string20:51
*** SergeyLukjanov_ is now known as SergeyLukjanov20:51
krotscheckit's just that I'm still a novice with all the python tools, so debugging takes me longer20:51
ruhekrotscheck: you need something like "# connection = mysql://root:pass@127.0.0.1:3306/storyboard" in your storyboard.conf20:52
krotscheckSince you're curious though20:52
krotscheckhttp://paste.openstack.org/show/61708/20:52
*** drdee has joined #storyboard20:53
ruhekrotscheck: or "connection = sqlite://", but i'm not sure about sqlite. it seems that alembic doesn't always play well with sqlite20:53
*** NikitaKonovalov is now known as NikitaKonovalov_20:57
*** SergeyLukjanov is now known as SergeyLukjanov_21:02
krotscheckruhe: That makes sense. I'm going to write a storyboard-startup script for tox, so the webclient can create an isolated DB instance for each build.21:04
*** drdee has quit IRC21:11
*** ruhe is now known as _ruhe21:23
*** david-lyle has quit IRC22:06
*** david-lyle has joined #storyboard22:06
*** drdee has joined #storyboard22:14
*** miqui has quit IRC22:24
*** taps has quit IRC22:27
krotscheckmordred: So one part of jshint is licensed under a non-OSI license.23:35
*** drdee has quit IRC23:40
*** taps has joined #storyboard23:42
mordredkrotscheck: yeah. I've heard about that ... but we shouldn't really need to care, right/23:45
mordredkrotscheck: also - I'm in a meeting thing - but I'm going to ping you in a sec about the db instance per build thing23:45
krotscheckmordred: ooookay?23:46
mordredkrotscheck: (it's a great idea - I just want to dig in on it and grok the mechanism you're thinking about)23:47
krotscheckmordred: Why don't I just throw a patch at you.23:47
krotscheckmordred: We're not packaging the licensed code.23:51
*** drdee has joined #storyboard23:51
krotscheckmordred: But we are "using it" to build software that could be "used for evil"23:51

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