Wednesday, 2014-03-19

*** wchrisj has quit IRC00:08
*** mfer has joined #openstack-sdks00:16
*** mfer has quit IRC00:16
*** wchrisj has joined #openstack-sdks00:52
*** samchoi has quit IRC01:07
*** wchrisj has quit IRC01:25
*** wchrisj has joined #openstack-sdks02:00
*** wchrisj has quit IRC02:04
*** rgbkrk has joined #openstack-sdks03:07
*** VeggieMeat has joined #openstack-sdks03:39
*** rgbkrk has quit IRC04:30
*** wchrisj has joined #openstack-sdks05:00
*** wchrisj has quit IRC05:37
*** jamieh has joined #openstack-sdks10:05
*** jamieh is now known as Guest7278610:05
*** krames has joined #openstack-sdks12:42
*** krames has quit IRC12:50
*** krames has joined #openstack-sdks12:51
*** mfer has joined #openstack-sdks13:22
*** bknudson has joined #openstack-sdks13:32
*** Guest72786 is now known as jamie_h13:44
*** wchrisj has joined #openstack-sdks13:54
*** mhagedorn has joined #openstack-sdks14:12
shaunak@mfer @samchoi @jamie_h php sdk meeting starting in 5 min at https://plus.google.com/hangouts/_/calendar/ZGtucGdkY2tlb3BzZGNycWZyMXNxMnRtMXNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ.hm0g5j4n6jmk95jf8pc1g9sn7o15:25
*** sharwell__ has quit IRC15:26
*** jamie_h has quit IRC16:11
*** jamieh has joined #openstack-sdks16:13
*** jamieh is now known as jamie_h16:14
jamie_hshaunak mfer samchoi - sorry, my mac had a meltdown16:14
*** jdag___ is now known as jdag17:02
*** samchoi has joined #openstack-sdks17:06
*** jamielennox is now known as jamielennox|away17:07
wchrisjkrames: yo17:48
krameshey Chris17:49
wchrisjhey,got a sec?17:49
kramessure17:49
wchrisjquestion about the underlying model implementation in fog-core; I might have stumbled onto a bug17:49
kramesokay17:50
wchrisjin user.rb, we use this to update a user:17:50
wchrisjservice.update_user(self.id, attributes)17:50
wchrisjhowever, with the attr_accessor in play:17:51
wchrisjattr_accessor :name, :tenant_id, :password, :email, :enabled17:51
wchrisjif you call "attributes", it always returns just the id paam17:51
wchrisjnothing else17:51
kramesyeah17:51
wchrisjif I comment out the attr_accessor, it returns ALL the attributes17:51
wchrisjwhat's going on? seems backwards17:52
wchrisjor am I missing something?17:52
kramesI bet the attr_accessor line is overriding the methods generated by the attribute line17:52
kramesyou should only use attr_accessor for transient data17:52
krameseverything that might be coming from the service should use attribute17:53
wchrisjinteresting...17:53
wchrisjanything we can do to prevent this from hanging up someone else?17:53
wchrisjI just wasted 1+ hours debugging this17:54
wchrisjvery innocuous17:54
kramesaside from trying to overload attr_accessor17:54
wchrisjsubtle17:54
kramesto check to see if those methods have been declared already17:54
wchrisjahh - in the underlying model itself?17:54
kramesnot crazy about that though17:55
kramesbecause it could cause problems for code outside of fog17:55
kramesdo you think better docs would have helped?17:55
wchrisjmaybe a generator for a model?17:56
wchrisjwith gotchas like this documented INSIDE the output17:56
wchrisj?17:57
kramesI was thinking about that too18:04
kramesI think generators were one of the topics for the summit18:05
*** krames_ has joined #openstack-sdks18:20
*** krames has quit IRC18:23
wchrisjkrames: I just finished all of my spec updates - would you mind merging that PR?18:34
wchrisjelight: OK by you?18:35
elightwchrisj: The PR we just reviewed? Lemme double check real fast.18:35
wchrisjcoolio18:35
wchrisjelight: you DID mention moving this repo to fog account, right?18:37
elightwchrisj: Indeed, to the fog org18:37
wchrisjyep18:37
krames_https://github.com/fog/fog/issues/276918:37
wchrisjexactly18:38
wchrisjnow is prob a good time to do that before we open this new PR18:38
elightwchrisj: Good to go18:41
*** jamie_h has quit IRC18:49
wchrisjthanks elight:18:56
*** jamieh has joined #openstack-sdks18:56
*** jamieh is now known as Guest71918:57
*** Guest719 has quit IRC18:58
*** mhagedorn has left #openstack-sdks20:00
*** rgbkrk has joined #openstack-sdks20:05
*** krames_ has quit IRC20:09
mfershaunak are you using this handle instead now?20:22
terrylhoweaka ycombinator20:33
*** kc5tja has left #openstack-sdks20:38
*** jamielennox|away is now known as jamielennox20:51
*** mfer has quit IRC21:30
*** sharwell__ has joined #openstack-sdks21:38
*** dhellmann is now known as dhellmann_21:48
*** edleafe has left #openstack-sdks21:49
*** edleafe has joined #openstack-sdks21:49
*** bknudson has quit IRC22:24
wchrisjelight: krames: https://wiki.openstack.org/wiki/VersionDiscovery22:33
*** bknudson has joined #openstack-sdks23:37

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