srichter | cool | 00:00 |
---|---|---|
*** hazmat_ is now known as hazmat | 00:05 | |
fdrake | ok, the in-place build is tested; no problems | 00:07 |
fdrake | checking a distro now | 00:07 |
srichter | oh, sounds good | 00:09 |
srichter | I think Jim will like this | 00:09 |
srichter | he always wanted to use the distribution built system being used for the checkout as well | 00:10 |
*** alienoid has quit IRC | 00:10 | |
fdrake | yes, that's certain | 00:12 |
fdrake | he also wants it to be more automagical | 00:12 |
srichter | :-) | 00:12 |
fdrake | he'd like a single setup.py that can be dropped into any checkout and do the right thing | 00:13 |
fdrake | or at least be even smaller than the one we'll be using | 00:13 |
srichter | mmh, but that's assuming zpkgsetup and all cfg file are available right? | 00:14 |
fdrake | yes | 00:14 |
fdrake | and that it knows where to find them :-) | 00:14 |
srichter | right | 00:14 |
fdrake | the minimum would be to tell it where they are | 00:15 |
srichter | right | 00:15 |
* _projekt01 argh, I don't like this adding view, addMeuItem and addform part | 00:21 | |
*** _projekt01 is now known as projekt01 | 00:21 | |
*** RaFromBRC|away is now known as RaFromBRC | 00:22 | |
fdrake | we have too many tests, and too many times to run them... :-( | 00:22 |
srichter | :-) | 00:23 |
srichter | a good problem to have | 00:23 |
projekt01 | better then mine | 00:24 |
fdrake | better start writing tests then! | 00:30 |
srichter | LOL | 00:32 |
MJ | Damn | 00:33 |
MJ | How can I best unittest something that depends on being registered? | 00:33 |
srichter | register that thing | 00:33 |
MJ | In a doctest? | 00:33 |
MJ | How | 00:33 |
MJ | ? | 00:34 |
MJ | Sorry, not yet too familiar with the testing framework for that.. | 00:34 |
* MJ has been trolling for examples already | 00:34 | |
srichter | zope.app.testing.setup and zope.app.testing.ztapi | 00:35 |
srichter | you can also use zope.component.provide* | 00:35 |
MJ | All I need is an instance adaptable to IRegistered | 00:35 |
MJ | Hmmm | 00:35 |
srichter | so register the adapter | 00:36 |
srichter | zope.component.provideAdapter(AdapterClass, IFoo, IRegistered) | 00:37 |
MJ | Ahhh | 00:37 |
MJ | Dummy IRegistered adapter | 00:37 |
* MJ slaps his head. | 00:37 | |
MJ | Thanks Stephan, | 00:38 |
MJ | sorry for being dim | 00:38 |
MJ | (and just when I found addUtility in setup.py as wel) | 00:38 |
srichter | no problem | 00:39 |
fdrake | Jim certainly prefers using zope.component directly these days for test setup | 00:39 |
srichter | yeah | 00:39 |
srichter | he wants to fade out ztapi | 00:39 |
fdrake | so if you're targetting 3.1+, that's the way to go | 00:39 |
fdrake | and zapi as well, I think | 00:39 |
MJ | Okay | 00:40 |
MJ | zapi is being fazed out? | 00:40 |
fdrake | not clear; I think Jim would like to, or at least reduce it | 00:40 |
MJ | placelesssetup is rather handy. | 00:40 |
fdrake | not for 3.0, clearly | 00:40 |
fdrake | yes, but you don't need zapi for that | 00:40 |
fdrake | he's not trying to phase out zope.app.testing as far as I'm aware | 00:41 |
fdrake | that's very useful | 00:41 |
srichter | no | 00:42 |
srichter | he only wants to get rid of zope.app.testing.ztapi | 00:42 |
fdrake | right | 00:42 |
srichter | since we can replace it with zope.component.provide* calls | 00:42 |
fdrake | here comes the bomb... | 00:42 |
fdrake | ok, srichter, update the branch and try it out | 00:43 |
srichter | ok | 00:44 |
MJ | WOOT | 00:50 |
MJ | test passes | 00:50 |
MJ | thanks, that suddenly became much easier | 00:50 |
MJ | not that the test does anything useful as it passes by the whole registration mechanisms, but hey. | 00:51 |
*** niemeyer has quit IRC | 00:52 | |
srichter | great! | 00:53 |
fdrake | ok, time for me to hit the road | 00:54 |
fdrake | later... | 00:54 |
*** fdrake has quit IRC | 00:54 | |
benji_york | me too | 00:54 |
*** benji_york has quit IRC | 00:54 | |
*** MiUlEr has quit IRC | 01:04 | |
*** MiUlEr has joined #zope3-dev | 01:05 | |
*** timte has quit IRC | 01:05 | |
srichter | wow, I never saw plain Zope start up this fast: 2.86 secs | 01:07 |
srichter | the release is really much faster than the trunk | 01:07 |
yota | wow | 01:09 |
*** jinty has left #zope3-dev | 01:30 | |
*** yota has quit IRC | 01:33 | |
*** bradb is now known as bradb-away | 01:46 | |
*** stub has joined #zope3-dev | 02:41 | |
*** tvon has quit IRC | 02:44 | |
*** tvon has joined #zope3-dev | 03:04 | |
*** hazmat is now known as replicant | 03:18 | |
*** d2m has quit IRC | 03:22 | |
*** JZ has quit IRC | 03:26 | |
*** MiUlEr is now known as CONSPI79 | 03:26 | |
*** CONSPI79 is now known as MiUlErlog | 03:26 | |
*** MiUlErlog is now known as MiUlEr | 03:27 | |
*** MiUlEr is now known as MiUlErlog | 03:28 | |
*** RaFromBRC has quit IRC | 03:36 | |
projekt01 | srichter, ayt? | 03:54 |
*** MiUlErlog has quit IRC | 04:02 | |
srichter | projekt01: not really | 04:03 |
*** JZ has joined #zope3-dev | 04:13 | |
*** andrew_m has quit IRC | 04:17 | |
projekt01 | srichter, I'll ask you tomorrow, good night. | 04:23 |
*** andrew_m has joined #zope3-dev | 04:26 | |
*** projekt01 has quit IRC | 04:48 | |
*** JZ has left #zope3-dev | 05:53 | |
*** sashav has joined #zope3-dev | 06:00 | |
*** kakella has joined #zope3-dev | 07:02 | |
*** zagy has quit IRC | 08:28 | |
*** zagy has joined #zope3-dev | 08:31 | |
*** zagy has quit IRC | 08:45 | |
*** zagy has joined #zope3-dev | 08:46 | |
*** sashav has joined #zope3-dev | 08:52 | |
*** hdima has joined #zope3-dev | 09:07 | |
*** sashav has quit IRC | 09:30 | |
*** MJ has quit IRC | 09:34 | |
*** projekt01 has joined #zope3-dev | 10:45 | |
*** MJ has joined #zope3-dev | 10:50 | |
*** yota has joined #zope3-dev | 10:52 | |
*** jinty has joined #zope3-dev | 11:09 | |
*** timte has joined #zope3-dev | 11:33 | |
*** jinty_ has joined #zope3-dev | 11:41 | |
*** jinty has quit IRC | 11:42 | |
*** jinty_ has quit IRC | 11:42 | |
*** d2m has joined #zope3-dev | 11:46 | |
projekt01 | mexiKON, ayt? | 11:51 |
projekt01 | I get a security proxy around a object in a functional test. Does somebody know what I can do? | 11:59 |
mexiKON | projekt01, yup | 12:15 |
mexiKON | well, what are you doing to the object in the functional test? | 12:15 |
projekt01 | I 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 |
projekt01 | This ends in a ForbiddenAttribute: ('__annotations__', <buddydemo.buddy.Buddy object at 0x035F98F0>) | 12:17 |
mexiKON | the annotations adapter would be a trusted adapter | 12:18 |
mexiKON | so it should work | 12:18 |
projekt01 | It works, but not in the functional test | 12:19 |
projekt01 | Should I use a ftesting.zcml and register the adapter trusted for IBuddy? | 12:20 |
projekt01 | That's not nice, but perhaps it will work. | 12:20 |
*** jinty has joined #zope3-dev | 12:22 | |
*** jinty has quit IRC | 12:25 | |
*** kakella has quit IRC | 12:31 | |
srichter | why isn't the adapter registered during the setup phase? | 13:02 |
*** anguenot has joined #zope3-dev | 13:04 | |
projekt01 | anguenot, ayt? | 13:07 |
anguenot | projekt01:hi | 13:09 |
projekt01 | Hi | 13:10 |
projekt01 | I have problems with a functional test, I can't setup a IWorkflowUtility for functional tests. | 13:10 |
anguenot | I just send you a mail | 13:10 |
*** jhauser has joined #zope3-dev | 13:10 | |
projekt01 | Yup, I saw | 13:10 |
anguenot | ok saw for ecm stuffs the channel is #z3lab | 13:10 |
anguenot | right ? | 13:10 |
anguenot | to avoid the noise in here | 13:10 |
projekt01 | Ok, let's use this channel | 13:11 |
*** mkerrin has joined #zope3-dev | 13:26 | |
*** |mkerrin| has joined #zope3-dev | 13:26 | |
*** mkerrin has quit IRC | 13:26 | |
*** mkerrin has joined #zope3-dev | 13:26 | |
*** mgedmin has joined #zope3-dev | 13:27 | |
*** mkerrin has quit IRC | 13:36 | |
*** bskahan has joined #zope3-dev | 14:10 | |
*** vlado has joined #zope3-dev | 14:33 | |
*** Aiste has quit IRC | 14:40 | |
*** mkerrin has joined #zope3-dev | 14:40 | |
*** Aiste has joined #zope3-dev | 14:43 | |
*** alienoid has joined #zope3-dev | 15:10 | |
*** faassen has joined #zope3-dev | 15:10 | |
*** sashav has joined #zope3-dev | 15:22 | |
*** jinty has joined #zope3-dev | 15:45 | |
*** alga has joined #zope3-dev | 15:47 | |
*** benji_york has joined #zope3-dev | 15:56 | |
*** bradb-away is now known as bradb | 16:00 | |
*** yotaff has joined #zope3-dev | 16:10 | |
yotaff | anguenot: ping | 16:12 |
*** ignas has joined #zope3-dev | 16:21 | |
*** jinty has quit IRC | 16:36 | |
*** mgedmin has quit IRC | 16:53 | |
*** Aiste has quit IRC | 16:54 | |
*** vlado has quit IRC | 16:57 | |
*** niemeyer has joined #zope3-dev | 17:00 | |
*** philiMAC has joined #zope3-dev | 17:02 | |
anguenot | yotaff:hi | 17:05 |
*** mexiKON has quit IRC | 17:21 | |
*** fdrake has joined #zope3-dev | 17:22 | |
fdrake | srichter, you there? | 17:22 |
srichter | yes | 17:23 |
srichter | fdrake: what's up? | 17:23 |
fdrake | did the build changes work for you? | 17:23 |
srichter | yes! | 17:23 |
srichter | everything built and all tests passed | 17:23 |
fdrake | you think it's safe to merge to the trunk? | 17:23 |
srichter | yes | 17:23 |
srichter | I certainly see no problem | 17:24 |
fdrake | ok, i'll get that done so Tim will feel good re-generating his Zope3 C extensions for Windows package | 17:24 |
srichter | what is the point of an out of place built int he first place? | 17:24 |
fdrake | you can do it with multiple Python versions | 17:24 |
fdrake | or on multiple platforms | 17:25 |
srichter | ah, I see | 17:25 |
fdrake | using a shared source tree | 17:25 |
srichter | I think we do not need those use cases now | 17:25 |
fdrake | (NFS or the like) | 17:25 |
srichter | I see | 17:25 |
fdrake | probably not, but it's part of what distutils supports out of the box | 17:25 |
fdrake | we're using setup.py, but breaking the expectations | 17:26 |
fdrake | that's undesirable | 17:26 |
srichter | ok, right | 17:26 |
fdrake | anyway, that can be added back later | 17:27 |
srichter | right | 17:31 |
*** sashav has quit IRC | 17:47 | |
*** vlado has joined #zope3-dev | 17:56 | |
*** SureshZ has joined #zope3-dev | 17:57 | |
*** hdima has quit IRC | 17:57 | |
*** vlado has quit IRC | 18:12 | |
*** SureshZ has left #zope3-dev | 18:14 | |
fdrake | the build changes are on the trunk now | 18:15 |
srichter | great | 18:16 |
*** Aiste has joined #zope3-dev | 18:17 | |
*** mgedmin has joined #zope3-dev | 18:18 | |
fdrake | Tim's started the tests on Windows... | 18:20 |
*** sashav has joined #zope3-dev | 18:44 | |
*** MJ has quit IRC | 18:44 | |
fdrake | is anyone using zpkg for CVS-based projects, for whom working with a checkout/export isn't sufficient? | 18:52 |
*** sashav has quit IRC | 19:00 | |
*** sashav has joined #zope3-dev | 19:01 | |
*** sashav has quit IRC | 19:15 | |
*** mkerrin has quit IRC | 19:16 | |
*** bradb is now known as bradb-bbl | 19:18 | |
*** Aiste has quit IRC | 19:19 | |
*** projekt01 has quit IRC | 19:50 | |
*** zagy has quit IRC | 20:03 | |
*** zagy has joined #zope3-dev | 20:23 | |
*** ignas has quit IRC | 20:24 | |
*** mgedmin has quit IRC | 20:24 | |
*** replicant has quit IRC | 20:25 | |
*** ignas has joined #zope3-dev | 20:26 | |
*** mgedmin has joined #zope3-dev | 20:26 | |
*** replicant has joined #zope3-dev | 20:27 | |
*** replicant is now known as hazmat | 20:39 | |
*** ChanServ sets mode: +o hazmat | 20:40 | |
*** bradb-bbl is now known as bradb | 21:12 | |
*** faassen has quit IRC | 21:32 | |
fdrake | I've made a release of zpkg. | 22:06 |
srichter | cool | 22:07 |
srichter | this way we can use the release in ST | 22:07 |
fdrake | yes | 22:08 |
fdrake | there's a tag and a tarball | 22:08 |
srichter | cool | 22:08 |
fdrake | http://www.zope.org/Members/fdrake/zpkgtools/ | 22:08 |
fdrake | or get it from PyPI | 22:08 |
fdrake | there's also a mailing list | 22:10 |
fdrake | since we didn't have enough of those | 22:10 |
srichter | he he | 22:10 |
*** RaFromBRC has joined #zope3-dev | 22:20 | |
*** mgedmin has quit IRC | 22:21 | |
*** fdrake has quit IRC | 22:39 | |
*** jhauser has quit IRC | 22:46 | |
*** MJ has joined #zope3-dev | 22:49 | |
*** sashav has joined #zope3-dev | 22:51 | |
*** ignas has quit IRC | 22:56 | |
*** alga has quit IRC | 23:03 | |
*** RaFromBRC is now known as RaFromBRC|away | 23:05 | |
*** alga has joined #zope3-dev | 23:39 | |
*** bskahan has quit IRC | 23:41 | |
*** bskahan has joined #zope3-dev | 23:45 | |
*** sashav has quit IRC | 23:50 | |
*** alga has quit IRC | 23:50 | |
*** alga has joined #zope3-dev | 23:50 | |
*** jhauser has joined #zope3-dev | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!