*** mgedmin has quit IRC | 00:04 | |
*** d2m has left #zope3-dev | 00:09 | |
*** MJ has joined #zope3-dev | 00:15 | |
*** alecm has quit IRC | 00:17 | |
*** regebro has left #zope3-dev | 00:22 | |
*** alecm has joined #zope3-dev | 00:23 | |
*** hazmat has quit IRC | 00:28 | |
*** hazmat has joined #zope3-dev | 00:37 | |
*** ChanServ sets mode: +o hazmat | 00:37 | |
*** timte has quit IRC | 00:41 | |
*** hazmat has quit IRC | 00:50 | |
*** tarek has quit IRC | 00:50 | |
*** hazmat has joined #zope3-dev | 00:54 | |
*** ChanServ sets mode: +o hazmat | 00:54 | |
*** yota has quit IRC | 01:03 | |
*** hazmat has quit IRC | 01:15 | |
*** hazmat has joined #zope3-dev | 01:29 | |
*** ChanServ sets mode: +o hazmat | 01:29 | |
*** jkakar has quit IRC | 01:42 | |
*** niemeyer has quit IRC | 01:42 | |
*** MJ has quit IRC | 01:51 | |
*** MJ has joined #zope3-dev | 01:51 | |
*** J1m has quit IRC | 01:52 | |
*** radix has quit IRC | 02:21 | |
*** whit_ has joined #zope3-dev | 02:25 | |
*** whit has quit IRC | 02:30 | |
*** whit has joined #zope3-dev | 02:32 | |
*** whit_ has quit IRC | 02:37 | |
*** ofer has quit IRC | 02:43 | |
*** whit has quit IRC | 02:44 | |
*** benji has quit IRC | 02:56 | |
*** reco has quit IRC | 02:59 | |
*** alga has quit IRC | 03:13 | |
*** MJ has quit IRC | 03:18 | |
*** jinty has quit IRC | 03:30 | |
*** tiredbones_ has quit IRC | 04:15 | |
*** ksmith99 has quit IRC | 05:21 | |
*** Aiste has quit IRC | 05:26 | |
*** Theuni_ has joined #zope3-dev | 06:33 | |
*** alga has joined #zope3-dev | 06:38 | |
*** Theuni has quit IRC | 06:40 | |
*** romanofski has quit IRC | 06:43 | |
*** flox has quit IRC | 06:45 | |
*** flox has joined #zope3-dev | 06:46 | |
*** alga has quit IRC | 07:33 | |
*** mexiKON has joined #zope3-dev | 07:35 | |
*** philiKON has quit IRC | 07:52 | |
*** d2m has joined #zope3-dev | 08:02 | |
*** d2m has quit IRC | 08:03 | |
*** d2m has joined #zope3-dev | 08:03 | |
*** stub has joined #zope3-dev | 08:11 | |
*** Aiste has joined #zope3-dev | 08:23 | |
*** timte has joined #zope3-dev | 08:24 | |
*** flox has quit IRC | 08:35 | |
*** flox has joined #zope3-dev | 08:36 | |
*** jukart has joined #zope3-dev | 08:37 | |
*** __mac__ has quit IRC | 08:45 | |
*** flox has quit IRC | 08:47 | |
*** flox has joined #zope3-dev | 08:48 | |
*** dobee has joined #zope3-dev | 08:48 | |
*** dobee_ has joined #zope3-dev | 08:50 | |
*** Aiste has quit IRC | 08:53 | |
*** zagy has joined #zope3-dev | 09:05 | |
*** dobee has quit IRC | 09:06 | |
*** ext has joined #zope3-dev | 09:06 | |
*** dobee has joined #zope3-dev | 09:07 | |
*** dobee has quit IRC | 09:13 | |
*** dobee has joined #zope3-dev | 09:14 | |
*** yangsup has joined #zope3-dev | 09:16 | |
*** dobee_ has quit IRC | 09:24 | |
*** flox has quit IRC | 09:29 | |
*** __mac__ has joined #zope3-dev | 09:36 | |
*** batlogg has joined #zope3-dev | 09:42 | |
*** romanofski has joined #zope3-dev | 09:43 | |
*** dlk has joined #zope3-dev | 09:44 | |
*** BjornT has quit IRC | 10:00 | |
*** BjornT has joined #zope3-dev | 10:01 | |
*** alecm has quit IRC | 10:14 | |
*** runyaga_ has joined #zope3-dev | 10:16 | |
*** yota has joined #zope3-dev | 10:20 | |
*** mexiKON has quit IRC | 10:24 | |
*** flox has joined #zope3-dev | 10:28 | |
*** runyaga has quit IRC | 10:29 | |
*** batlogg has quit IRC | 10:36 | |
*** yangsup has quit IRC | 10:38 | |
*** wrobel has joined #zope3-dev | 10:38 | |
*** kobold has joined #zope3-dev | 10:41 | |
*** Aiste has joined #zope3-dev | 10:44 | |
*** Aiste has quit IRC | 11:19 | |
*** batlogg has joined #zope3-dev | 11:25 | |
*** jinty has joined #zope3-dev | 11:33 | |
*** ignas has joined #zope3-dev | 11:37 | |
*** batlogg has quit IRC | 11:59 | |
*** ignas has quit IRC | 12:12 | |
*** Londo_ has quit IRC | 12:20 | |
*** ignas has joined #zope3-dev | 12:29 | |
*** Londo_ has joined #zope3-dev | 12:29 | |
*** dunny has quit IRC | 12:33 | |
*** tarek has joined #zope3-dev | 12:52 | |
*** philiKON has joined #zope3-dev | 13:01 | |
*** hazmat has quit IRC | 13:12 | |
*** batlogg has joined #zope3-dev | 13:12 | |
*** tiredbones has joined #zope3-dev | 13:22 | |
*** mkerrin has joined #zope3-dev | 13:27 | |
*** jinty has quit IRC | 13:31 | |
*** jinty has joined #zope3-dev | 13:48 | |
*** rocky|away is now known as rocky | 14:15 | |
*** batlogg has quit IRC | 14:26 | |
*** dobee has quit IRC | 14:26 | |
*** dobee has joined #zope3-dev | 14:37 | |
*** MJ has joined #zope3-dev | 14:52 | |
*** batlogg has joined #zope3-dev | 14:59 | |
*** MJ has quit IRC | 15:06 | |
*** benji has joined #zope3-dev | 15:15 | |
*** vlado has joined #zope3-dev | 15:16 | |
*** batlogg has quit IRC | 15:25 | |
*** jkakar has joined #zope3-dev | 15:26 | |
*** niemeyer has joined #zope3-dev | 15:26 | |
*** MJ has joined #zope3-dev | 15:31 | |
*** MJ has quit IRC | 15:36 | |
*** batlogg has joined #zope3-dev | 15:48 | |
*** tonico is now known as tonico|away | 16:05 | |
*** batlogg has quit IRC | 16:10 | |
*** ext has quit IRC | 16:32 | |
*** MJ has joined #zope3-dev | 16:33 | |
*** batlogg has joined #zope3-dev | 16:37 | |
*** MrTopf has joined #zope3-dev | 16:40 | |
MrTopf | Hi | 16:40 |
---|---|---|
*** projekt01 has joined #zope3-dev | 16:46 | |
*** whit has joined #zope3-dev | 16:53 | |
*** MJ has quit IRC | 16:53 | |
*** tiredbones has quit IRC | 17:03 | |
*** gumpa has joined #zope3-dev | 17:06 | |
*** romanofski has quit IRC | 17:07 | |
*** romanofski has joined #zope3-dev | 17:08 | |
*** MJ has joined #zope3-dev | 17:08 | |
*** dlk has left #zope3-dev | 17:16 | |
*** dlk has joined #zope3-dev | 17:23 | |
*** znapper has joined #zope3-dev | 17:24 | |
*** znapper has left #zope3-dev | 17:25 | |
*** alecm has joined #zope3-dev | 17:33 | |
*** tonico|away is now known as tonico | 17:33 | |
*** MJ has quit IRC | 17:34 | |
*** gumpa is now known as gumpa_afk | 17:35 | |
*** hazmat has joined #zope3-dev | 17:35 | |
*** ChanServ sets mode: +o hazmat | 17:35 | |
*** MJ has joined #zope3-dev | 17:36 | |
*** gumpa_afk has quit IRC | 17:39 | |
*** dlk has quit IRC | 17:39 | |
*** MJ has quit IRC | 18:00 | |
*** tarek has quit IRC | 18:01 | |
*** MJ has joined #zope3-dev | 18:04 | |
*** MJ has quit IRC | 18:06 | |
*** HakTom has joined #zope3-dev | 18:07 | |
*** projekt01 has quit IRC | 18:14 | |
*** batlogg has quit IRC | 18:17 | |
*** dobee has quit IRC | 18:18 | |
*** dobee has joined #zope3-dev | 18:27 | |
*** stub has quit IRC | 18:28 | |
*** flox has quit IRC | 18:35 | |
*** MrTopf has quit IRC | 18:38 | |
*** natea has quit IRC | 18:54 | |
*** alga has joined #zope3-dev | 18:54 | |
*** natea has joined #zope3-dev | 18:55 | |
*** hazmat is now known as haz-away | 19:04 | |
*** HakTom has quit IRC | 19:05 | |
*** gumpa has joined #zope3-dev | 19:06 | |
*** nouri has quit IRC | 19:11 | |
*** HakTom has joined #zope3-dev | 19:20 | |
*** tarek has joined #zope3-dev | 19:21 | |
*** vlado has quit IRC | 19:23 | |
*** haz-away has quit IRC | 19:25 | |
*** strichter has joined #zope3-dev | 19:27 | |
*** srichter has quit IRC | 19:33 | |
*** flox has joined #zope3-dev | 19:35 | |
*** tarek has quit IRC | 19:36 | |
*** whit has quit IRC | 19:48 | |
*** natea has quit IRC | 19:54 | |
*** ofer has joined #zope3-dev | 19:55 | |
*** natea has joined #zope3-dev | 19:56 | |
*** whit has joined #zope3-dev | 20:05 | |
*** whit has quit IRC | 20:08 | |
*** RaFromBRC has joined #zope3-dev | 20:09 | |
*** whit has joined #zope3-dev | 20:10 | |
*** natea has quit IRC | 20:18 | |
*** natea has joined #zope3-dev | 20:19 | |
whit | is there any way to browse the zope repository right now? | 20:37 |
runyaga_ | i believe there is a dns problem | 20:38 |
runyaga_ | if you put a hosts file in - you should be squared away | 20:39 |
*** yota has quit IRC | 20:42 | |
*** dunny has joined #zope3-dev | 20:44 | |
*** whit has quit IRC | 20:45 | |
*** yota has joined #zope3-dev | 20:49 | |
*** kobold has left #zope3-dev | 20:50 | |
*** mkerrin has quit IRC | 20:50 | |
*** vlado has joined #zope3-dev | 20:51 | |
*** whit has joined #zope3-dev | 21: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 IRC | 21:08 | |
*** ktwilight has joined #zope3-dev | 21:08 | |
*** hazmat has joined #zope3-dev | 21:11 | |
*** ChanServ sets mode: +o hazmat | 21:11 | |
*** ktwilight has quit IRC | 21:24 | |
*** kobol1 has joined #zope3-dev | 21:25 | |
*** dobee has joined #zope3-dev | 21:30 | |
*** reco has joined #zope3-dev | 21:31 | |
*** whit has quit IRC | 21:31 | |
*** norro has joined #zope3-dev | 21:31 | |
*** ignas has quit IRC | 21:32 | |
*** whit has joined #zope3-dev | 21:33 | |
*** tonico is now known as tonico|away | 21:34 | |
*** supton has joined #zope3-dev | 21:36 | |
*** benji has quit IRC | 21:43 | |
*** ktwilight has joined #zope3-dev | 21:43 | |
*** natea_ has joined #zope3-dev | 21:50 | |
*** benji has joined #zope3-dev | 21:53 | |
*** roym has joined #zope3-dev | 21:54 | |
roym | Is it possible to mix xmlconfig.string(...) calls with | 21:56 |
roym | provideAdapter() and provideUtility() calls. I find that the | 21:56 |
roym | xmlconfig.string() needs a context as the 2nd arg - not sure what I | 21:56 |
roym | would pass in! | 21:56 |
*** natea has quit IRC | 21:57 | |
philiKON | roym, a ZCML context | 22:00 |
philiKON | ConfigurationContext to be exact | 22:00 |
philiKON | I discourage xmlconfig.* methods | 22:00 |
philiKON | they're not really a public API | 22:00 |
philiKON | their only use case probably is tests for custom ZCML directives | 22:01 |
philiKON | I suggest using provide* | 22:01 |
roym | philiKON: 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 |
philiKON | are you trying to test your configuration? | 22:02 |
philiKON | then you better write an integration test | 22:02 |
philiKON | and load the whole shebang | 22:03 |
roym | I'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 |
philiKON | do as you please | 22:04 |
philiKON | btw, then i suggest using xmlconfig.file | 22:04 |
philiKON | (i think) | 22:04 |
philiKON | anyways, IMO zcml is overkill for unit tests | 22:04 |
philiKON | makes 'em slow and adds another layer of indirection | 22:04 |
roym | agreed... howeverl, let me ask if there is a way to pass in existing registrations (made via provideAdapter) to xmlconfig.file() | 22:05 |
philiKON | and if you end up actually needing lots of configuration in your unit tests, you should probably rethink the test | 22:05 |
philiKON | doesn't sound like a unit test anymore | 22:05 |
roym | ie: is there a way to adapt the getGlobalSiteManager or some subset of it to a ConfigurationContext? | 22:07 |
philiKON | huh, no | 22:08 |
philiKON | you just create one of those configuration contexts | 22:08 |
philiKON | just read the docs/tests in zope.configuration | 22:08 |
philiKON | or some very bad examples in five tests | 22:08 |
roym | :) | 22:08 |
roym | thanks. | 22:08 |
philiKON | i still advise against it :) | 22:08 |
benji | roym: I've done something similar: | 22:09 |
benji | def 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 |
philiKON | yup, that's it | 22:10 |
roym | benji: 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 |
philiKON | no | 22:11 |
philiKON | zcml generates actions | 22:12 |
philiKON | provide* doesn't | 22:12 |
roym | thankyou - that helps me understand it. | 22:12 |
benji | roym: you can dig the context up, if that's what you mean... | 22:15 |
benji | from zope.app.appsetup.appsetup import __config_context as context | 22:16 |
benji | try: | 22:16 |
benji | xmlconfig.string(s, context, execute=execute) | 22:16 |
benji | except: | 22:16 |
benji | context.end() | 22:16 |
benji | raise | 22:16 |
roym | benji: very nice... | 22:17 |
benji | or very evil :) | 22:17 |
roym | :) | 22:17 |
roym | now, if only there was a way to convert a context to an xml file (*wishful thinking*) | 22:20 |
*** jukart has quit IRC | 22:33 | |
*** ofer has quit IRC | 22:33 | |
runyaga_ | roym, xmlpickle ;) | 22:45 |
*** gumpa has quit IRC | 22:45 | |
*** gumpa has joined #zope3-dev | 22:46 | |
roym | runyaga_: I guess xmlpickle + some xsl could theoretically recreate an xml config file. | 22:48 |
*** J1m has joined #zope3-dev | 23:09 | |
*** romanofs1i has joined #zope3-dev | 23:19 | |
runyaga_ | roym, J1m would love to hear your experience with xmlpickle if you go down that route! | 23:20 |
*** gumpa has quit IRC | 23:23 | |
*** gump1 has joined #zope3-dev | 23:23 | |
*** RaFromBRC is now known as RaFromBRC|mtg | 23:36 | |
*** stub has joined #zope3-dev | 23:39 | |
*** kobol1 has quit IRC | 23:47 | |
*** ignas has joined #zope3-dev | 23:49 | |
*** J1m has quit IRC | 23:51 | |
*** stub has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!