Friday, 2014-08-29

*** tmcpeak has quit IRC00:35
*** bdpayne has quit IRC00:44
*** voodookid has joined #openstack-security01:35
*** voodookid has quit IRC03:07
*** bdpayne has joined #openstack-security03:12
*** bdpayne has quit IRC03:41
*** voodookid has joined #openstack-security04:00
*** voodookid has quit IRC04:13
*** bdpayne has joined #openstack-security04:23
*** voodookid has joined #openstack-security04:29
*** voodookid has quit IRC04:41
*** bdpayne has quit IRC05:02
*** voodookid has joined #openstack-security05:07
*** bdpayne has joined #openstack-security05:08
openstackgerritA change was merged to openstack/security-doc: Remove wording advising against certain wsgi services  https://review.openstack.org/11759605:09
*** voodookid has quit IRC05:12
openstackgerritOpenStack Proposal Bot proposed a change to openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/11752705:22
*** jamielennox has quit IRC05:48
*** jamielennox has joined #openstack-security05:48
*** jamielennox has quit IRC05:50
*** jamielennox has joined #openstack-security05:50
*** bdpayne has quit IRC06:02
openstackgerritOpenStack Proposal Bot proposed a change to openstack/security-doc: Imported Translations from Transifex  https://review.openstack.org/11769306:05
*** bdpayne has joined #openstack-security06:09
*** bdpayne has quit IRC06:36
*** zz_naotok is now known as naotok06:46
openstackgerritA change was merged to openstack/security-doc: Imported Translations from Transifex  https://review.openstack.org/11769306:49
openstackgerritOpenStack Proposal Bot proposed a change to openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/11752707:27
*** jamielennox is now known as jamielennox|away07:46
openstackgerritA change was merged to openstack/security-doc: Updated from openstack-manuals  https://review.openstack.org/11752709:06
*** mandela900 has joined #openstack-security09:13
*** marzif_ has joined #openstack-security09:48
*** jeblair_ has joined #openstack-security09:48
*** jeblair has quit IRC09:50
*** marzif has quit IRC09:50
*** sweston_ has joined #openstack-security09:55
*** erw_ has joined #openstack-security09:58
*** naotok_ has joined #openstack-security10:03
*** naotok has quit IRC10:09
*** erw has quit IRC10:09
*** sweston has quit IRC10:09
*** sweston_ is now known as sweston10:10
*** erw_ is now known as erw10:10
*** openstackgerrit has quit IRC10:34
*** bknudson has quit IRC10:34
*** bknudson has joined #openstack-security10:40
*** openstackgerrit has joined #openstack-security10:40
*** erw_ has joined #openstack-security10:49
*** Glass_saga_ has quit IRC10:55
*** erw has quit IRC10:55
*** erw_ is now known as erw10:58
*** Glass_saga_ has joined #openstack-security11:04
*** Dafna has joined #openstack-security11:12
*** naotok_ is now known as zz_naotok_11:29
*** gmurphy has quit IRC11:30
*** gmurphy has joined #openstack-security11:33
*** dmccowan_ has joined #openstack-security12:12
*** dmccowan has quit IRC12:13
*** dmccowan_ is now known as dmccowan12:13
*** dmccowan_ has joined #openstack-security12:36
*** dmccowan has quit IRC12:37
*** dmccowan_ is now known as dmccowan12:37
*** bknudson has quit IRC13:24
*** voodookid has joined #openstack-security13:35
*** voodookid has quit IRC13:36
*** tmcpeak has joined #openstack-security13:42
*** bknudson has joined #openstack-security14:02
*** dmccowan has quit IRC14:31
*** voodookid has joined #openstack-security14:34
*** dmccowan has joined #openstack-security14:46
*** bdpayne has joined #openstack-security15:12
*** jeblair_ is now known as jeblair15:17
tmcpeaknkinder: you around?15:55
nkindertmcpeak: yeah, what's up?15:56
tmcpeakgot first wave of changes for Bandit, you got a minute to take a look?15:56
tmcpeakhttps://github.com/mcpeak/bandit/compare/chair6:master...master15:56
nkindertmcpeak: is seems strange to have to do 'context = b_context.Context(cur_context)' in every test16:00
nkindertmcpeak: can we avoid that?  The less logic needed in the test that is not related to what we're trying to test, the better16:00
tmcpeakyeah, I hear you16:01
tmcpeakcur_context is the raw context that was getting passed before16:01
tmcpeakso if you want to do any raw node manipulation you use that16:01
tmcpeakcreating an instance of Context allows you to do the nicer stuff16:01
nkindertmcpeak: so the Context instance doesn't have access to the raw node?16:02
tmcpeakotherwise I think I'd need to have cur_context be a parameter of all of these functions and that seems even messier16:02
nkinderwhy not have the raw node be a parameter of the Context object?16:02
tmcpeakoh I see, you're just saying pass in Context16:02
nkinderContext.node16:02
nkinderyes16:03
tmcpeakoh yeah16:03
tmcpeakduh16:03
tmcpeakyes, that will work :)16:03
tmcpeakbrain far16:03
tmcpeakt16:03
nkinderso pass in Context to simplify the test code, but be sure that tests can get at the raw node if they need to do something extra fancy16:03
tmcpeakcool16:03
tmcpeaksolid point16:03
nkinderaside from thta, the approach looks good16:03
tmcpeakcool, I'll make that update16:03
tmcpeakthanks for having a look!16:04
nkinderone minor point to make is that reordering the tests makes it difficult to see exactly what you changed16:04
nkindernext time, split the refactoring into a separate commit16:04
*** bdpayne has quit IRC16:04
tmcpeakdid I?16:04
nkinderso have a "reorder tests" commit that just moves existing code around, then your real context work so the diff shows the lines that were changed16:04
tmcpeakreorder I mean?16:04
tmcpeakI thought I kept the order the same16:05
nkindertmcpeak: ah, you did16:05
tmcpeakoh, I think I know what happened16:05
nkinderthe diff just makes it look like large blocks were moved (don't think they were)16:05
tmcpeaksince I changed parameter name it thinks it's a different function?16:05
*** bdpayne has joined #openstack-security16:06
*** bdpayne has quit IRC16:06
nkindertmcpeak: nah, your good.  My mistake16:06
nkindertmcpeak: the code is different, but the order is the same16:06
tmcpeakI see what you mean though, it is hard to read like that :)16:06
*** ptd has joined #openstack-security16:31
*** bdpayne has joined #openstack-security16:33
*** Dafna has quit IRC16:36
*** nkinder has quit IRC17:02
*** mandela900 has quit IRC17:24
*** ptd has quit IRC17:42
*** sweston has quit IRC18:47
*** sweston_ has joined #openstack-security18:48
*** dmccowan has quit IRC19:48
*** dmccowan has joined #openstack-security20:02
*** dmccowan has quit IRC20:07
*** dmccowan has joined #openstack-security20:08
*** paulmo has quit IRC20:55
*** dmccowan has quit IRC21:42
*** marzif__ has joined #openstack-security21:45
*** bknudson has quit IRC21:52
*** marzif_ has quit IRC21:52
*** bknudson has joined #openstack-security22:03
*** bknudson has quit IRC22:21
*** voodookid has quit IRC22:43
*** tmcpeak has quit IRC22:53
*** bdpayne has quit IRC23:41

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