*** dunny_ has joined #zope3-dev | 00:03 | |
*** dunny has quit IRC | 00:03 | |
*** `ro has quit IRC | 00:06 | |
*** redir has joined #zope3-dev | 00:06 | |
*** dunny_ has quit IRC | 00:07 | |
*** djohnson has quit IRC | 00:11 | |
*** lucielejard has quit IRC | 00:18 | |
pcardune | projekt01: what is the best package to look at for a general overview of zam? (including plugins) | 00:20 |
---|---|---|
projekt01 | pcardune, each zamplugin provides an app setup | 00:20 |
pcardune | projekt01: do the plugins also provide the other plugins? | 00:21 |
projekt01 | pcardune, 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 ti | 00:21 |
projekt01 | no | 00:21 |
pcardune | projekt01: does zam.demo get the plugins? | 00:21 |
projekt01 | each plugin provides it's own setup in this sample app | 00:22 |
projekt01 | I don't know srichter worked on that | 00:22 |
projekt01 | should I include all in the demo? | 00:22 |
*** dunny has joined #zope3-dev | 00:22 | |
projekt01 | I could do that right now because I could also use a generic setup for development | 00:22 |
projekt01 | pcardune, do you need it asap? | 00:23 |
pcardune | projekt01: no | 00:23 |
pcardune | projekt01: just wanted to take a look :) | 00:23 |
projekt01 | Ok, will take a look at the zam.demo this weekend | 00:23 |
srichter | we are trying zam.demo already | 00:24 |
projekt01 | I review the z3c.contents right now, looks a little complex the built in search form darryl | 00:24 |
srichter | ok | 00:25 |
projekt01 | srichter, just include all zamplugin packages, all of them work but the test will fail because of some missing externals | 00:25 |
srichter | ok, cool | 00:26 |
srichter | projekt01: paul is very excite of us using ZAM here | 00:26 |
projekt01 | great, great, but I'm not surprised since the basic ideas came form you ;-) | 00:26 |
projekt01 | form/from | 00:27 |
projekt01 | I think ZAM could be a little complex for newcomers, but it's incredible great for custom development | 00:28 |
srichter | yeah, I hope that zam.demo will help as an example | 00:29 |
projekt01 | sure | 00:30 |
pcardune | projekt01: 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 |
projekt01 | zam.demo is probably not ready for use | 00:30 |
projekt01 | use zamplugin.navigation adn tell me what's happen | 00:30 |
projekt01 | I will fix it ASAP if something fails | 00:31 |
pcardune | projekt01: ok | 00:34 |
*** timte has quit IRC | 00:35 | |
projekt01 | pcardune, just ask if you have questions, I'm working on that for the next couple hours | 00:35 |
pcardune | projekt01: hmm, zamplugin.navigation gives me the same error | 00:40 |
*** tarek has quit IRC | 00:41 | |
projekt01 | Ok, will try and fix that | 00:41 |
*** redir has quit IRC | 00:42 | |
*** timte has joined #zope3-dev | 00:43 | |
projekt01 | srichter, what's the recommendations for using extras_require | 00:45 |
projekt01 | zam* offers the implementation, tests and an app.zcml setup | 00:45 |
projekt01 | I guess we should only include in install_requires what we need for the implementation | 00:46 |
projekt01 | but the app (app.zcml) uses more dependencies whihc are declared as extras_require['app'] | 00:46 |
projekt01 | srichter, pcardune, what do you think? | 00:46 |
pcardune | projekt01: I think that's a good idea | 00:47 |
pcardune | the way we are doing it is having extras_require for both tests and app | 00:47 |
*** greenman has joined #zope3-dev | 00:48 | |
projekt01 | me too, but I'm only here always that extra_reuqires is a bad idea | 00:48 |
projekt01 | srichter, ^^^? | 00:48 |
*** timte has quit IRC | 00:49 | |
srichter | projekt01: hold on | 00:51 |
*** greenman has quit IRC | 00:51 | |
projekt01 | whould 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 configuration | 00:52 |
srichter | yeah, I think extra_requires is okay in that way | 00:59 |
projekt01 | Ok, will fix that now | 01:00 |
projekt01 | pcardune, hold on I'm ready in a couple minutes | 01:00 |
pcardune | projekt01: ok :) | 01:01 |
*** benji has quit IRC | 01:03 | |
*** srichter has quit IRC | 01:03 | |
projekt01 | srichter, does install_requires get used all the time e.g. in extra_requires | 01:12 |
projekt01 | or do I need to duplicate the install_requires in extra_requires? | 01:12 |
*** b52laptop has joined #zope3-dev | 01:14 | |
*** whit has joined #zope3-dev | 01:18 | |
*** regebro has quit IRC | 01:23 | |
*** pcardune has quit IRC | 01:25 | |
*** whitmo has quit IRC | 01:25 | |
projekt01 | srichter, ayt? | 01:27 |
*** vimes656 has joined #zope3-dev | 01:28 | |
projekt01 | pcardune, zamplugin.navigation [app] should work again | 01:31 |
projekt01 | pcardune, srichter did you see my mail a week ago about IPasswordManager move from zope.app.authentication to zope.password | 01:32 |
projekt01 | what do you think could I do that move, nobody answered my mail, I guess it's Ok so, right? | 01:33 |
projekt01 | J1m, ayt? | 01:33 |
J1m | yes | 01:33 |
projekt01 | can I move the IPasswordManger to zope.password? | 01:33 |
projekt01 | from zope.app.authentication to zope.password | 01:33 |
projekt01 | It's only a global utility no persistence | 01:34 |
projekt01 | J1m, what do you think? | 01:34 |
J1m | sure as long as zope.app.authentication doesn't break. | 01:34 |
projekt01 | of corse ;-) | 01:34 |
J1m | But you should post your intention to the zope-dev list. | 01:35 |
projekt01 | should I add a deprecation message on the import from the new location? | 01:35 |
J1m | Their OK is more important than mine. | 01:35 |
J1m | why do you want to do this? | 01:35 |
J1m | I should have asked that first. | 01:36 |
projekt01 | I do not need zope.app.authentication but testing includes the IPasswordManager because of securitpolicy imports them from zope.app.authentication | 01:36 |
J1m | what testing? | 01:36 |
* projekt01 is looking ... | 01:37 | |
projekt01 | zope.app.securitypolicy.principalregistry does: | 01:38 |
projekt01 | from zope.app.authentication.interfaces import IPasswordManager | 01:38 |
projekt01 | I like to cleanup this dependeny | 01:38 |
projekt01 | also zope.app.server.zserver.py imports from zope.app.authentication | 01:38 |
J1m | Hm, I think it's probably a good idea to move this somewhere. | 01:39 |
J1m | It's not clear to me where. | 01:39 |
projekt01 | I think zope.app.authentication is a optional part (security.IAuthentication) and not core | 01:39 |
J1m | I don't think it's a good idea to create a new package. | 01:40 |
J1m | Maybe this should move to zope.app.security. | 01:40 |
projekt01 | As far as I can see only the password manager is required on some other parts of zope from zaop.app.authentication | 01:40 |
projekt01 | what do you think about zope.password? | 01:40 |
projekt01 | just a standalone package whitout any other dependency | 01:40 |
J1m | I don't think it's a good idea if it's only going to be an interface. | 01:41 |
J1m | This is too small to add another package. | 01:41 |
projekt01 | and the implementation | 01:41 |
projekt01 | we have three password manager and the configuration.zcml too | 01:41 |
J1m | Please bring this up on the zope-dev list. | 01:41 |
*** tarek has joined #zope3-dev | 01:41 | |
projekt01 | I did that last week nobody answered | 01:41 |
J1m | gaaaah | 01:42 |
*** tarek has quit IRC | 01:42 | |
projekt01 | ;-) | 01:42 |
projekt01 | J1m, 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 dependency | 01:43 |
projekt01 | what do you think is not good if we do so? | 01:44 |
J1m | I don't think this justifies another package. | 01:44 |
J1m | I'd rather see it in zope.app.security. | 01:44 |
J1m | and then maybe move the zpasswd script there. | 01:44 |
J1m | I'm -1 on creating another package for this. | 01:45 |
projekt01 | does zope.app.server depend on zope.app.security already? | 01:46 |
J1m | No,but the only thing that imports IPasswordManger there is zpasswd, which doesn't really belong in the server. | 01:47 |
projekt01 | Ah, I see | 01:47 |
J1m | Move zpasswd to zope.app.security and then you'll get what you want. | 01:47 |
J1m | You'll remove a dependency from both zope.app.server and zope.app.securitypolicy. | 01:48 |
*** greenman has joined #zope3-dev | 01:48 | |
projekt01 | Ok, sounds like a good idea | 01:49 |
projekt01 | J1m, sam old bad overall testing question, do you know which packages are using zpasswd.py? | 01:52 |
J1m | I doubt that anything is. | 01:52 |
J1m | It's just a script for setting the zcml password. | 01:52 |
J1m | it writes principals.zcml. | 01:53 |
projekt01 | Ah, I see, should I add BBB for this? | 01:53 |
*** rmarianski has quit IRC | 01:53 | |
*** nathany has quit IRC | 01:54 | |
*** norro has quit IRC | 01:54 | |
J1m | maybe, I'm not sure how zpasswd gets installed these days. I suspect not at all. :) | 01:54 |
J1m | In fact, if you made it a console script, it might be viewd by some as a gift. :) | 01:55 |
projekt01 | Ok, I found it in zpasswd.in template | 01:56 |
J1m | Yeah :) | 01:56 |
projekt01 | I can just adjust that import: from zope.app.server.zpasswd import main | 01:56 |
J1m | works for me. | 01:56 |
projekt01 | Ok | 01:57 |
projekt01 | probably there are some custom recipes out there which we don't know about | 01:57 |
J1m | I doubt that any of them deal with that. | 01:59 |
J1m | I wouldn't worry about it. | 01:59 |
J1m | gotta go. | 01:59 |
J1m | later | 01:59 |
*** sp0cksbeard has quit IRC | 01:59 | |
projekt01 | have a good weekend | 02:00 |
J1m | you too | 02:01 |
projekt01 | thanks | 02:01 |
*** alex_smith has quit IRC | 02:01 | |
*** J1m has quit IRC | 02:03 | |
*** jamur2 has quit IRC | 02:04 | |
*** vimes656 has quit IRC | 02:10 | |
projekt01 | srichter, ayt? | 02:22 |
*** RaFromBRC has quit IRC | 02:36 | |
*** RaFromBRC has joined #zope3-dev | 02:49 | |
*** reco has joined #zope3-dev | 02:50 | |
*** reco has joined #zope3-dev | 02:51 | |
*** reco has quit IRC | 02:53 | |
*** reco has joined #zope3-dev | 02:55 | |
*** shurik has joined #zope3-dev | 03:02 | |
shurik | if i have an adapter that implements one interface and adapts another, which interface is the adapter "providing"? | 03:05 |
*** shurik has quit IRC | 03:09 | |
projekt01 | shurik, implements | 03:11 |
projekt01 | if a class implements something it will provide that | 03:12 |
projekt01 | shurik, or you can say: a class implements and an instance (of this class) provides | 03:13 |
projekt01 | adapts defines for what objects this adapter could be used | 03:13 |
projekt01 | hope shurik, will read the logs ;-) | 03:14 |
*** greenman has quit IRC | 03:26 | |
*** djohnson has joined #zope3-dev | 03:35 | |
*** b52laptop has quit IRC | 03:51 | |
*** whit has quit IRC | 03:57 | |
*** MrTopf has quit IRC | 04:06 | |
*** mcdonc has quit IRC | 04:13 | |
*** greenman has joined #zope3-dev | 04:44 | |
*** djohnson has quit IRC | 05:01 | |
*** projekt01 has quit IRC | 05:14 | |
*** edgordon has joined #zope3-dev | 05:14 | |
*** niemeyer has quit IRC | 06:11 | |
*** reco has quit IRC | 06:51 | |
*** afd_ has joined #zope3-dev | 09:13 | |
*** RaFromBRC has quit IRC | 09:14 | |
*** philiKON_ has joined #zope3-dev | 09:23 | |
*** jukart has joined #zope3-dev | 09:32 | |
*** philiKON has quit IRC | 09:39 | |
*** benji has joined #zope3-dev | 10:00 | |
*** sm has quit IRC | 10:06 | |
*** timte has joined #zope3-dev | 10:12 | |
*** redir has joined #zope3-dev | 10:15 | |
*** redir has quit IRC | 10:21 | |
*** regebro has joined #zope3-dev | 10:24 | |
*** jodok has joined #zope3-dev | 10:48 | |
*** tarek has joined #zope3-dev | 10:49 | |
*** jodok_ has joined #zope3-dev | 10:58 | |
*** tarek has quit IRC | 11:03 | |
*** jukart has quit IRC | 11:04 | |
*** jukart has joined #zope3-dev | 11:10 | |
*** tarek has joined #zope3-dev | 11:13 | |
*** jodok has quit IRC | 11:19 | |
*** norro has joined #zope3-dev | 11:20 | |
*** jodok has joined #zope3-dev | 11:33 | |
*** jukart has quit IRC | 11:47 | |
*** jodok_ has quit IRC | 11:51 | |
*** jukart has joined #zope3-dev | 12:13 | |
*** dunny has quit IRC | 12:15 | |
*** jukart has quit IRC | 12:16 | |
*** tarek has quit IRC | 12:19 | |
*** edgordon has quit IRC | 12:41 | |
*** edgordon_ has joined #zope3-dev | 12:41 | |
*** edgordon_ has quit IRC | 12:42 | |
*** edgordon has joined #zope3-dev | 12:42 | |
*** malthe has joined #zope3-dev | 12:57 | |
*** malthe is now known as malthe|out | 13:21 | |
*** jukart has joined #zope3-dev | 13:27 | |
*** zagy has joined #zope3-dev | 13:28 | |
*** jukart has quit IRC | 13:29 | |
*** jukart has joined #zope3-dev | 13:32 | |
*** jukart has quit IRC | 13:34 | |
*** acsr has quit IRC | 13:41 | |
*** zagy has quit IRC | 13:50 | |
*** zagy has joined #zope3-dev | 13:50 | |
*** jukart has joined #zope3-dev | 13:54 | |
*** jukart has quit IRC | 13:56 | |
*** jukart has joined #zope3-dev | 14:03 | |
*** ktwilight has joined #zope3-dev | 14:10 | |
*** jukart has quit IRC | 14:17 | |
*** ktwilight_ has quit IRC | 14:23 | |
*** edgordon has quit IRC | 14:42 | |
*** afd_ has quit IRC | 15:39 | |
*** afd_ has joined #zope3-dev | 15:59 | |
*** tarek has joined #zope3-dev | 16:05 | |
*** tarek has quit IRC | 16:08 | |
*** dobee has joined #zope3-dev | 16:20 | |
*** tarek has joined #zope3-dev | 16:33 | |
*** projekt01 has joined #zope3-dev | 16:37 | |
*** dobee has quit IRC | 16:54 | |
projekt01 | Theuni, ayt? | 17:15 |
projekt01 | philiKON_, benji, zagy, tarek, regebro or anybody else can you check my last mail (Dependencies) to the zope-dev list and agree? | 17:20 |
benji | projekt01: I don't agree; we discussed this on the list several months ago. | 17:20 |
projekt01 | what does this mean? | 17:21 |
benji | heh | 17:21 |
projekt01 | does this install the testing packages on every project | 17:21 |
benji | that'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 |
regebro | The problem is if the testing packages has a lot of dependencies. i don' | 17:23 |
regebro | tdon' | 17:23 |
regebro | don't know if they do. | 17:23 |
projekt01 | they bring in rotterdam etc. | 17:23 |
regebro | That sucks. | 17:24 |
projekt01 | are you sure rotterdam should live on every server??? | 17:24 |
projekt01 | benji, that's not only bad that's just wrong | 17:24 |
benji | sounds like the tests should be fixed | 17:24 |
regebro | Yeah, rotterdam should not need to be installed just because you have tests. | 17:25 |
projekt01 | haha | 17:25 |
regebro | If the test packages really need Rotterdam for something, they should probably be split up. | 17:25 |
projekt01 | benji, test belong to test extras at any time, there is really no need to discuss that | 17:26 |
benji | projekt01: read the archives, if you have a new argument, feel free to post | 17:26 |
projekt01 | any package which is not needed at production server has not the be a part if install_requires | 17:26 |
projekt01 | I do not have to read that, I nok the discussions, it's just wrong to install test packages on production server, right? | 17:27 |
benji | no, it's wrong to install something different on a production server than you tested | 17:27 |
projekt01 | benji, 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 |
benji | fixing the dependencies is the way to fix that problem | 17:28 |
projekt01 | benji, you don't understand I don't need dublincore at all on my server, other testing packages install that | 17:28 |
benji | fixing the dependencies is the way to fix that problem | 17:29 |
projekt01 | benji, you really don't understand, do you really think my production app schoul depend on zope.app.testing? | 17:29 |
projekt01 | banji, my app is tested within zope.app.testing during development, my production app does not depend on zope.app.testing. right? | 17:30 |
projekt01 | right now my production app depends on zope.app.teesting, that's just wrong | 17:31 |
projekt01 | my production app could be tested with zope.app.testing, but doesn't need that as dependency | 17:32 |
projekt01 | benji, I'm pretty sure that your custom app contains the testing code in their packages, my test are separated in own packages for prodution apps | 17:33 |
projekt01 | this makes testing code optional if it comes to deployment | 17:33 |
afd_ | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\jAQzs\ | 17:36 |
afd_ | p'[:::::: | 17:36 |
projekt01 | my 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 |
projekt01 | test code should be optional and extra_requires is the way to go for cut the dependency | 17:38 |
afd_ | sorry, cat over keyboard | 17:39 |
*** tarek has quit IRC | 17:44 | |
*** projekt01 has quit IRC | 18:37 | |
*** sm has joined #zope3-dev | 18:43 | |
*** tuxella has joined #zope3-dev | 18:51 | |
tuxella | 'lo all | 18:51 |
*** tuxella has quit IRC | 18:52 | |
*** tuxella has joined #zope3-dev | 18:52 | |
*** tuxella has joined #zope3-dev | 18:53 | |
*** jamur2 has joined #zope3-dev | 18:55 | |
*** mgedmin has joined #zope3-dev | 19:11 | |
*** whitmo_ has joined #zope3-dev | 19:17 | |
*** jamur2 has quit IRC | 19:22 | |
*** whitmo_ has quit IRC | 19:28 | |
*** whitmo__ has joined #zope3-dev | 19:31 | |
*** Jell-O-Fishi has joined #zope3-dev | 19:31 | |
*** whitmo___ has joined #zope3-dev | 19:32 | |
*** whitmo___ has quit IRC | 19:48 | |
*** rocky has quit IRC | 19:51 | |
*** whitmo__ has quit IRC | 19:51 | |
*** rocky has joined #zope3-dev | 19:55 | |
*** mcdonc has joined #zope3-dev | 20:08 | |
*** afd_ has quit IRC | 20:26 | |
*** jukart has joined #zope3-dev | 20:40 | |
*** sunew has joined #zope3-dev | 20:44 | |
*** sunew has quit IRC | 20:44 | |
*** mgedmin has quit IRC | 20:48 | |
*** sp0cksbeard has joined #zope3-dev | 20:49 | |
*** jukart has quit IRC | 20:51 | |
*** mgedmin has joined #zope3-dev | 21:02 | |
*** tomus has joined #zope3-dev | 22:03 | |
*** jodok has quit IRC | 22:03 | |
*** jodok has joined #zope3-dev | 22:04 | |
*** sp0cksbeard has quit IRC | 22:14 | |
*** reco has joined #zope3-dev | 22:30 | |
*** jukart has joined #zope3-dev | 22:34 | |
*** mgedmin has quit IRC | 22:43 | |
*** jodok has quit IRC | 22:46 | |
*** tomus has quit IRC | 22:54 | |
*** jukart has quit IRC | 23:14 | |
*** dunny has joined #zope3-dev | 23:51 | |
*** zagy has quit IRC | 23:52 | |
*** srichter has joined #zope3-dev | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!