IRC log of #zope3-dev for Thursday, 2006-10-12

*** mgedmin has quit IRC00:04
*** d2m has left #zope3-dev00:09
*** MJ has joined #zope3-dev00:15
*** alecm has quit IRC00:17
*** regebro has left #zope3-dev00:22
*** alecm has joined #zope3-dev00:23
*** hazmat has quit IRC00:28
*** hazmat has joined #zope3-dev00:37
*** ChanServ sets mode: +o hazmat00:37
*** timte has quit IRC00:41
*** hazmat has quit IRC00:50
*** tarek has quit IRC00:50
*** hazmat has joined #zope3-dev00:54
*** ChanServ sets mode: +o hazmat00:54
*** yota has quit IRC01:03
*** hazmat has quit IRC01:15
*** hazmat has joined #zope3-dev01:29
*** ChanServ sets mode: +o hazmat01:29
*** jkakar has quit IRC01:42
*** niemeyer has quit IRC01:42
*** MJ has quit IRC01:51
*** MJ has joined #zope3-dev01:51
*** J1m has quit IRC01:52
*** radix has quit IRC02:21
*** whit_ has joined #zope3-dev02:25
*** whit has quit IRC02:30
*** whit has joined #zope3-dev02:32
*** whit_ has quit IRC02:37
*** ofer has quit IRC02:43
*** whit has quit IRC02:44
*** benji has quit IRC02:56
*** reco has quit IRC02:59
*** alga has quit IRC03:13
*** MJ has quit IRC03:18
*** jinty has quit IRC03:30
*** tiredbones_ has quit IRC04:15
*** ksmith99 has quit IRC05:21
*** Aiste has quit IRC05:26
*** Theuni_ has joined #zope3-dev06:33
*** alga has joined #zope3-dev06:38
*** Theuni has quit IRC06:40
*** romanofski has quit IRC06:43
*** flox has quit IRC06:45
*** flox has joined #zope3-dev06:46
*** alga has quit IRC07:33
*** mexiKON has joined #zope3-dev07:35
*** philiKON has quit IRC07:52
*** d2m has joined #zope3-dev08:02
*** d2m has quit IRC08:03
*** d2m has joined #zope3-dev08:03
*** stub has joined #zope3-dev08:11
*** Aiste has joined #zope3-dev08:23
*** timte has joined #zope3-dev08:24
*** flox has quit IRC08:35
*** flox has joined #zope3-dev08:36
*** jukart has joined #zope3-dev08:37
*** __mac__ has quit IRC08:45
*** flox has quit IRC08:47
*** flox has joined #zope3-dev08:48
*** dobee has joined #zope3-dev08:48
*** dobee_ has joined #zope3-dev08:50
*** Aiste has quit IRC08:53
*** zagy has joined #zope3-dev09:05
*** dobee has quit IRC09:06
*** ext has joined #zope3-dev09:06
*** dobee has joined #zope3-dev09:07
*** dobee has quit IRC09:13
*** dobee has joined #zope3-dev09:14
*** yangsup has joined #zope3-dev09:16
*** dobee_ has quit IRC09:24
*** flox has quit IRC09:29
*** __mac__ has joined #zope3-dev09:36
*** batlogg has joined #zope3-dev09:42
*** romanofski has joined #zope3-dev09:43
*** dlk has joined #zope3-dev09:44
*** BjornT has quit IRC10:00
*** BjornT has joined #zope3-dev10:01
*** alecm has quit IRC10:14
*** runyaga_ has joined #zope3-dev10:16
*** yota has joined #zope3-dev10:20
*** mexiKON has quit IRC10:24
*** flox has joined #zope3-dev10:28
*** runyaga has quit IRC10:29
*** batlogg has quit IRC10:36
*** yangsup has quit IRC10:38
*** wrobel has joined #zope3-dev10:38
*** kobold has joined #zope3-dev10:41
*** Aiste has joined #zope3-dev10:44
*** Aiste has quit IRC11:19
*** batlogg has joined #zope3-dev11:25
*** jinty has joined #zope3-dev11:33
*** ignas has joined #zope3-dev11:37
*** batlogg has quit IRC11:59
*** ignas has quit IRC12:12
*** Londo_ has quit IRC12:20
*** ignas has joined #zope3-dev12:29
*** Londo_ has joined #zope3-dev12:29
*** dunny has quit IRC12:33
*** tarek has joined #zope3-dev12:52
*** philiKON has joined #zope3-dev13:01
*** hazmat has quit IRC13:12
*** batlogg has joined #zope3-dev13:12
*** tiredbones has joined #zope3-dev13:22
*** mkerrin has joined #zope3-dev13:27
*** jinty has quit IRC13:31
*** jinty has joined #zope3-dev13:48
*** rocky|away is now known as rocky14:15
*** batlogg has quit IRC14:26
*** dobee has quit IRC14:26
*** dobee has joined #zope3-dev14:37
*** MJ has joined #zope3-dev14:52
*** batlogg has joined #zope3-dev14:59
*** MJ has quit IRC15:06
*** benji has joined #zope3-dev15:15
*** vlado has joined #zope3-dev15:16
*** batlogg has quit IRC15:25
*** jkakar has joined #zope3-dev15:26
*** niemeyer has joined #zope3-dev15:26
*** MJ has joined #zope3-dev15:31
*** MJ has quit IRC15:36
*** batlogg has joined #zope3-dev15:48
*** tonico is now known as tonico|away16:05
*** batlogg has quit IRC16:10
*** ext has quit IRC16:32
*** MJ has joined #zope3-dev16:33
*** batlogg has joined #zope3-dev16:37
*** MrTopf has joined #zope3-dev16:40
MrTopfHi16:40
*** projekt01 has joined #zope3-dev16:46
*** whit has joined #zope3-dev16:53
*** MJ has quit IRC16:53
*** tiredbones has quit IRC17:03
*** gumpa has joined #zope3-dev17:06
*** romanofski has quit IRC17:07
*** romanofski has joined #zope3-dev17:08
*** MJ has joined #zope3-dev17:08
*** dlk has left #zope3-dev17:16
*** dlk has joined #zope3-dev17:23
*** znapper has joined #zope3-dev17:24
*** znapper has left #zope3-dev17:25
*** alecm has joined #zope3-dev17:33
*** tonico|away is now known as tonico17:33
*** MJ has quit IRC17:34
*** gumpa is now known as gumpa_afk17:35
*** hazmat has joined #zope3-dev17:35
*** ChanServ sets mode: +o hazmat17:35
*** MJ has joined #zope3-dev17:36
*** gumpa_afk has quit IRC17:39
*** dlk has quit IRC17:39
*** MJ has quit IRC18:00
*** tarek has quit IRC18:01
*** MJ has joined #zope3-dev18:04
*** MJ has quit IRC18:06
*** HakTom has joined #zope3-dev18:07
*** projekt01 has quit IRC18:14
*** batlogg has quit IRC18:17
*** dobee has quit IRC18:18
*** dobee has joined #zope3-dev18:27
*** stub has quit IRC18:28
*** flox has quit IRC18:35
*** MrTopf has quit IRC18:38
*** natea has quit IRC18:54
*** alga has joined #zope3-dev18:54
*** natea has joined #zope3-dev18:55
*** hazmat is now known as haz-away19:04
*** HakTom has quit IRC19:05
*** gumpa has joined #zope3-dev19:06
*** nouri has quit IRC19:11
*** HakTom has joined #zope3-dev19:20
*** tarek has joined #zope3-dev19:21
*** vlado has quit IRC19:23
*** haz-away has quit IRC19:25
*** strichter has joined #zope3-dev19:27
*** srichter has quit IRC19:33
*** flox has joined #zope3-dev19:35
*** tarek has quit IRC19:36
*** whit has quit IRC19:48
*** natea has quit IRC19:54
*** ofer has joined #zope3-dev19:55
*** natea has joined #zope3-dev19:56
*** whit has joined #zope3-dev20:05
*** whit has quit IRC20:08
*** RaFromBRC has joined #zope3-dev20:09
*** whit has joined #zope3-dev20:10
*** natea has quit IRC20:18
*** natea has joined #zope3-dev20:19
whitis there any way to browse the zope repository right now?20:37
runyaga_i believe there is a dns problem20:38
runyaga_if you put a hosts file in - you should be squared away20:39
*** yota has quit IRC20:42
*** dunny has joined #zope3-dev20:44
*** whit has quit IRC20:45
*** yota has joined #zope3-dev20:49
*** kobold has left #zope3-dev20:50
*** mkerrin has quit IRC20:50
*** vlado has joined #zope3-dev20:51
*** whit has joined #zope3-dev21:00
runyaga_hello!21:04
runyaga_got a question for zodb goers... is there a equivilenet to 'tranalyzer' in ZODBTools?21:05
*** dobee has quit IRC21:08
*** ktwilight has joined #zope3-dev21:08
*** hazmat has joined #zope3-dev21:11
*** ChanServ sets mode: +o hazmat21:11
*** ktwilight has quit IRC21:24
*** kobol1 has joined #zope3-dev21:25
*** dobee has joined #zope3-dev21:30
*** reco has joined #zope3-dev21:31
*** whit has quit IRC21:31
*** norro has joined #zope3-dev21:31
*** ignas has quit IRC21:32
*** whit has joined #zope3-dev21:33
*** tonico is now known as tonico|away21:34
*** supton has joined #zope3-dev21:36
*** benji has quit IRC21:43
*** ktwilight has joined #zope3-dev21:43
*** natea_ has joined #zope3-dev21:50
*** benji has joined #zope3-dev21:53
*** roym has joined #zope3-dev21:54
roymIs it possible to mix xmlconfig.string(...) calls with21:56
roymprovideAdapter() and provideUtility() calls. I find that the21:56
roymxmlconfig.string() needs a context as the 2nd arg - not sure what I21:56
roymwould pass in!21:56
*** natea has quit IRC21:57
philiKONroym, a ZCML context22:00
philiKONConfigurationContext to be exact22:00
philiKONI discourage xmlconfig.* methods22:00
philiKONthey're not really a public API22:00
philiKONtheir only use case probably is tests for custom ZCML directives22:01
philiKONI suggest using provide*22:01
roymphiliKON: since so much of the actual configuration is in zcml, it just seems "right" to be able to use that in the test setup as well. Or am I missing the point?22:02
philiKONare you trying to test your configuration?22:02
philiKONthen you better write an integration test22:02
philiKONand load the whole shebang22:03
roymI'm trying to use pieces of the configuration, not necessarily the whole thing... I have it broken into small files and am using includes.22:03
philiKONdo as you please22:04
philiKONbtw, then i suggest using xmlconfig.file22:04
philiKON(i think)22:04
philiKONanyways, IMO zcml is overkill for unit tests22:04
philiKONmakes 'em slow and adds another layer of indirection22:04
roymagreed... howeverl, let me ask if there is a way to pass in existing registrations (made via provideAdapter) to xmlconfig.file()22:05
philiKONand if you end up actually needing lots of configuration in your unit tests, you should probably rethink the test22:05
philiKONdoesn't sound like a unit test anymore22:05
roymie: is there a way to adapt the getGlobalSiteManager or some subset of it to a ConfigurationContext?22:07
philiKONhuh, no22:08
philiKONyou just create one of those configuration contexts22:08
philiKONjust read the docs/tests in zope.configuration22:08
philiKONor some very bad examples in five tests22:08
roym:)22:08
roymthanks.22:08
philiKONi still advise against it :)22:08
benjiroym: I've done something similar:22:09
benjidef zcml(s): context = xmlconfig.file('meta.zcml', package=zc.snippetlibrary) xmlconfig.file('meta.zcml', package=zope.app.component, context=context) xmlconfig.string(s, context)22:09
philiKONyup, that's it22:10
roymbenji: I see that's a way of chaining contexts.. I was wondering if there was a way to pass in existing registrations (make with placelesssetup.setUp and the like) to a call to xmlconfig.file().22:11
philiKONno22:11
philiKONzcml generates actions22:12
philiKONprovide* doesn't22:12
roymthankyou - that helps me understand it.22:12
benjiroym: you can dig the context up, if that's what you mean...22:15
benji    from zope.app.appsetup.appsetup import __config_context as context22:16
benji    try:22:16
benji        xmlconfig.string(s, context, execute=execute)22:16
benji    except:22:16
benji        context.end()22:16
benji        raise22:16
roymbenji: very nice...22:17
benjior very evil :)22:17
roym:)22:17
roymnow, if only there was a way to convert a context to an xml file (*wishful thinking*)22:20
*** jukart has quit IRC22:33
*** ofer has quit IRC22:33
runyaga_roym, xmlpickle ;)22:45
*** gumpa has quit IRC22:45
*** gumpa has joined #zope3-dev22:46
roymrunyaga_: I guess xmlpickle + some xsl could theoretically recreate an xml config file.22:48
*** J1m has joined #zope3-dev23:09
*** romanofs1i has joined #zope3-dev23:19
runyaga_roym, J1m would love to hear your experience with xmlpickle if you go down that route!23:20
*** gumpa has quit IRC23:23
*** gump1 has joined #zope3-dev23:23
*** RaFromBRC is now known as RaFromBRC|mtg23:36
*** stub has joined #zope3-dev23:39
*** kobol1 has quit IRC23:47
*** ignas has joined #zope3-dev23:49
*** J1m has quit IRC23:51
*** stub has quit IRC23:58

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