Wednesday, 2014-10-01

*** wenlock has quit IRC00:06
*** sarob is now known as sarob_away00:12
*** sarob_away is now known as sarob00:15
*** sarob is now known as sarob_away00:41
*** MaxV has joined #storyboard00:43
*** MaxV has quit IRC00:48
*** jang has quit IRC01:11
*** jang has joined #storyboard01:23
*** MaxV has joined #storyboard01:44
*** MaxV has quit IRC01:49
*** MaxV has joined #storyboard02:45
*** MaxV has quit IRC02:49
*** sarob_away is now known as sarob03:41
*** MaxV has joined #storyboard03:45
*** MaxV has quit IRC03:50
*** sarob is now known as sarob_away03:50
*** MaxV has joined #storyboard04:46
*** MaxV has quit IRC04:47
*** MaxV has joined #storyboard04:48
*** MaxV has quit IRC04:53
*** sarob_away has quit IRC04:57
*** sarob_away has joined #storyboard05:27
*** reed has quit IRC05:45
*** k4n0 has joined #storyboard05:47
*** MaxV has joined #storyboard05:49
*** MaxV has quit IRC05:53
*** MaxV has joined #storyboard06:25
*** MaxV has quit IRC06:25
*** MaxV has joined #storyboard06:26
*** miqui has quit IRC06:52
*** MaxV has quit IRC07:01
*** MaxV has joined #storyboard07:03
*** MaxV has quit IRC07:05
*** jcoufal has joined #storyboard07:20
*** MaxV has joined #storyboard07:40
*** coolsvap|afk is now known as coolsvap07:48
*** coolsvap is now known as coolsvap|afk08:24
*** che-arne has joined #storyboard08:53
*** jtomasek has joined #storyboard09:08
*** wendar has quit IRC09:38
*** wendar has joined #storyboard09:38
*** che-arne|2 has joined #storyboard10:10
*** che-arne has quit IRC10:12
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Added tags controllers  https://review.openstack.org/11421710:49
openstackgerrityolanda.robla proposed a change to openstack-infra/storyboard: Disable login for users  https://review.openstack.org/11217412:31
*** miqui has joined #storyboard13:06
*** mfer has joined #storyboard13:19
*** sarob_away is now known as sarob14:03
*** che-arne|2 has quit IRC14:10
*** openstackgerrit has quit IRC14:18
*** openstackgerrit has joined #storyboard14:19
*** che-arne has joined #storyboard14:26
*** miqui has quit IRC14:33
*** miqui has joined #storyboard14:33
*** openstackgerrit has quit IRC14:47
*** openstackgerrit has joined #storyboard14:49
krotscheckNikitaKonovalov: If you get a chance, can you take a look at https://review.openstack.org/#/c/125227/?14:49
*** wenlock has joined #storyboard14:50
*** openstackgerrit has quit IRC15:02
*** openstackgerrit has joined #storyboard15:03
*** MaxV has quit IRC15:51
*** jtomasek has quit IRC15:55
*** k4n0 has quit IRC16:05
*** colettecello has joined #storyboard16:17
*** jang has quit IRC16:17
*** mordred has quit IRC16:17
*** gothicmindfood has quit IRC16:17
*** openstackgerrit has quit IRC16:18
*** mordred has joined #storyboard16:18
*** openstackgerrit has joined #storyboard16:19
*** MaxV has joined #storyboard16:31
*** colettecello is now known as gothicmindfood16:33
*** jcoufal has quit IRC16:54
*** MaxV has quit IRC16:55
*** sarob is now known as sarob_away17:05
*** reed has joined #storyboard17:05
*** sarob_away is now known as sarob17:07
openstackgerritA change was merged to openstack-infra/storyboard: Added Content-Type header to CORS  https://review.openstack.org/12522717:08
*** sarob is now known as sarob_away17:11
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Removed server:prod  https://review.openstack.org/12542717:16
*** reed has quit IRC17:16
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Updated library versions  https://review.openstack.org/12544217:50
zarokrotscheck: i'm running a local gerrit and i want to post to storyboard.  what would i need to do to setup the gerrit machine so it can post comments to stories on storyboardy.o.o?18:12
krotscheckzaro: Issue an OAuth token to gerrit and have it make HTTP API calls.18:13
krotscheckzaro: We don’t have a storyboardlib yet :/18:13
zarokrotscheck: i would be using the https://storyboard.openstack.org/api/v1/stories/${story}/comments endpoint.18:13
krotscheckzaro: Yep18:14
krotscheckzaro: Speaking of which, I need to fix that endpoint18:14
zarokrotscheck: what's the process to issue an Oauth token?  is that something that would be initiated by storyboard?18:14
*** reed has joined #storyboard18:18
krotscheckzaro: Follow the UI login flow. We don’ thave a method to create and manage those yet.18:21
krotscheckzaro: You could always build that for us :)18:21
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Updated build tool versions  https://review.openstack.org/12545518:37
krotscheckzaro: I modified your story about comment/content: https://storyboard.openstack.org/#!/story/29818:57
krotscheckzaro: It’s a sphinx/template thing.18:57
*** jtomasek has joined #storyboard18:59
*** sarob_away is now known as sarob19:36
*** sarob is now known as sarob_away19:58
*** sarob_away is now known as sarob20:00
*** rainya has joined #storyboard20:37
*** MaxV has joined #storyboard20:43
*** MaxV has quit IRC20:45
*** sarob is now known as sarob_away20:56
*** MaxV has joined #storyboard20:58
*** sarob_away is now known as sarob21:00
*** jtomasek has quit IRC21:06
*** mfer has quit IRC21:22
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Stevedore worker plugins  https://review.openstack.org/12550421:24
*** miqui has quit IRC21:29
*** mfer has joined #storyboard21:38
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Stevedore worker plugins  https://review.openstack.org/12550421:42
*** mordred has quit IRC21:54
*** mordred has joined #storyboard21:54
*** sarob is now known as sarob_away22:00
krotscheckI’m having some trouble with doing the user ui side of project groups.22:04
krotscheckMost notably, how to allow “search by project group".22:05
krotscheckHow do I build an index, which says “Oh, given a project group id, give me all stories whose tasks are in projects that are in the given project group".22:05
krotscheckThat’s a 5-table join22:06
krotscheck(There’s n extra mapping table between project group and projects)22:06
*** mfer has quit IRC22:20
cody-somervillekrotscheck: I don't believe you can create an index that spans multiple tables, you'd be literally creating additional tables.22:22
cody-somervillekrotscheck: Is your current query slow?22:23
cody-somervillekrotscheck: Running to the store, bbiab22:24
krotscheckcody-somerville: THe current query is not slow, it’s notnexistent.22:24
cody-somervillekrotscheck: Ah.22:24
krotscheckI’m contemplating additional indexing things, such as solr/lucene/elastic or whoosh22:24
krotscheckSo that we store the information in a way that is easily queryable.22:24
krotscheckThe only catch is - let’s say someone adds or removes a project from a group. The subsequent index update for all those stories and tasks would be ridiculous22:25
cody-somervilleI would just use a nested query22:27
cody-somervillesomething like: SELECT * FROM stories INNER JOIN tasks ON stories.id = tasks.story_id WHERE tasks.project_id IN (SELECT project_id FROM project_groups_projects WHERE project_group_id='%d');22:34
*** sarob_away is now known as sarob22:36
krotscheckcody-somerville: Easy when you have access to raw sql :)22:37
krotscheckI have to map that through SQLAlchemy’s ORM22:37
cody-somervilleI could do it in Django ORM but not sure how to do it with SQLAlchemy's. I'll take a gander at it when I get back from getting groceries though.22:38
*** che-arne has quit IRC22:51
*** wenlock has quit IRC23:04
*** MaxV has quit IRC23:06

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