IRC log of #zope3-dev for Saturday, 2007-02-03

*** ktwilight has quit IRC00:04
*** ktwilight has joined #zope3-dev00:05
*** timte has quit IRC00:09
*** pelle_ has quit IRC00:17
*** reco has quit IRC00:18
*** pelle_ has joined #zope3-dev00:19
*** ofer has joined #zope3-dev00:28
*** turian has joined #zope3-dev00:31
turianSpringer's website still lists edition 2 of Philipp's book as shipping in 3-4 weeks :(00:32
*** benji has quit IRC00:35
turianphiliKON: FYI00:37
*** turian has quit IRC00:37
*** niemeyer has quit IRC01:12
*** J1m has quit IRC01:21
*** natea has joined #zope3-dev01:39
*** ofer has quit IRC01:49
*** alga has quit IRC01:53
*** pelle_ has quit IRC02:00
*** jamesh has quit IRC02:22
*** natea has quit IRC02:33
*** whit has quit IRC02:42
*** natea has joined #zope3-dev02:44
*** whit has joined #zope3-dev02:44
*** whit has quit IRC02:54
*** natea has quit IRC03:07
*** tarek has joined #zope3-dev03:13
*** tarek has quit IRC03:36
*** dobee has quit IRC04:02
*** rocky|away is now known as rocky|Zzz04:19
*** stub has joined #zope3-dev04:54
*** alga has joined #zope3-dev05:08
*** alecm has quit IRC05:35
*** baijum has joined #zope3-dev06:08
*** philiKON_ has joined #zope3-dev06:38
*** philiKON has quit IRC06:54
*** deo has quit IRC07:10
*** dunny has joined #zope3-dev07:23
*** dunny has quit IRC07:29
*** alga has quit IRC07:30
* baijum adding test layers to* packages now, any one likes to join ?07:48
*** stub has quit IRC08:34
*** alecm has joined #zope3-dev09:04
*** naro has joined #zope3-dev09:34
*** tarek has joined #zope3-dev09:51
*** alecm has quit IRC09:53
*** d2m has joined #zope3-dev09:54
*** tarek has quit IRC10:09
*** jodok has quit IRC10:21
*** tarek has joined #zope3-dev10:52
*** zagy has quit IRC11:36
*** d2m_ has joined #zope3-dev12:03
*** tarek has quit IRC12:11
*** baijum has quit IRC12:17
*** d2m has quit IRC12:17
*** d2m___ has joined #zope3-dev12:30
*** d2m___ is now known as d2m12:30
*** oferw has joined #zope3-dev12:35
*** pelle_ has joined #zope3-dev12:38
*** pelle_ has quit IRC12:39
*** d2m_ has quit IRC12:42
*** natea has joined #zope3-dev12:47
*** oferw_ has joined #zope3-dev12:51
*** oferw has quit IRC13:09
*** reco has joined #zope3-dev13:23
*** oferw_ has quit IRC13:50
*** reco has quit IRC13:56
*** reco has joined #zope3-dev13:57
*** ignas has joined #zope3-dev13:57
*** d2m has quit IRC14:01
*** reco_ has joined #zope3-dev14:20
*** reco has quit IRC14:21
*** norro has joined #zope3-dev14:22
*** reco has joined #zope3-dev14:24
*** reco_ has quit IRC14:24
*** natea is now known as natea|lastofthes14:27
*** natea|lastofthes is now known as natea|snowsprint14:27
*** jhauser has joined #zope3-dev14:31
*** reco_ has joined #zope3-dev14:54
*** reco has quit IRC15:00
*** reco_ has quit IRC15:00
*** reco has joined #zope3-dev15:04
*** reco_ has joined #zope3-dev15:09
*** reco has quit IRC15:10
*** reco_ has quit IRC15:15
*** reco has joined #zope3-dev15:16
*** zagy has joined #zope3-dev15:30
*** rocky|Zzz has quit IRC15:30
*** natea|snowsprint has quit IRC15:51
*** philiKON_ is now known as philiKON15:55
*** b_52Free has quit IRC15:56
*** b_52Free has joined #zope3-dev15:57
*** opetznick has joined #zope3-dev16:01
*** alecm has joined #zope3-dev16:25
*** opetznick has quit IRC16:25
*** BigML has joined #zope3-dev16:45
*** alga has joined #zope3-dev16:51
*** pelle_ has joined #zope3-dev16:51
*** pelle__ has joined #zope3-dev16:53
*** pelle__ has quit IRC16:53
*** tarek has joined #zope3-dev17:11
*** J1m has joined #zope3-dev17:25
*** SteveA has quit IRC17:33
*** philiKON has quit IRC17:42
*** philiKON_ has joined #zope3-dev17:43
*** ofer has joined #zope3-dev17:44
J1mphiliKON_, ayt?17:44
J1mdo you have any idea how the logging sections in zConfig work?17:44
J1mdo you know if they are documented anywhere?17:45
*** philiKON_ is now known as philiKON17:46
philiKONJ1m: hmmm17:46
J1mI have a vague memory that for Zope 2, the event log didn't effect thr root logger.17:46
J1mactually more than a vague memory17:46
*** b_52Free has quit IRC17:47
philiKONit uses stuff from ZConfig.components.logger17:47
J1mYeah. ZConfig baffles me.17:47
philiKONi typically look at the xml schemas17:48
*** tarek has quit IRC17:50
J1mIt must do something with the root logger though.17:50
J1mBecause we log to thr root logger.17:50
philiKONroot logger?17:50
J1mlogging.getLogger() returns the root logger.17:51
J1mThe Python logging system has a hieratchy of loggers.17:51
philiKONah, ok17:51
philiKONsee, i know little about this :/17:51
*** tarek has joined #zope3-dev17:53
J1mSo you don't document zope.conf in your book?17:55
*** reco has quit IRC17:55
philiKONJ1m: not very well17:55
philiKONnot as much as i'd like to17:55
J1mAFAICT, ZConfig is a gigantic obfuscator.17:55
philiKONi'm not a big deployment guy, so i avoided that whole topic in the first ed.17:55
philiKONsecond ed. mentions  more, but not enough17:56
J1mThat isn't really ZConfig's fault.17:56
J1mBut we bother to create this facility and then don't tell people how to use it.17:56
J1m*developers* care about logging too!17:56
philiKONyeah yeah17:56
philiKONall i have are cheap excuses, i know17:57
J1mMy vent is not aimed at you.17:57
J1mAs a project, we need to figure out what we're going to do well and only do that.17:58
J1mBut ZConfig is a special sore spot for me because it causes me ongoing pain.17:58
J1mIt is soo frigging hard to change or to even figure out what is going on.17:58
J1mI can only get things done with it at all because Fred is a coworker.17:59
philiKONi need to leave17:59
J1mI just spent 30 minutes staring at the schemas and handlers and still don't know what's going on.17:59
J1mThat's OK, I don't need you to vent. :)18:00
*** b_52Free has joined #zope3-dev18:04
*** philiKON has quit IRC18:04
*** WebMaven has quit IRC18:04
*** CSWookie has quit IRC18:04
*** nouri has quit IRC18:04
*** WebMaven has joined #zope3-dev18:08
*** CSWookie has joined #zope3-dev18:10
*** philiKON_ has joined #zope3-dev18:11
*** noZoper has joined #zope3-dev18:14
*** rocky has joined #zope3-dev18:16
*** nouri has joined #zope3-dev18:18
*** tarek has quit IRC18:25
*** pelle_ has quit IRC18:37
noZopercan a zope instance be reset? - component registrations removed18:43
*** alga has quit IRC18:50
philiKON_noZoper: yes, we use that for tests a lot. note that reloading modules at runtime isn't supported...18:51
noZoperis there a tool that resets the instance?18:54
*** ignas has quit IRC19:06
*** ignas has joined #zope3-dev19:07
*** naro has quit IRC19:08
philiKON_noZoper: define reset19:12
philiKON_you can restart the instance easil19:12
philiKON_bin/zopectl restart19:13
noZoperwhere should reset be defined?19:13
philiKON_what do you want to do?19:14
noZoperreset the zope instance to as it was when Zope was first installed19:14
philiKON_i see19:14
philiKON_just delete it and make a new one19:15
philiKON_(that will throw away the database, though)19:15
noZoperyeah, but as all the changes have been made in ZODB I thought there might be a command to reset it19:15
philiKON_well, if you only made changes to the zodb, then you can simply delete var/Data.fs19:17
philiKON_this will throw out the database19:17
philiKON_when you start zope the next time, it'll create a blank one19:17
noZoperI'll try that, thanks19:18
*** dlk has joined #zope3-dev19:42
*** tarek has joined #zope3-dev19:45
*** ofer has quit IRC19:52
*** natea has joined #zope3-dev19:52
*** natea is now known as natea|zurich19:55
*** yota is now known as yotaMld20:08
*** mkerrin has joined #zope3-dev20:08
*** SteveA has joined #zope3-dev20:10
*** reco has joined #zope3-dev20:25
*** natea|zurich has quit IRC20:26
*** b_52Free has quit IRC20:30
*** alecm has quit IRC20:30
*** b_52Free has joined #zope3-dev20:31
*** mgedmin has joined #zope3-dev20:31
*** alecm has joined #zope3-dev20:39
*** alecm has quit IRC20:40
*** J1m has quit IRC20:55
*** mgedmin has quit IRC20:57
*** naro has joined #zope3-dev21:21
*** tarek has quit IRC21:57
*** mkerrin has quit IRC22:03
*** reco has quit IRC22:05
*** alecm has joined #zope3-dev22:06
*** reco has joined #zope3-dev22:08
noZoperwhat is the purpose of site components within an app?22:19
*** tarek has joined #zope3-dev22:21
*** opetznick has joined #zope3-dev22:21
*** Aiste has joined #zope3-dev22:24
*** dunny has joined #zope3-dev22:37
*** naro has quit IRC22:38
*** reco has quit IRC22:39
*** mgedmin has joined #zope3-dev22:43
*** Aiste has quit IRC22:46
*** b_52Free has quit IRC22:47
*** b_52Free has joined #zope3-dev22:47
*** mgedmin has quit IRC22:55
*** timte has joined #zope3-dev23:01
noZoperis the framework described in used when granting permissions in ZMI?23:11
philiKON_in a wa23:12
noZoperdepends on how the security policy is implemented i guess?23:13
noZoperand checkers etc.23:13
philiKON_the zmi stufff manipulates properties that are read by zope3's default security policy23:13
philiKON_there's typically only one hecker implementation used23:13
philiKON_the name based checker23:13
noZoperis this documented somewhere?23:15
philiKON_what do you mean?23:17
philiKON_there's my book that devotes a whole chapter to zope's security mechanism, and another one to the authentication mechanism23:18
noZoperI'm still not clear on your description of how zmi manipulates properties so wanted some literature to read23:19
noZoperNice site, by the way23:20
philiKON_the "Grant" views in the zmi mainuplate annotation data of objects23:21
philiKON_to store permission information in23:21
philiKON_the security policy knows how to inspect that annotation data23:21
philiKON_this is abstracted through adapters23:21
philiKON_see IPrincipalPermissionMap, IPRincipalRoleMap, etc.
philiKON_you adapt an object to one of those interfaces23:22
philiKON_the object you obtain from that adapter repsents a persistent storage of those permission settings local to the object you adapted23:22
philiKON_the securitypolciy uses that same adapter to find out about the permission settings again23:23
philiKON_my book has an example of how to use this adapter to locally grant a role to a principal23:23
philiKON_so much for the big picture. there aren't any walk through docs that explain all the bits and pieces, as far as i know23:24
noZoperok, well I'll see where I get with that23:25
philiKON_good luck23:25
*** timte has quit IRC23:27
*** tarek has quit IRC23:54

Generated by 2.15.1 by Marius Gedminas - find it at!