Thursday, 2015-01-29

*** openstackgerrit has quit IRC00:21
*** openstackgerrit has joined #storyboard00:21
nibalizer-/win 3700:22
nibalizerer00:22
*** jedimike has joined #storyboard00:44
*** openstackgerrit has quit IRC01:05
*** openstackgerrit has joined #storyboard01:05
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Templating Engine  https://review.openstack.org/14773401:10
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added email sender and configuration.  https://review.openstack.org/14979201:10
*** mase_x200 has joined #storyboard01:23
*** mase_x200 has quit IRC01:25
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Recast exceptions in get_plugin_directory()  https://review.openstack.org/15106801:42
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: subscription_helper now supports timeline_events  https://review.openstack.org/15017001:51
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Singularized resource names.  https://review.openstack.org/15016901:51
*** jedimike has quit IRC02:13
*** openstackgerrit has quit IRC02:20
*** openstackgerrit has joined #storyboard02:21
*** mrmartin has joined #storyboard02:51
*** openstackgerrit has quit IRC03:20
*** openstackgerrit has joined #storyboard03:20
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Templating Engine  https://review.openstack.org/14773403:35
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added email sender and configuration.  https://review.openstack.org/14979203:35
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Created test class for temporary working directories  https://review.openstack.org/15108603:35
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Utility Methods  https://review.openstack.org/15108703:35
*** mrmartin has quit IRC03:39
*** reed has quit IRC06:26
*** coolsvap|afk is now known as coolsvap07:10
*** mrmartin has joined #storyboard07:28
*** alexismonville has joined #storyboard07:46
*** jcoufal has joined #storyboard07:51
*** MaxV has joined #storyboard08:35
*** jtomasek has joined #storyboard08:38
yolandahi NikitaKonovalov, can you take a look at https://review.openstack.org/150027 ?09:01
yolandaproject groups is broken09:01
NikitaKonovalovyolanda: sure. looking now09:01
yolandaah, sorry09:01
openstackgerritMerged openstack-infra/storyboard-webclient: Fix project groups controller  https://review.openstack.org/15002709:10
yolandathx Nikita09:13
* CTtpollard hopes this snow leaves england before his flight to FOSDEM tomorrow morning 09:26
*** ssam2 has joined #storyboard09:27
yolandaoh, i wanted to see snow here this year,but seems it won't happen11:31
yolandaover 13 degrees now, so no chances11:31
rcarrillocruzhmm11:33
rcarrillocruzok11:33
rcarrillocruzi think i have how to sort out the notifications showing what has changed11:34
rcarrillocruzi put a before method in the notification hook that pulls the object from the DB that is about to be modified by the request11:35
rcarrillocruzjsonify it11:35
rcarrillocruzthen in the after method i diff that json representation to what is returned in the response11:35
rcarrillocruzand flag what fields changed, then dump that to rabbitmq11:35
*** yolanda has quit IRC11:46
*** yolanda has joined #storyboard11:47
*** yolanda has quit IRC11:47
*** yolanda has joined #storyboard11:49
*** yolanda has quit IRC11:51
*** yolanda has joined #storyboard11:52
*** yolanda has quit IRC11:52
*** yolanda has joined #storyboard11:53
*** jtomasek has quit IRC12:09
*** alexismonville has quit IRC12:23
openstackgerritNikita Konovalov proposed openstack-infra/python-storyboardclient: Stories and Tasks support  https://review.openstack.org/15006712:38
openstackgerritNikita Konovalov proposed openstack-infra/storyboard: Refactor Tasks to work as a Subcontroller  https://review.openstack.org/15005212:45
*** yolanda has quit IRC12:53
*** yolanda has joined #storyboard12:54
*** alexismonville has joined #storyboard12:57
*** jcoufal_ has joined #storyboard13:06
*** jtomasek has joined #storyboard13:09
*** jcoufal has quit IRC13:09
openstackgerritMerged openstack-infra/storyboard: Corrected usage of subscription helper.  https://review.openstack.org/15015013:14
*** alexismonville has quit IRC13:15
openstackgerritMerged openstack-infra/storyboard: Singularized resource names.  https://review.openstack.org/15016913:15
openstackgerritMerged openstack-infra/storyboard: subscription_helper now supports timeline_events  https://review.openstack.org/15017013:17
openstackgerritMerged openstack-infra/storyboard: Recast exceptions in get_plugin_directory()  https://review.openstack.org/15106813:17
openstackgerritMerged openstack-infra/storyboard: Created test class for temporary working directories  https://review.openstack.org/15108613:17
openstackgerritMerged openstack-infra/python-storyboardclient: Adding pretty-tox  https://review.openstack.org/15041713:19
*** alexismonville has joined #storyboard13:27
yolandawoot, tons of merges13:43
openstackgerritNikita Konovalov proposed openstack-infra/storyboard: Fix status code for delete endpoint.  https://review.openstack.org/15125414:13
*** CTtpollard has quit IRC14:32
*** mattfarina has joined #storyboard14:33
*** CTtpollard has joined #storyboard14:40
*** Piet has joined #storyboard15:09
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Templating Engine  https://review.openstack.org/14773415:24
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added email sender and configuration.  https://review.openstack.org/14979215:24
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Utility Methods  https://review.openstack.org/15108715:24
*** mattfarina has quit IRC15:25
* krotscheck is on the rebase train!15:27
yolandacan there be a more annoying thing than rebasing?15:27
yolandai was reading an article about a comand for git called git rere or somewhat like that, that was remembering your preferences when rebasing15:27
krotscheckYou know, it is a bit annoying, but I’ve come to this fun zen place where I just go git rebase -i master, then switch all the pick’s to edit’s, and slowly reconstruct my code :)15:28
yolandathe worse end for it is that when you are rebasing and you discover that the change you've worked so hard makes no sense now15:30
krotscheckOh yea.15:31
krotscheckDoes anyone remember why we do not permit underscores in project names15:32
krotscheck?15:32
krotscheckWe’ve got a few infra projects that contain them.15:32
yolandawe should permit...15:32
yolandakrotscheck, can you take a look at the integration tests spec when you have time between rebases? :)15:35
yolandahttps://review.openstack.org/15074315:35
* yolanda is totally losing a battle with VMWare today15:35
rcarrillocruzand when that rebase is because your code has moved away to other repo due to a split is EVEN more annoying15:35
*** mattfarina has joined #storyboard15:37
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added underscores as permitted in a nametype.  https://review.openstack.org/15128015:37
krotscheckyolanda: I’ll trade ya : https://review.openstack.org/#/c/151280/15:40
yolandaheh15:40
yolandakrotscheck, are there tests for validating the project name?15:41
krotscheckyolanda: I don’t know? We’ll know as soon as zuul comes along.15:42
yolandaif there are they may be using nametype as well so we'll be fine15:43
*** jtomasek has quit IRC15:44
rcarrillocruzkrotscheck: do you know if there's an available method to jsonify an entity?15:44
rcarrillocruze.g. taking a Task to json format15:45
rcarrillocruzi've been using pecan.jsonify, but i was wondering if oslo.db.sqlalchemy has some method for that15:45
krotscheckrcarrillocruz: There’s no wrapper to jsonify that I know of. I do believe that using it is the right thing to do here, since it means we’re only using one json encoder across the whole system.15:48
NikitaKonovalovkrotscheck: re underscore, there was an idea to allow access to project by name in the url, and underscore should be escaped then16:03
NikitaKonovalovI guess people just didnt want to have %5F in project name16:04
krotscheckNikitaKonovalov: Well, they want it now, so meh.16:05
* krotscheck actually wonders if it’s ok to have an underscore in the url fragment...16:05
krotscheckNikitaKonovalov: Turns out underscores are safe -> https://tools.ietf.org/html/rfc3986#section-2.316:06
NikitaKonovalovI'm ok with having underscores if browsers are16:08
openstackgerritGeorge Peristerakis proposed openstack-infra/storyboard: Whitelisted bash in the tox configuration  https://review.openstack.org/15129316:08
*** mattfarina has quit IRC16:14
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Templating Engine  https://review.openstack.org/14773416:16
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added email sender and configuration.  https://review.openstack.org/14979216:16
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Utility Methods  https://review.openstack.org/15108716:16
krotscheckI didn’t realize that ordered dicts are a thing.16:16
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added branches to storyboard  https://review.openstack.org/15044716:20
yolandakrotscheck, what do you think about the spec apart than my horrible typo?16:23
*** mrmartin has quit IRC16:28
*** mrmartin has joined #storyboard16:28
openstackgerritMerged openstack-infra/storyboard: Added underscores as permitted in a nametype.  https://review.openstack.org/15128016:30
*** mrmartin has quit IRC16:32
*** mattfarina has joined #storyboard16:43
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added branches to storyboard  https://review.openstack.org/15044716:55
*** peristeri has joined #storyboard16:56
*** coolsvap is now known as coolsvap|afk17:10
*** CTtpollard has quit IRC17:26
*** ssam2 has quit IRC17:32
*** MaxV has quit IRC17:32
*** MaxV has joined #storyboard17:33
*** jcoufal_ has quit IRC17:35
*** MaxV has quit IRC17:38
*** reed has joined #storyboard18:00
*** coolsvap|afk is now known as coolsvap18:22
*** alexismonville has quit IRC18:30
*** MaxV has joined #storyboard18:43
*** MaxV has quit IRC18:47
*** openstackgerrit has quit IRC18:50
*** openstackgerrit has joined #storyboard18:51
*** yolanda has quit IRC18:56
*** coolsvap is now known as coolsvap|afk18:56
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Templating Engine  https://review.openstack.org/14773419:26
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added email sender and configuration.  https://review.openstack.org/14979219:26
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Utility Methods  https://review.openstack.org/15108719:26
*** reed has quit IRC19:27
rcarrillocruzkrotscheck: ping19:42
rcarrillocruzare you around?19:42
krotscheckrcarrillocruz: Yep, what’s up19:43
rcarrillocruzi've done progress in the notifications, i figured how to dump into the rabbitmq exchange what has changed in a resource on PUT operations19:43
krotscheckNICE19:44
rcarrillocruzwhat i do is add a 'before' method in the NotificationHook, and get the resource and resource_id19:44
krotscheckRight19:44
krotscheckAnd then store it on request.context?19:44
rcarrillocruzthen I pull the whole entity and pass it on to the state object, that is shared and thread-safe in the hook19:44
krotscheckOr that :)19:44
rcarrillocruzand then I compare it to the response given on the 'after'19:44
rcarrillocruzis it ok ?19:44
krotscheckThat seems like a good solution, do you have a review?19:45
rcarrillocruzit's an additional sql query, but i guess is better than pulling the notifications out of pecan hooks...19:45
rcarrillocruzi'll do shortly, prolly tomorrow19:45
rcarrillocruzi have it a POC, but wanted to check first if you were ok with the approach19:45
krotscheckrcarrillocruz: For the sake of simplicity though, don’t worry about comparing the diff in the after hook. Let’s just send the entire before/after entity and let the subscriber decide what they want to do about it.19:45
rcarrillocruzoh19:45
rcarrillocruznice19:45
rcarrillocruzyou simplified my life19:45
rcarrillocruzlol19:45
rcarrillocruz:D19:45
rcarrillocruzthx, i'll do that then19:46
krotscheckrcarrillocruz: Sec, lemme show you the API I had in mind....19:46
krotscheckrcarrillocruz: https://review.openstack.org/#/c/143744/5/storyboard/notifications/publisher.py19:46
krotscheck(incidentally, that patchset is missing exactly the modification that you’re working on before I can land it.)19:47
krotscheck:D19:47
krotscheckAlthough I should probably split the event names out into a different patch19:48
rcarrillocruzi see19:49
rcarrillocruzok, let's sync up19:49
krotscheckReally, I just have 800 lines of tests in there for the subscription handler that I really want to land :/19:49
rcarrillocruzi'll let you know when i have the change ready19:49
krotscheckrcarrillocruz: Awesome, thanks :)19:49
*** petefoth1ringham has joined #storyboard19:51
*** tteggel_ has joined #storyboard19:52
*** perister1 has joined #storyboard19:54
*** petefotheringham has quit IRC19:56
*** tteggel has quit IRC19:56
*** peristeri has quit IRC19:56
*** openstackgerrit has quit IRC20:04
*** alexismonville has joined #storyboard20:04
*** openstackgerrit has joined #storyboard20:05
*** alexismonville has quit IRC20:16
*** alexismonville has joined #storyboard20:33
*** alexismonville has quit IRC20:33
*** petefoth1ringham has left #storyboard20:44
*** mrmartin has joined #storyboard21:01
*** MaxV has joined #storyboard21:41
*** mrmartin has quit IRC21:51
*** Piet has quit IRC21:59
*** MaxV has quit IRC22:00
*** Piet has joined #storyboard22:14
*** mattfarina has quit IRC22:32
*** perister1 has quit IRC22:34
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Templating Engine  https://review.openstack.org/14773422:42
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added email sender and configuration.  https://review.openstack.org/14979222:42
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Utility Methods  https://review.openstack.org/15108722:42
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Email Outbox  https://review.openstack.org/15141322:42
*** openstackgerrit has quit IRC22:51
*** openstackgerrit has joined #storyboard22:52
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: [WIP] Send Email Worker  https://review.openstack.org/15141622:54

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