IRC log of #zope3-dev for Saturday, 2008-04-12

*** dunny_ has joined #zope3-dev00:03
*** dunny has quit IRC00:03
*** `ro has quit IRC00:06
*** redir has joined #zope3-dev00:06
*** dunny_ has quit IRC00:07
*** djohnson has quit IRC00:11
*** lucielejard has quit IRC00:18
pcarduneprojekt01: what is the best package to look at for a general overview of zam?  (including plugins)00:20
projekt01pcardune, each zamplugin provides an app setup00:20
pcarduneprojekt01: do the plugins also provide the other plugins?00:21
projekt01pcardune, the best is probably if I fix one of this zamplugins, i guess the tets are briken right now since I'm working heavy oat ti00:21
projekt01no00:21
pcarduneprojekt01: does zam.demo get the plugins?00:21
projekt01each plugin provides it's own setup in this sample app00:22
projekt01I don't know srichter worked on that00:22
projekt01should I include all in the demo?00:22
*** dunny has joined #zope3-dev00:22
projekt01I could do that right now because I could also use a generic setup for development00:22
projekt01pcardune, do you need it asap?00:23
pcarduneprojekt01: no00:23
pcarduneprojekt01: just wanted to take a look :)00:23
projekt01Ok, will take a look at the zam.demo this weekend00:23
srichterwe are trying zam.demo already00:24
projekt01I review the z3c.contents right now, looks a little complex the built in search form darryl00:24
srichterok00:25
projekt01srichter, just include all zamplugin packages, all of them work but the test will fail because of some missing externals00:25
srichterok, cool00:26
srichterprojekt01: paul is very excite of us using ZAM here00:26
projekt01great, great, but I'm not surprised since the basic ideas came form you ;-)00:26
projekt01form/from00:27
projekt01I think ZAM could be a little complex for newcomers, but it's incredible great for custom development00:28
srichteryeah, I hope that zam.demo will help as an example00:29
projekt01sure00:30
pcarduneprojekt01: I just ran buildout on zam.demo, and ran ./bin/app but got a configuration error: ('Unknown directive', u'http://namespaces.zope.org/zope', u'adapter')00:30
projekt01zam.demo is probably not ready for use00:30
projekt01use zamplugin.navigation adn tell me what's happen00:30
projekt01I will fix it ASAP if something fails00:31
pcarduneprojekt01: ok00:34
*** timte has quit IRC00:35
projekt01pcardune, just ask if you have questions, I'm working on that for the next couple hours00:35
pcarduneprojekt01: hmm, zamplugin.navigation gives me the same error00:40
*** tarek has quit IRC00:41
projekt01Ok, will try and fix that00:41
*** redir has quit IRC00:42
*** timte has joined #zope3-dev00:43
projekt01srichter, what's the recommendations for using extras_require00:45
projekt01zam* offers the implementation, tests and an app.zcml setup00:45
projekt01I guess we should only include in install_requires what we need for the implementation00:46
projekt01but the app (app.zcml) uses more dependencies whihc are declared as extras_require['app']00:46
projekt01srichter, pcardune, what do you think?00:46
pcarduneprojekt01: I think that's a good idea00:47
pcardunethe way we are doing it is having extras_require for both tests and app00:47
*** greenman has joined #zope3-dev00:48
projekt01me too, but I'm only here always that extra_reuqires is a bad idea00:48
projekt01srichter, ^^^?00:48
*** timte has quit IRC00:49
srichterprojekt01: hold on00:51
*** greenman has quit IRC00:51
projekt01whould be vrey bad to make the zam.* packages depend on every packages only for configureation, it must be possible to use zam.* packages without the predefined configuration00:52
srichteryeah, I think extra_requires is okay in that way00:59
projekt01Ok, will fix that now01:00
projekt01pcardune, hold on I'm ready in a couple minutes01:00
pcarduneprojekt01: ok :)01:01
*** benji has quit IRC01:03
*** srichter has quit IRC01:03
projekt01srichter, does install_requires get used all the time e.g. in extra_requires01:12
projekt01or do I need to duplicate the install_requires in extra_requires?01:12
*** b52laptop has joined #zope3-dev01:14
*** whit has joined #zope3-dev01:18
*** regebro has quit IRC01:23
*** pcardune has quit IRC01:25
*** whitmo has quit IRC01:25
projekt01srichter, ayt?01:27
*** vimes656 has joined #zope3-dev01:28
projekt01pcardune, zamplugin.navigation [app] should work again01:31
projekt01pcardune, srichter did you see my mail a week ago about IPasswordManager move from zope.app.authentication to zope.password01:32
projekt01what do you think could I do that move, nobody answered my mail, I guess it's Ok so, right?01:33
projekt01J1m, ayt?01:33
J1myes01:33
projekt01can I move the IPasswordManger to zope.password?01:33
projekt01from zope.app.authentication to zope.password01:33
projekt01It's only a global utility no persistence01:34
projekt01J1m, what do you think?01:34
J1msure as long as zope.app.authentication doesn't break.01:34
projekt01of corse ;-)01:34
J1mBut you should post your intention to the zope-dev list.01:35
projekt01should I add a deprecation message on the import from the new location?01:35
J1mTheir OK is more important than mine.01:35
J1mwhy do you want to do this?01:35
J1mI should have asked that first.01:36
projekt01I do not need zope.app.authentication but testing includes the IPasswordManager because of securitpolicy imports them from zope.app.authentication01:36
J1mwhat testing?01:36
* projekt01 is looking ...01:37
projekt01zope.app.securitypolicy.principalregistry does:01:38
projekt01from zope.app.authentication.interfaces import IPasswordManager01:38
projekt01I like to cleanup this dependeny01:38
projekt01also zope.app.server.zserver.py imports from zope.app.authentication01:38
J1mHm, I think it's probably a good idea to move this somewhere.01:39
J1mIt's not clear to me where.01:39
projekt01I think zope.app.authentication is a optional part (security.IAuthentication) and not core01:39
J1mI don't think it's a good idea to create a new package.01:40
J1mMaybe this should move to zope.app.security.01:40
projekt01As far as I can see only the password manager is required on some other parts of zope from zaop.app.authentication01:40
projekt01what do you think about zope.password?01:40
projekt01just a standalone package whitout any other dependency01:40
J1mI don't think it's a good idea if it's only going to be an interface.01:41
J1mThis is too small to add another package.01:41
projekt01and the implementation01:41
projekt01we have three password manager and the configuration.zcml too01:41
J1mPlease bring this up on the zope-dev list.01:41
*** tarek has joined #zope3-dev01:41
projekt01I did that last week nobody answered01:41
J1mgaaaah01:42
*** tarek has quit IRC01:42
projekt01;-)01:42
projekt01J1m, I think a own package for password manager is the best what we can do, this let's every body use a password manager without any other dependency01:43
projekt01what do you think is not good if we do so?01:44
J1mI don't think this justifies another package.01:44
J1mI'd rather see it in zope.app.security.01:44
J1mand then maybe move the zpasswd script there.01:44
J1mI'm -1 on creating another package for this.01:45
projekt01does zope.app.server depend on zope.app.security already?01:46
J1mNo,but the only thing that imports IPasswordManger there is zpasswd, which doesn't really belong in the server.01:47
projekt01Ah, I see01:47
J1mMove zpasswd to zope.app.security and then you'll get what you want.01:47
J1mYou'll remove a dependency from both zope.app.server and zope.app.securitypolicy.01:48
*** greenman has joined #zope3-dev01:48
projekt01Ok, sounds like a good idea01:49
projekt01J1m, sam old bad overall testing question, do you know which packages are using zpasswd.py?01:52
J1mI doubt that anything is.01:52
J1mIt's just a script for setting the zcml password.01:52
J1mit writes principals.zcml.01:53
projekt01Ah, I see, should I add BBB for this?01:53
*** rmarianski has quit IRC01:53
*** nathany has quit IRC01:54
*** norro has quit IRC01:54
J1mmaybe, I'm not sure how zpasswd gets installed these days.  I suspect not at all. :)01:54
J1mIn fact, if you made it a console script, it might be viewd by some as a gift. :)01:55
projekt01Ok, I found it in zpasswd.in template01:56
J1mYeah :)01:56
projekt01I can just adjust that import: from zope.app.server.zpasswd import main01:56
J1mworks for me.01:56
projekt01Ok01:57
projekt01probably there are some custom recipes out there which we don't know about01:57
J1mI doubt that any of them deal with that.01:59
J1mI wouldn't worry about it.01:59
J1mgotta go.01:59
J1mlater01:59
*** sp0cksbeard has quit IRC01:59
projekt01have a good weekend02:00
J1myou too02:01
projekt01thanks02:01
*** alex_smith has quit IRC02:01
*** J1m has quit IRC02:03
*** jamur2 has quit IRC02:04
*** vimes656 has quit IRC02:10
projekt01srichter, ayt?02:22
*** RaFromBRC has quit IRC02:36
*** RaFromBRC has joined #zope3-dev02:49
*** reco has joined #zope3-dev02:50
*** reco has joined #zope3-dev02:51
*** reco has quit IRC02:53
*** reco has joined #zope3-dev02:55
*** shurik has joined #zope3-dev03:02
shurikif i have an adapter that implements one interface and adapts another, which interface is the adapter "providing"?03:05
*** shurik has quit IRC03:09
projekt01shurik, implements03:11
projekt01if a class implements something it will provide that03:12
projekt01shurik, or you can say: a class implements and an instance (of this class) provides03:13
projekt01adapts defines for what objects this adapter could be used03:13
projekt01hope shurik, will read the logs ;-)03:14
*** greenman has quit IRC03:26
*** djohnson has joined #zope3-dev03:35
*** b52laptop has quit IRC03:51
*** whit has quit IRC03:57
*** MrTopf has quit IRC04:06
*** mcdonc has quit IRC04:13
*** greenman has joined #zope3-dev04:44
*** djohnson has quit IRC05:01
*** projekt01 has quit IRC05:14
*** edgordon has joined #zope3-dev05:14
*** niemeyer has quit IRC06:11
*** reco has quit IRC06:51
*** afd_ has joined #zope3-dev09:13
*** RaFromBRC has quit IRC09:14
*** philiKON_ has joined #zope3-dev09:23
*** jukart has joined #zope3-dev09:32
*** philiKON has quit IRC09:39
*** benji has joined #zope3-dev10:00
*** sm has quit IRC10:06
*** timte has joined #zope3-dev10:12
*** redir has joined #zope3-dev10:15
*** redir has quit IRC10:21
*** regebro has joined #zope3-dev10:24
*** jodok has joined #zope3-dev10:48
*** tarek has joined #zope3-dev10:49
*** jodok_ has joined #zope3-dev10:58
*** tarek has quit IRC11:03
*** jukart has quit IRC11:04
*** jukart has joined #zope3-dev11:10
*** tarek has joined #zope3-dev11:13
*** jodok has quit IRC11:19
*** norro has joined #zope3-dev11:20
*** jodok has joined #zope3-dev11:33
*** jukart has quit IRC11:47
*** jodok_ has quit IRC11:51
*** jukart has joined #zope3-dev12:13
*** dunny has quit IRC12:15
*** jukart has quit IRC12:16
*** tarek has quit IRC12:19
*** edgordon has quit IRC12:41
*** edgordon_ has joined #zope3-dev12:41
*** edgordon_ has quit IRC12:42
*** edgordon has joined #zope3-dev12:42
*** malthe has joined #zope3-dev12:57
*** malthe is now known as malthe|out13:21
*** jukart has joined #zope3-dev13:27
*** zagy has joined #zope3-dev13:28
*** jukart has quit IRC13:29
*** jukart has joined #zope3-dev13:32
*** jukart has quit IRC13:34
*** acsr has quit IRC13:41
*** zagy has quit IRC13:50
*** zagy has joined #zope3-dev13:50
*** jukart has joined #zope3-dev13:54
*** jukart has quit IRC13:56
*** jukart has joined #zope3-dev14:03
*** ktwilight has joined #zope3-dev14:10
*** jukart has quit IRC14:17
*** ktwilight_ has quit IRC14:23
*** edgordon has quit IRC14:42
*** afd_ has quit IRC15:39
*** afd_ has joined #zope3-dev15:59
*** tarek has joined #zope3-dev16:05
*** tarek has quit IRC16:08
*** dobee has joined #zope3-dev16:20
*** tarek has joined #zope3-dev16:33
*** projekt01 has joined #zope3-dev16:37
*** dobee has quit IRC16:54
projekt01Theuni, ayt?17:15
projekt01philiKON_, benji, zagy, tarek, regebro or anybody else can you check my last mail (Dependencies) to the zope-dev list and agree?17:20
benjiprojekt01: I don't agree; we discussed this on the list several months ago.17:20
projekt01what does this mean?17:21
benjiheh17:21
projekt01does this install the testing packages on every project17:21
benjithat's part of what we discussed: testing packages should be left in place.  Test what you fly and fly what you test.  Also, test extras are evil (but I don't remember why; J1m can educate you, or you can read the archivces and educate yourself)17:22
regebroThe problem is if the testing packages has a lot of dependencies. i don'17:23
regebrotdon'17:23
regebrodon't know if they do.17:23
projekt01they bring in rotterdam etc.17:23
regebroThat sucks.17:24
projekt01are you sure rotterdam should live on every server???17:24
projekt01benji, that's not only bad that's just wrong17:24
benjisounds like the tests should be fixed17:24
regebroYeah, rotterdam should not need to be installed just because you have tests.17:25
projekt01haha17:25
regebroIf the test packages really need Rotterdam for something, they should probably be split up.17:25
projekt01benji, test belong to test extras at any time, there is really no need to discuss that17:26
benjiprojekt01: read the archives, if you have a new argument, feel free to post17:26
projekt01any package which is not needed at production server has not the be a part if install_requires17:26
projekt01I do not have to read that, I nok the discussions, it's just wrong to install test packages on production server, right?17:27
benjino, it's wrong to install something different on a production server than you tested17:27
projekt01benji, or do you say it's Ok that rotterdam package is on my prodution server just because it's used in dublincore testing?17:27
benjifixing the dependencies is the way to fix that problem17:28
projekt01benji, you don't understand I don't need dublincore at all on my server, other testing packages install that17:28
benjifixing the dependencies is the way to fix that problem17:29
projekt01benji, you really don't understand, do you really think my production app schoul depend on zope.app.testing?17:29
projekt01banji, my app is tested within zope.app.testing during development, my production app does not depend on zope.app.testing. right?17:30
projekt01right now my production app depends on zope.app.teesting, that's just wrong17:31
projekt01my production app could be tested with zope.app.testing, but doesn't need that as dependency17:32
projekt01benji, I'm pretty sure that your custom app contains the testing code in their packages, my test are separated in own packages for prodution apps17:33
projekt01this makes testing code optional if it comes to deployment17:33
afd_\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\jAQzs\17:36
afd_p'[::::::17:36
projekt01my fazit; fly what you test, test what you fly is right. But that a production app depends on testing code is just wrong and very critical!17:38
projekt01test code should be optional and extra_requires is the way to go for cut the dependency17:38
afd_sorry, cat over keyboard17:39
*** tarek has quit IRC17:44
*** projekt01 has quit IRC18:37
*** sm has joined #zope3-dev18:43
*** tuxella has joined #zope3-dev18:51
tuxella'lo all18:51
*** tuxella has quit IRC18:52
*** tuxella has joined #zope3-dev18:52
*** tuxella has joined #zope3-dev18:53
*** jamur2 has joined #zope3-dev18:55
*** mgedmin has joined #zope3-dev19:11
*** whitmo_ has joined #zope3-dev19:17
*** jamur2 has quit IRC19:22
*** whitmo_ has quit IRC19:28
*** whitmo__ has joined #zope3-dev19:31
*** Jell-O-Fishi has joined #zope3-dev19:31
*** whitmo___ has joined #zope3-dev19:32
*** whitmo___ has quit IRC19:48
*** rocky has quit IRC19:51
*** whitmo__ has quit IRC19:51
*** rocky has joined #zope3-dev19:55
*** mcdonc has joined #zope3-dev20:08
*** afd_ has quit IRC20:26
*** jukart has joined #zope3-dev20:40
*** sunew has joined #zope3-dev20:44
*** sunew has quit IRC20:44
*** mgedmin has quit IRC20:48
*** sp0cksbeard has joined #zope3-dev20:49
*** jukart has quit IRC20:51
*** mgedmin has joined #zope3-dev21:02
*** tomus has joined #zope3-dev22:03
*** jodok has quit IRC22:03
*** jodok has joined #zope3-dev22:04
*** sp0cksbeard has quit IRC22:14
*** reco has joined #zope3-dev22:30
*** jukart has joined #zope3-dev22:34
*** mgedmin has quit IRC22:43
*** jodok has quit IRC22:46
*** tomus has quit IRC22:54
*** jukart has quit IRC23:14
*** dunny has joined #zope3-dev23:51
*** zagy has quit IRC23:52
*** srichter has joined #zope3-dev23:52

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