IRC log of #zope3-dev for Saturday, 2006-09-16

*** natea has joined #zope3-dev00:03
*** natea has quit IRC00:04
*** oferw has quit IRC00:07
*** whit has quit IRC00:17
*** timte has quit IRC00:20
*** zbir has quit IRC00:20
*** zbir has joined #zope3-dev00:20
*** zbir has joined #zope3-dev00:21
*** whit has joined #zope3-dev00:29
*** jinty has quit IRC00:33
*** mgedmin has quit IRC00:39
*** benji has quit IRC00:40
*** alecm has joined #zope3-dev00:47
*** whit has quit IRC00:47
*** RaFromBRC has quit IRC00:48
*** yota has quit IRC00:49
*** batlogg has quit IRC00:58
*** batlogg has joined #zope3-dev01:00
*** batlogg has quit IRC01:00
*** replicant has quit IRC01:02
*** danfairs has quit IRC01:03
*** niemeyer has quit IRC01:13
*** replicant has joined #zope3-dev01:16
*** RaFromBRC has joined #zope3-dev01:31
*** replicant has quit IRC01:33
*** replicant has joined #zope3-dev01:36
*** RaFromBRC_ has joined #zope3-dev01:59
*** RaFromBRC has quit IRC02:03
*** rocky is now known as rocky|Zzz02:13
*** J1m has quit IRC02:57
*** markup_ has quit IRC03:41
*** replicant has quit IRC03:57
*** benji has joined #zope3-dev04:21
*** alecm has quit IRC04:57
*** reco has quit IRC06:26
*** dobee has joined #zope3-dev07:47
*** dobee has quit IRC08:09
*** dobee has joined #zope3-dev08:13
*** yota has joined #zope3-dev09:02
*** RaFromBRC_ has quit IRC09:09
*** dobee has quit IRC09:55
*** febb has joined #zope3-dev10:07
febbhi10:08
*** batlogg has joined #zope3-dev10:33
*** alecm has joined #zope3-dev11:03
*** alecm has quit IRC11:06
*** benji has quit IRC11:25
*** projekt01 has joined #zope3-dev11:30
*** srichter has joined #zope3-dev11:38
*** ChanServ sets mode: +o srichter11:39
*** philiKON has joined #zope3-dev11:48
romanofskimoin :)12:00
*** romanofski has quit IRC12:12
*** romanofski has joined #zope3-dev12:13
TheuniphiliKON: i think the zope.conf.in on 3.3 branch is ok. i'm checking in the one for the trunk now.12:28
*** zagy has joined #zope3-dev12:48
philiKONTheuni, no it's not entirely12:51
philiKONTheuni, you need to revert http://svn.zope.org/?rev=69553&view=rev12:52
philiKONTheuni, i wrote you a list of revisions in which you accidentally commited things12:52
*** danfairs has joined #zope3-dev13:21
*** danfairs has quit IRC13:28
*** batlogg has quit IRC13:35
*** dunny has quit IRC13:35
*** batlogg has joined #zope3-dev13:37
floxwhy ZCML configuration for  'zope.component' is stored in 'zope.app.event' ?13:49
philiKONflox, because i hadn't moved it yet13:49
philiKONflox, needs to move13:49
philiKONzope.app.event should disappear13:50
floxok, i am doing this13:50
floxi will not remove zope.app.event13:50
philiKONok13:50
floxbut i try to move the 'configure.zcml to zope.component13:50
philiKONok13:50
philiKONzope.app.event still contains tests13:50
philiKONthat would have to be worked on before zope.app.event can be removed13:50
floxi will run tests, to be sure13:51
philiKONof course13:51
philiKONrunning tests is a *requirement*13:51
floxi have good practice, now....13:51
flox;-)13:51
philiKONwriting tests is also a requirement13:51
flox... i hav to train myself at doing that :-(13:51
philiKONyes13:52
floxphiliKON: the z/app/event/test/test_objectevent.py can be moved to the z/component/ folder?14:00
philiKONflox, well, it uses zope.app.container14:01
philiKONso, the test needs to be refactored14:01
philiKONto not use anything from zope.app14:01
philiKON(and, btw, by "removing zope.app.event", i obviously mean deprecating. most of it is deprecated already)14:02
floxi don't know if it is better to let this test file in zope.app.event, until we change the dependency on zope.app.container14:04
philiKON?14:04
floxor if i move it to zope.component14:04
philiKONyou can't move it to zope.component like that14:04
floxok, that's clear14:04
philiKONyou first need to rewrite it so that it doesn't use anything from zope.app14:04
floxok, i will look at it14:05
philiKONin fact, it can only use stuff from zope.component and zope.component's dependencies (zope.interface, etc.)14:05
philiKONthen you can move it to zope.component14:05
philiKON(and when doing that, it should probably also be convered to a doctest)14:06
floxthe "DEPENDENCIES.cfg" does not mention "zope.event'...14:06
floxAFAICT14:06
philiKONzope.event is a loose dependency14:06
philiKONyou can use zope.component w/o zope.event14:06
philiKONbut if you use zope.component.event, you need zope.event14:06
floxi see14:07
TheuniphiliKON: no, some of those changes actually weren't accidents14:25
philiKONuh huh14:25
Theunithe devmode default actually *did* change14:26
philiKONya14:26
Theunithis was discussed and documented while handling a security issue that steve alexander filed14:26
philiKONyup14:26
philiKONgotcha14:26
philiKONi see it now14:26
Theuniand i think i only accidentally checked the zeoclient in on one branch14:27
Theunii fixed that this morning14:27
philiKONsaw it14:27
philiKONthx14:27
Theuninp14:27
Theunimy fault14:27
*** stub has quit IRC14:37
*** natea has joined #zope3-dev14:47
*** philiKON has quit IRC14:56
*** reco has joined #zope3-dev15:00
*** rocky|Zzz is now known as rock115:06
*** natea has quit IRC15:06
*** rock1 is now known as rocky15:06
rockyanyone around this morning?15:14
srichterme, on and off15:15
rockyi have a bit of "what would be the best way to go about this?" scenario...15:16
rockybasically i have a schema that has a file field (a new field i created)15:16
rockyi have a formlib display view that exposed that schema field using a custom download widget15:16
rockynow, i also need to represent that field with a flash audio player and i was thinking of doing it as a widget...15:17
rockyis that a good idea? or am i going about things the wrong way? and if so... how would you display the same field twice on the same form using 2 diff widgets?15:17
srichtera widget would be the most elegant way15:20
srichterin general 2 diff widgets for the same field are not possible15:21
srichterhowever, you can always do this manually during update()15:21
rockygotcha15:23
*** philiKON has joined #zope3-dev15:23
rockysrichter: one other question, that audio player may be different based on the mime type of the file field ... so i'm considering having the widget do a named adapter lookup for IMediaPlayer or something similar where the name is the mime type... how does that sound?15:23
srichteryep, sounds ok15:24
srichterbtw, lovelysystems converts all media files into a common format, but we deal with videos not audio, though this would be a good approach for you too15:25
srichtercommon format: flv & mpg415:25
rockyright15:26
*** benji has joined #zope3-dev16:05
*** ignas has joined #zope3-dev16:13
rockysrichter: when you said i can do the widget thing during update() ... did you mean add a new widget to widgets during update() or?16:18
srichteryeah16:19
srichteryou do not have to make everything part of the form machinery16:19
rockyyeah that's what i've been learning16:19
srichteranother option we sometimes use is to create helper fields16:19
rockyi was considering to do something like that, define extra_widgets or something such16:20
srichterlike for password and password confirmation, we create a small schema for password and confirmation and create an invariant that they must match16:20
rockyoh ic16:20
*** replicant has joined #zope3-dev16:27
*** replicant has left #zope3-dev16:34
*** oferw has joined #zope3-dev17:13
*** oferw_ has joined #zope3-dev17:19
* flox like to write doctests when it rains outside...17:24
*** torkel_ has joined #zope3-dev17:32
*** oferw has quit IRC17:35
*** alecm has joined #zope3-dev17:36
*** torkel_ has quit IRC17:44
*** projekt01 has left #zope3-dev18:04

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