IRC log of #zope3-dev for Friday, 2005-08-12

srichtercool00:00
*** hazmat_ is now known as hazmat00:05
fdrakeok, the in-place build is tested; no problems00:07
fdrakechecking a distro now00:07
srichteroh, sounds good00:09
srichterI think Jim will like this00:09
srichterhe always wanted to use the distribution built system being used for the checkout as well00:10
*** alienoid has quit IRC00:10
fdrakeyes, that's certain00:12
fdrakehe also wants it to be more automagical00:12
srichter:-)00:12
fdrakehe'd like a single setup.py that can be dropped into any checkout and do the right thing00:13
fdrakeor at least be even smaller than the one we'll be using00:13
srichtermmh, but that's assuming zpkgsetup and all cfg file are available right?00:14
fdrakeyes00:14
fdrakeand that it knows where to find them  :-)00:14
srichterright00:14
fdrakethe minimum would be to tell it where they are00:15
srichterright00:15
* _projekt01 argh, I don't like this adding view, addMeuItem and addform part00:21
*** _projekt01 is now known as projekt0100:21
*** RaFromBRC|away is now known as RaFromBRC00:22
fdrakewe have too many tests, and too many times to run them...  :-(00:22
srichter:-)00:23
srichtera good problem to have00:23
projekt01better then mine00:24
fdrakebetter start writing tests then!00:30
srichterLOL00:32
MJDamn00:33
MJHow can I best unittest something that depends on being registered?00:33
srichterregister that thing00:33
MJIn a doctest?00:33
MJHow00:33
MJ?00:34
MJSorry, not yet too familiar with the testing framework for that..00:34
* MJ has been trolling for examples already00:34
srichterzope.app.testing.setup and zope.app.testing.ztapi00:35
srichteryou can also use zope.component.provide*00:35
MJAll I need is an instance adaptable to IRegistered00:35
MJHmmm00:35
srichterso register the adapter00:36
srichterzope.component.provideAdapter(AdapterClass, IFoo, IRegistered)00:37
MJAhhh00:37
MJDummy IRegistered adapter00:37
* MJ slaps his head.00:37
MJThanks Stephan,00:38
MJsorry for being dim00:38
MJ(and just when I found addUtility in setup.py as wel)00:38
srichterno problem00:39
fdrakeJim certainly prefers using zope.component directly these days for test setup00:39
srichteryeah00:39
srichterhe wants to fade out ztapi00:39
fdrakeso if you're targetting 3.1+, that's the way to go00:39
fdrakeand zapi as well, I think00:39
MJOkay00:40
MJzapi is being fazed out?00:40
fdrakenot clear; I think Jim would like to, or at least reduce it00:40
MJplacelesssetup is rather handy.00:40
fdrakenot for 3.0, clearly00:40
fdrakeyes, but you don't need zapi for that00:40
fdrakehe's not trying to phase out zope.app.testing as far as I'm aware00:41
fdrakethat's very useful00:41
srichterno00:42
srichterhe only wants to get rid of zope.app.testing.ztapi00:42
fdrakeright00:42
srichtersince we can replace it with zope.component.provide* calls00:42
fdrakehere comes the bomb...00:42
fdrakeok, srichter, update the branch and try it out00:43
srichterok00:44
MJWOOT00:50
MJtest passes00:50
MJthanks, that suddenly became much easier00:50
MJnot that the test does anything useful as it passes by the whole registration mechanisms, but hey.00:51
*** niemeyer has quit IRC00:52
srichtergreat!00:53
fdrakeok, time for me to hit the road00:54
fdrakelater...00:54
*** fdrake has quit IRC00:54
benji_yorkme too00:54
*** benji_york has quit IRC00:54
*** MiUlEr has quit IRC01:04
*** MiUlEr has joined #zope3-dev01:05
*** timte has quit IRC01:05
srichterwow, I never saw plain Zope start up this fast: 2.86 secs01:07
srichterthe release is really much faster than the trunk01:07
yotawow01:09
*** jinty has left #zope3-dev01:30
*** yota has quit IRC01:33
*** bradb is now known as bradb-away01:46
*** stub has joined #zope3-dev02:41
*** tvon has quit IRC02:44
*** tvon has joined #zope3-dev03:04
*** hazmat is now known as replicant03:18
*** d2m has quit IRC03:22
*** JZ has quit IRC03:26
*** MiUlEr is now known as CONSPI7903:26
*** CONSPI79 is now known as MiUlErlog03:26
*** MiUlErlog is now known as MiUlEr03:27
*** MiUlEr is now known as MiUlErlog03:28
*** RaFromBRC has quit IRC03:36
projekt01srichter, ayt?03:54
*** MiUlErlog has quit IRC04:02
srichterprojekt01: not really04:03
*** JZ has joined #zope3-dev04:13
*** andrew_m has quit IRC04:17
projekt01srichter, I'll ask you tomorrow, good night.04:23
*** andrew_m has joined #zope3-dev04:26
*** projekt01 has quit IRC04:48
*** JZ has left #zope3-dev05:53
*** sashav has joined #zope3-dev06:00
*** kakella has joined #zope3-dev07:02
*** zagy has quit IRC08:28
*** zagy has joined #zope3-dev08:31
*** zagy has quit IRC08:45
*** zagy has joined #zope3-dev08:46
*** sashav has joined #zope3-dev08:52
*** hdima has joined #zope3-dev09:07
*** sashav has quit IRC09:30
*** MJ has quit IRC09:34
*** projekt01 has joined #zope3-dev10:45
*** MJ has joined #zope3-dev10:50
*** yota has joined #zope3-dev10:52
*** jinty has joined #zope3-dev11:09
*** timte has joined #zope3-dev11:33
*** jinty_ has joined #zope3-dev11:41
*** jinty has quit IRC11:42
*** jinty_ has quit IRC11:42
*** d2m has joined #zope3-dev11:46
projekt01mexiKON, ayt?11:51
projekt01I get a security proxy around a object in a functional test. Does somebody know what I can do?11:59
mexiKONprojekt01, yup12:15
mexiKONwell, what are you doing to the object in the functional test?12:15
projekt01I write a test for the z3lab ecmworkflow, I just use the buddy and publish them like in Jim's sample, but ecmworkflow will put something in to the __annotations__12:17
projekt01This ends in a ForbiddenAttribute: ('__annotations__', <buddydemo.buddy.Buddy object at 0x035F98F0>)12:17
mexiKONthe annotations adapter would be a trusted adapter12:18
mexiKONso it should work12:18
projekt01It works, but not in the functional test12:19
projekt01Should I use a ftesting.zcml and register the adapter trusted for IBuddy?12:20
projekt01That's not nice, but perhaps it will work.12:20
*** jinty has joined #zope3-dev12:22
*** jinty has quit IRC12:25
*** kakella has quit IRC12:31
srichterwhy isn't the adapter registered during the setup phase?13:02
*** anguenot has joined #zope3-dev13:04
projekt01anguenot, ayt?13:07
anguenotprojekt01:hi13:09
projekt01Hi13:10
projekt01I have problems with a functional test, I can't setup a IWorkflowUtility for functional tests.13:10
anguenotI just send you a mail13:10
*** jhauser has joined #zope3-dev13:10
projekt01Yup, I saw13:10
anguenotok saw for ecm stuffs the channel is #z3lab13:10
anguenotright ?13:10
anguenotto avoid the noise in here13:10
projekt01Ok, let's use this channel13:11
*** mkerrin has joined #zope3-dev13:26
*** |mkerrin| has joined #zope3-dev13:26
*** mkerrin has quit IRC13:26
*** mkerrin has joined #zope3-dev13:26
*** mgedmin has joined #zope3-dev13:27
*** mkerrin has quit IRC13:36
*** bskahan has joined #zope3-dev14:10
*** vlado has joined #zope3-dev14:33
*** Aiste has quit IRC14:40
*** mkerrin has joined #zope3-dev14:40
*** Aiste has joined #zope3-dev14:43
*** alienoid has joined #zope3-dev15:10
*** faassen has joined #zope3-dev15:10
*** sashav has joined #zope3-dev15:22
*** jinty has joined #zope3-dev15:45
*** alga has joined #zope3-dev15:47
*** benji_york has joined #zope3-dev15:56
*** bradb-away is now known as bradb16:00
*** yotaff has joined #zope3-dev16:10
yotaffanguenot: ping16:12
*** ignas has joined #zope3-dev16:21
*** jinty has quit IRC16:36
*** mgedmin has quit IRC16:53
*** Aiste has quit IRC16:54
*** vlado has quit IRC16:57
*** niemeyer has joined #zope3-dev17:00
*** philiMAC has joined #zope3-dev17:02
anguenotyotaff:hi17:05
*** mexiKON has quit IRC17:21
*** fdrake has joined #zope3-dev17:22
fdrakesrichter, you there?17:22
srichteryes17:23
srichterfdrake: what's up?17:23
fdrakedid the build changes work for you?17:23
srichteryes!17:23
srichtereverything built and all tests passed17:23
fdrakeyou think it's safe to merge to the trunk?17:23
srichteryes17:23
srichterI certainly see no problem17:24
fdrakeok, i'll get that done so Tim will feel good re-generating his Zope3 C extensions for Windows package17:24
srichterwhat is the point of an out of place built int he first place?17:24
fdrakeyou can do it with multiple Python versions17:24
fdrakeor on multiple platforms17:25
srichterah, I see17:25
fdrakeusing a shared source tree17:25
srichterI think we do not need those use cases now17:25
fdrake(NFS or the like)17:25
srichterI see17:25
fdrakeprobably not, but it's part of what distutils supports out of the box17:25
fdrakewe're using setup.py, but breaking the expectations17:26
fdrakethat's undesirable17:26
srichterok, right17:26
fdrakeanyway, that can be added back later17:27
srichterright17:31
*** sashav has quit IRC17:47
*** vlado has joined #zope3-dev17:56
*** SureshZ has joined #zope3-dev17:57
*** hdima has quit IRC17:57
*** vlado has quit IRC18:12
*** SureshZ has left #zope3-dev18:14
fdrakethe build changes are on the trunk now18:15
srichtergreat18:16
*** Aiste has joined #zope3-dev18:17
*** mgedmin has joined #zope3-dev18:18
fdrakeTim's started the tests on Windows...18:20
*** sashav has joined #zope3-dev18:44
*** MJ has quit IRC18:44
fdrakeis anyone using zpkg for CVS-based projects, for whom working with a checkout/export isn't sufficient?18:52
*** sashav has quit IRC19:00
*** sashav has joined #zope3-dev19:01
*** sashav has quit IRC19:15
*** mkerrin has quit IRC19:16
*** bradb is now known as bradb-bbl19:18
*** Aiste has quit IRC19:19
*** projekt01 has quit IRC19:50
*** zagy has quit IRC20:03
*** zagy has joined #zope3-dev20:23
*** ignas has quit IRC20:24
*** mgedmin has quit IRC20:24
*** replicant has quit IRC20:25
*** ignas has joined #zope3-dev20:26
*** mgedmin has joined #zope3-dev20:26
*** replicant has joined #zope3-dev20:27
*** replicant is now known as hazmat20:39
*** ChanServ sets mode: +o hazmat20:40
*** bradb-bbl is now known as bradb21:12
*** faassen has quit IRC21:32
fdrakeI've made a release of zpkg.22:06
srichtercool22:07
srichterthis way we can use the release in ST22:07
fdrakeyes22:08
fdrakethere's a tag and a tarball22:08
srichtercool22:08
fdrakehttp://www.zope.org/Members/fdrake/zpkgtools/22:08
fdrakeor get it from PyPI22:08
fdrakethere's also a mailing list22:10
fdrakesince we didn't have enough of those22:10
srichterhe he22:10
*** RaFromBRC has joined #zope3-dev22:20
*** mgedmin has quit IRC22:21
*** fdrake has quit IRC22:39
*** jhauser has quit IRC22:46
*** MJ has joined #zope3-dev22:49
*** sashav has joined #zope3-dev22:51
*** ignas has quit IRC22:56
*** alga has quit IRC23:03
*** RaFromBRC is now known as RaFromBRC|away23:05
*** alga has joined #zope3-dev23:39
*** bskahan has quit IRC23:41
*** bskahan has joined #zope3-dev23:45
*** sashav has quit IRC23:50
*** alga has quit IRC23:50
*** alga has joined #zope3-dev23:50
*** jhauser has joined #zope3-dev23:54

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