*** norro has quit IRC | 00:24 | |
*** benji has quit IRC | 00:30 | |
*** philiKON has joined #zope3-dev | 00:33 | |
*** zenwryly` has joined #zope3-dev | 00:35 | |
*** zenwryly has quit IRC | 00:35 | |
*** zenwryly` is now known as zenwryly | 00:36 | |
*** edgordon has left #zope3-dev | 00:47 | |
*** pan has joined #zope3-dev | 00:48 | |
pan | hello. | 00:48 |
---|---|---|
*** gstratton_ has joined #zope3-dev | 00:51 | |
pan | i have little problem (hey, how many ppl say that here ;-)). Im trying to create objects and place them in some folder. Im using formlibs for creating objects and applyChanges for write data from form to this object. And for now it is ok. Under ZMI i created folder (for example Folder1). Now the tricky question - how can i put this object in this folder? how can i get this folder object from zope? | 00:52 |
pan | i didnt specify constraints in interfaces, becouse i would like to put this object under few folders. im not sure if it ok? | 00:53 |
*** lucielejard has quit IRC | 00:58 | |
pan | anybody alive? | 00:58 |
*** philiKON has quit IRC | 01:00 | |
sm | hi pan | 01:03 |
pan | hi sm :-) | 01:04 |
sm | I don't know formlibs | 01:04 |
sm | I know you can do that sort of thing using the OFS api.. one way to discover that is to look at what the ZMI forms do | 01:05 |
*** regebro has left #zope3-dev | 01:05 | |
pan | OFS api? | 01:05 |
pan | im googling for that | 01:05 |
pan | but sm... perhaps i will tell you what i want to achive, and you will tell me if am right.. perhaps i have some problems with understand of zope3 architecture... can it be? | 01:06 |
sm | sounds good | 01:06 |
sm | (I went to wiki.zope.org/zope2/api , searched for OFS, clicked first link, then Folder | 01:07 |
pan | zope2? | 01:07 |
sm | ok, you're using zope3. so ignore my answers :) | 01:07 |
pan | hehe ;-) | 01:07 |
*** gstratton has quit IRC | 01:07 | |
pan | but you know zope3? | 01:07 |
sm | not very well | 01:07 |
pan | i see. ok. here it goes: i will try to describe it on some example. i have users and roles (in my own application, not roles in zope) | 01:08 |
*** rcrafton has quit IRC | 01:08 | |
pan | now, that i later want to search on user and roles and so on i create folders, for example FolderUser, FolderRole, right? | 01:08 |
pan | and later, i want to connect Roles and Users. User1 will have Role1 and Role2, User2 will have Role1 and Role3 (just example). | 01:09 |
*** gstratton has joined #zope3-dev | 01:09 | |
pan | as i understand i have to create new Folder, for example UserRoles | 01:10 |
pan | where i will have Folders named as users and under those foleders i will have roles objects | 01:10 |
pan | am i right? | 01:10 |
sm | ack, I'm even on the #zope3-dev channel.. thought it was #zope | 01:11 |
* sm waits for expert advice | 01:11 | |
pan | later, if i will want to list for example roles of user i will have to open UserRoles folder, find folder thats name is like user and check it contents (that will be role objects) | 01:12 |
pan | is that ok for now? | 01:12 |
pan | huhu? | 01:16 |
*** timte has quit IRC | 01:17 | |
sm | isn't there an existing user/roles lib that you might use ? | 01:17 |
pan | this is just example. im talking about thing that: you have a class, b class, c class. and you want to connect between them | 01:18 |
pan | how to do that | 01:18 |
*** MJ has quit IRC | 01:22 | |
sm | I would guess either containment, or the relation manager that is probably described in the zope 3 books | 01:24 |
pan | im reading zope3 books, api, and all tutorials and everything what i can find but i didnt hear about realtion manager ? | 01:25 |
sm | looking in the one on my bookshelf.. well, not there | 01:25 |
pan | :) | 01:25 |
sm | I'm going from old proposals I found on the zope3 wiki | 01:25 |
pan | where it is? | 01:26 |
*** junkafarian_ has quit IRC | 01:26 | |
sm | http://wiki.zope.org/zope3/RelationshipService .. I would wait for a better answer here and/or try the mail ist | 01:27 |
sm | list | 01:27 |
sm | the answer will be simple | 01:31 |
*** vlado has joined #zope3-dev | 01:31 | |
*** gstratton_ has quit IRC | 01:33 | |
*** gstratton_ has joined #zope3-dev | 01:33 | |
*** malthe has quit IRC | 01:34 | |
*** gstratton has quit IRC | 01:41 | |
*** aclark|10 is now known as aclark | 01:47 | |
pan | sm: i got how to do that ;-) | 01:58 |
*** rmarianski has quit IRC | 02:06 | |
*** redir has joined #zope3-dev | 02:13 | |
*** gstratton_ has quit IRC | 02:13 | |
*** redir has quit IRC | 02:20 | |
*** redir has joined #zope3-dev | 02:21 | |
*** redir has joined #zope3-dev | 02:21 | |
*** nathany has quit IRC | 02:24 | |
*** vlado_ has joined #zope3-dev | 02:32 | |
*** vlado has quit IRC | 02:32 | |
*** J1m has quit IRC | 02:35 | |
*** redir has quit IRC | 02:41 | |
*** aclark is now known as aclark|away | 02:42 | |
*** tarek_ has quit IRC | 02:45 | |
*** fdrake has joined #zope3-dev | 02:46 | |
fdrake | Can someone with PyPI privs for zope.app.zcmlfiles add me to that project? | 02:47 |
fdrake | Time to make a release. ;-) | 02:47 |
fdrake | PyPI says the following people can do that: srichter, projekt01, ctheune, J1m, baijum | 02:48 |
* fdrake suspects srichter isn't really here right now... | 02:48 | |
srichter | fdrake: actually I am ;-) | 02:51 |
fdrake | Aha! The truth will out! | 02:51 |
srichter | fdrake: you are all set | 02:52 |
fdrake | Thanks! | 02:52 |
fdrake | Whee! All done. ;-) | 02:52 |
srichter | I am working on the zope.app packages again too | 02:53 |
fdrake | Heh. I'm just trying to get rid of deprecation warnings so I can see if the tests for my projects are passing. ;-) | 02:53 |
srichter | fdrake: yep | 02:54 |
fdrake | Can't see the forest for the deprecations.... | 02:54 |
srichter | fdrake: btw, can Jim's sourcerelease work be used to create a Zope 3.4 source release? | 02:54 |
fdrake | No idea; I only glanced briefly at the README in the commit message just now. | 02:55 |
*** vlado_ has quit IRC | 02:55 | |
fdrake | I think Benji might know a little more about it, but it didn't sound like he knew much about it. | 02:55 |
srichter | fdrake: me too ;-) | 02:56 |
fdrake | Looks like I'll need to release zope.app.authentication, too. | 02:57 |
* fdrake goes to look more carefully.... | 02:57 | |
fdrake | Yeah, I'll need PyPI privs for that one too. | 02:58 |
srichter | fdrake: you are set on z.a.authentication too | 02:58 |
fdrake | Thanks! | 02:58 |
fdrake | How about zope.app.i18n while we're at it? ;-) Looks like I'm getting one from there too. | 03:02 |
fdrake | If I'm not careful, my package list will be almost as long as Jim's real soon now... ;-) | 03:03 |
*** edgordon has joined #zope3-dev | 03:08 | |
*** redir has joined #zope3-dev | 03:12 | |
fdrake | srichter: I'm going to let you take care of zope.app.apidoc. ;-) | 03:21 |
*** whit has quit IRC | 03:23 | |
*** niemeyer has quit IRC | 03:25 | |
*** J1m has joined #zope3-dev | 03:31 | |
fdrake | J1m! I need PyPI access to zope.app.i18n now, too. ;-) | 03:33 |
srichter | fdrake: I should write a testbrowser script to add someone to all projects I can add roles for | 03:34 |
*** redir has quit IRC | 03:34 | |
fdrake | :-) | 03:34 |
srichter | fdrake: z.a.i18n done | 03:34 |
*** whit has joined #zope3-dev | 03:34 | |
fdrake | Thanks! | 03:34 |
fdrake | J1m: nevermind... | 03:35 |
ignas | anyone familiar with CAS authentication? | 03:39 |
fdrake | Argh! zope.app.i18n's README.txt and PyPI ("setup.py register") don't get along. :-( | 03:39 |
*** rocky is now known as rocky|Zzz | 03:39 | |
*** redir has joined #zope3-dev | 03:43 | |
*** J1m has quit IRC | 03:45 | |
sm | good pan.. so what was the answer ? | 03:46 |
*** redir has quit IRC | 03:48 | |
*** ignas has quit IRC | 03:51 | |
srichter | fdrake: yeah, that happened to me too | 03:53 |
srichter | fdrake: if that happens, I XML escape the text | 03:53 |
srichter | then it is uploaded in plain text | 03:54 |
fdrake | found it... someone must have edited the text with a Mac. | 03:54 |
srichter | oh, darn | 03:54 |
fdrake | There was a checkmark instead of a V, and I broke that when I edited it (on a Mac too, no less). | 03:54 |
fdrake | And finally, I can see the test layer setup noise from the test runner. ;-) | 03:56 |
srichter | he he | 03:57 |
fdrake | srichter: Are you planning on an apidoc release tonight? | 04:05 |
fdrake | That's one of the two remaining deprecation warnings I'm seeing. | 04:05 |
fdrake | I fixed the warning on the trunk, but haven't cut a release. | 04:06 |
fdrake | Hoping that you'd do one soon enough. ;-) | 04:06 |
*** b52laptop has quit IRC | 04:07 | |
*** tjs has joined #zope3-dev | 04:09 | |
tjs | anyone using zopeproject? | 04:09 |
srichter | fdrake: I am working down the unreleased list first | 04:10 |
fdrake | There's a list? | 04:10 |
tjs | wondering if anyone has configured buildbot to handle buildout/test layers | 04:10 |
srichter | fdrake: yeah | 04:10 |
fdrake | Ok, well... I'll cut an apidoc release then. Just to be selfish. ;-) | 04:11 |
srichter | fdrake: http://wiki.zope.org/zope3/StabilizeEggPackages | 04:11 |
srichter | fdrake: actually, thanks | 04:11 |
fdrake | Hmm. Some of the ones I've released should probably go in the Zope 3 mongo-checkout, if that's still being maintained. | 04:12 |
fdrake | Haven't used it in quite a while myself. | 04:13 |
srichter | fdrake: actually, have you looked at the Zope 3.4 index I have been building? | 04:14 |
fdrake | index? | 04:15 |
*** tjs has quit IRC | 04:15 | |
fdrake | Is that apidoc.zope.org? | 04:15 |
srichter | no, it is an index like ppix, but it locks in versions | 04:15 |
fdrake | Ah, no, I've mostly ignored that discussion, 'cause it confuses me. | 04:16 |
srichter | download.zope.org/zope3.4 | 04:16 |
fdrake | I don't think I could use a raw 3.4 anyway. | 04:16 |
fdrake | (Even with the added packages for my apps.) | 04:16 |
srichter | well, but you probably want to use a stable working set :-) | 04:16 |
fdrake | There are a bunch of things that I use more up-to-date versions than are going to be in 3.4. | 04:17 |
srichter | you can still do that | 04:17 |
fdrake | I'd say the set I'm using is stable. Just has too many deprecation warnings. ;-) | 04:17 |
srichter | well, but you have to maintain it and it will not do bug release updates for you | 04:18 |
fdrake | Yes, but once I've overridden enough versions to get new feature releases, the original set doesn't mean much. | 04:18 |
fdrake | I don't want it to do bug release updates; those are still updates. | 04:18 |
fdrake | Updates are bad. ;-) | 04:19 |
srichter | ok, if you think so | 04:19 |
srichter | :-) | 04:19 |
fdrake | Any update is a change, and change is risk. | 04:20 |
fdrake | We have to manage that very carefully. | 04:20 |
fdrake | (Obviously.) | 04:20 |
srichter | but depending on the type of update the risk level changes dramatically | 04:20 |
fdrake | Only introducing change when needed helps is control when we have "general update" changes. | 04:20 |
fdrake | Yes, agreed. | 04:21 |
srichter | and that actually makes using a common stable set that much more important, so that you are not the only one maintaining it | 04:21 |
*** lisppaste6 has quit IRC | 04:21 | |
srichter | the Zope 3.4 index has a version.cfg file that you can download to lock all versions | 04:21 |
fdrake | If you stay fairly close to one "known good set", that's probably a reasonable approach to take. | 04:23 |
fdrake | Getting near that after there's been so much wild-west in the satellite package releases isn't trivial. | 04:23 |
fdrake | srichter: I'll need privs for zope.app.onlinehelp, too. ;-) | 04:25 |
fdrake | srichter: And zope.app.apidoc. | 04:26 |
srichter | fdrake: done | 04:27 |
fdrake | Thanks! | 04:27 |
*** lisppaste6 has joined #zope3-dev | 04:27 | |
*** aclark|away is now known as aclark | 04:33 | |
*** RaFromBRC has quit IRC | 04:34 | |
fdrake | We deprecate too much in Zope 3. :-/ | 04:47 |
*** stub has joined #zope3-dev | 04:48 | |
srichter | fdrake: we just did it without having something stable to work with | 05:00 |
srichter | current deprecations are usually just simple moves | 05:00 |
fdrake | Yes, but they are a lot of them, and many of the packages were in use. | 05:00 |
srichter | right, that's were the missing stable set comes inplace | 05:01 |
srichter | I think once we have that stable set, things will become much more sane | 05:01 |
fdrake | I think as soon as packages are non-alpha, they shouldn't grow more deprecation warnings. | 05:02 |
fdrake | I think *that* has been violated a few times with all the moves. | 05:03 |
srichter | fdrake: so how do we progress then? | 05:03 |
srichter | I did a mistake in advising Roger to not make a new major version after the changes | 05:03 |
fdrake | If something should be moved, it can be, but the old entry point should be maintained without a deprecation warning. | 05:04 |
srichter | I definitely learned that | 05:04 |
srichter | huh, interesting | 05:04 |
srichter | why? | 05:04 |
fdrake | Because it's already part of the public API at that point. | 05:04 |
fdrake | "beta" means the API is frozen, and a deprecation warning means the API is changing. | 05:05 |
srichter | but you need to be able to change public API sometimes | 05:05 |
fdrake | You can extend the API (with a new feature release); you can't remove API. | 05:05 |
fdrake | A deprecation is a removal in the future. | 05:06 |
srichter | but what if the API is wrong? | 05:06 |
fdrake | Then create a new one that isn't. | 05:06 |
srichter | then you have package proliferation, which I think is a worse issue | 05:07 |
fdrake | If it's really wrong, it should be discovered before beta. | 05:07 |
srichter | I disagree | 05:07 |
srichter | that's programming with anticipation | 05:07 |
fdrake | So add the new API to an existing package, and make a new feature release. | 05:07 |
srichter | when we originally started the CA, we could have never thought that services and views are superfluous concepts, for example | 05:08 |
*** replicant has joined #zope3-dev | 05:08 | |
fdrake | You can document away the old API, but removing it is a really big deal. | 05:08 |
fdrake | I also worry about package proliferation far less than you do, I think. | 05:08 |
srichter | yeah, I think we value API removal versus package proliferation differently | 05:09 |
fdrake | I've also no objection to a package providing many APIs to some underlying functionality. | 05:10 |
fdrake | Some may fall out of favor if others are easier to use and/or more powerful. | 05:10 |
fdrake | But code that found the older API sufficient should continue to be happy with it. | 05:11 |
srichter | I think this should be publically discussed on the mailing list, so that we can get a policy set in stone | 05:11 |
*** replicant has quit IRC | 05:11 | |
srichter | the problem with that last argument is that you will grow more and more incompatible | 05:11 |
srichter | I think an explicit deprecation/removal is less painful than an implicit one | 05:12 |
srichter | implicit in the sense, that other packages you want to use have the new API and you will eventually be forced to update, but you might not detect this easily | 05:13 |
fdrake | It's been discussed a million times; it's the consensus that's the hard part. ;-) | 05:13 |
fdrake | But that's just it: I don't want other packages to be forced to update if the older API was sufficient for them. | 05:13 |
fdrake | That's /exactly/ the point. | 05:14 |
*** alecm has quit IRC | 05:15 | |
*** edgordon has quit IRC | 05:29 | |
*** greenman has quit IRC | 05:31 | |
*** stub has quit IRC | 05:32 | |
*** fdrake has left #zope3-dev | 06:02 | |
*** baijum has joined #zope3-dev | 06:06 | |
*** [1]Doc_Dan has joined #zope3-dev | 06:36 | |
*** Doc_Dan has quit IRC | 06:52 | |
*** [1]Doc_Dan is now known as Doc_Dan | 06:52 | |
*** aclark is now known as aclark|away | 06:57 | |
*** dunny has joined #zope3-dev | 07:03 | |
*** greenman has joined #zope3-dev | 07:04 | |
*** afd_ has joined #zope3-dev | 07:31 | |
*** dobee has quit IRC | 07:48 | |
*** dobee has joined #zope3-dev | 07:49 | |
*** quodt has joined #zope3-dev | 08:03 | |
*** jukart has joined #zope3-dev | 08:19 | |
*** jukart has quit IRC | 08:26 | |
*** baijum has quit IRC | 08:28 | |
*** afd__ has joined #zope3-dev | 08:47 | |
*** sorin has joined #zope3-dev | 08:51 | |
*** jukart has joined #zope3-dev | 08:51 | |
*** sorin is now known as sorindregan | 08:51 | |
*** cursor has joined #zope3-dev | 09:00 | |
*** afd_ has quit IRC | 09:02 | |
*** baijum has joined #zope3-dev | 09:06 | |
*** Jell-O-Fishi has quit IRC | 09:17 | |
*** zagy has joined #zope3-dev | 09:19 | |
*** greenman has quit IRC | 09:21 | |
*** greenman has joined #zope3-dev | 09:25 | |
*** agroszer has joined #zope3-dev | 09:26 | |
romanofski | morjens :) | 09:33 |
*** quodt has quit IRC | 09:38 | |
*** afd___ has joined #zope3-dev | 09:41 | |
*** jodok has joined #zope3-dev | 09:47 | |
*** jodok has quit IRC | 09:48 | |
*** jodok has joined #zope3-dev | 09:49 | |
*** afd__ has quit IRC | 09:50 | |
*** quodt has joined #zope3-dev | 09:57 | |
*** harobed has joined #zope3-dev | 10:10 | |
*** pelle__ has joined #zope3-dev | 10:14 | |
*** timte has joined #zope3-dev | 10:16 | |
*** jukart has quit IRC | 10:16 | |
*** quodt has quit IRC | 10:17 | |
*** gstratton has joined #zope3-dev | 10:17 | |
*** jukart has joined #zope3-dev | 10:18 | |
*** schwendinger has joined #zope3-dev | 10:18 | |
*** quodt has joined #zope3-dev | 10:19 | |
*** pelle__ has quit IRC | 10:19 | |
*** pelle__ has joined #zope3-dev | 10:20 | |
*** pelle__ has quit IRC | 10:20 | |
*** pelle__ has joined #zope3-dev | 10:20 | |
*** malthe has joined #zope3-dev | 10:25 | |
*** pan_ has joined #zope3-dev | 10:30 | |
harobed | since zope3-dev mailing list has moved to zope-dev nobody speak about Zope3 :( | 10:33 |
*** ghendi has joined #zope3-dev | 10:34 | |
*** davidstryker has joined #zope3-dev | 10:35 | |
*** afd___ is now known as afd_ | 10:37 | |
zagy | heh | 10:46 |
*** pan has quit IRC | 10:46 | |
*** davidstryker has left #zope3-dev | 10:47 | |
*** tarek has joined #zope3-dev | 10:56 | |
*** gstratton has quit IRC | 10:56 | |
timte | harobed: or hopefully people are just busy | 10:59 |
harobed | timte: may be | 10:59 |
*** sm has quit IRC | 11:02 | |
*** sm has joined #zope3-dev | 11:03 | |
*** arnarl has joined #zope3-dev | 11:05 | |
*** ktwilight_ has joined #zope3-dev | 11:11 | |
*** quodt has quit IRC | 11:22 | |
*** quodt has joined #zope3-dev | 11:24 | |
*** jukart has quit IRC | 11:24 | |
*** schwendinger has quit IRC | 11:24 | |
*** stub has joined #zope3-dev | 11:25 | |
*** ktwilight has quit IRC | 11:26 | |
*** ktwilight has joined #zope3-dev | 11:26 | |
*** schwendinger has joined #zope3-dev | 11:29 | |
*** ktwilight_ has quit IRC | 11:31 | |
*** jukart has joined #zope3-dev | 11:32 | |
*** chacha_chaudhry has joined #zope3-dev | 11:32 | |
*** MJ has joined #zope3-dev | 11:41 | |
*** arnarl has quit IRC | 11:56 | |
*** thruflo has joined #zope3-dev | 12:06 | |
*** jukart has quit IRC | 12:15 | |
*** jukart has joined #zope3-dev | 12:19 | |
*** vlado has joined #zope3-dev | 12:25 | |
*** ccomb has quit IRC | 12:32 | |
*** dunny has quit IRC | 12:54 | |
*** dunny has joined #zope3-dev | 12:56 | |
*** bigkevmcd has quit IRC | 12:57 | |
*** bigkevmcd has joined #zope3-dev | 13:01 | |
*** mkerrin has joined #zope3-dev | 13:02 | |
*** rocky has joined #zope3-dev | 13:22 | |
*** rocky|Zzz has quit IRC | 13:24 | |
*** b52laptop has joined #zope3-dev | 13:25 | |
*** Doc_Dan has quit IRC | 13:27 | |
*** rocky has quit IRC | 13:40 | |
*** rocky has joined #zope3-dev | 13:40 | |
*** ccomb has joined #zope3-dev | 13:47 | |
*** regebro has joined #zope3-dev | 13:52 | |
*** davidstryker has joined #zope3-dev | 13:54 | |
*** davidstryker has left #zope3-dev | 13:56 | |
*** MJ is now known as MJ|lunch | 14:04 | |
*** ghendi has quit IRC | 14:04 | |
*** deo has joined #zope3-dev | 14:08 | |
*** Doc_Dan has joined #zope3-dev | 14:17 | |
*** pelle__ has quit IRC | 14:19 | |
*** ghendi has joined #zope3-dev | 14:20 | |
*** niemeyer has joined #zope3-dev | 14:21 | |
*** pelle__ has joined #zope3-dev | 14:29 | |
*** cursor has quit IRC | 14:33 | |
*** greenman has quit IRC | 14:35 | |
*** projekt01 has joined #zope3-dev | 14:35 | |
*** afd_ has quit IRC | 14:42 | |
*** arnarl has joined #zope3-dev | 14:47 | |
*** thruflo has quit IRC | 14:53 | |
*** ignas has joined #zope3-dev | 15:04 | |
*** cursor has joined #zope3-dev | 15:05 | |
*** afd_ has joined #zope3-dev | 15:05 | |
*** Ariel_Calzada has joined #zope3-dev | 15:07 | |
arnarl | what are the correct magic incantations to create an egg from a zopeproject created application? | 15:09 |
arnarl | I tried 'python setup.py bdist_egg', but that only packaged the python files. | 15:10 |
*** benji has joined #zope3-dev | 15:14 | |
*** [1]Doc_Dan has joined #zope3-dev | 15:30 | |
*** Doc_Dan has quit IRC | 15:34 | |
*** [1]Doc_Dan is now known as Doc_Dan | 15:34 | |
*** MJ|lunch is now known as MJ | 15:36 | |
*** ccomb has quit IRC | 15:37 | |
*** mgedmin has joined #zope3-dev | 15:39 | |
*** jfroche has joined #zope3-dev | 15:47 | |
baijum | arnarl, May be you can use PastScript as used in http://pypi.python.org/pypi/zcontact | 15:57 |
arnarl | baijum: thnx, checking it out now | 16:01 |
baijum | arnarl, welcome ! | 16:01 |
*** J1m has joined #zope3-dev | 16:06 | |
arnarl | ah, I was missing a MANIFEST.in file | 16:15 |
*** cursor has quit IRC | 16:15 | |
arnarl | baijum: thnx again. That solved it | 16:15 |
baijum | arnarl, np | 16:16 |
srichter | J1m: good morning; can zc.sourcerelease -- once done -- be used to create a Zope 3.4 tar ball, or is it for producing source releases that do not have incorrect PYC files? | 16:16 |
*** Ariel_Calzada has quit IRC | 16:18 | |
*** Doc_Dan has quit IRC | 16:32 | |
*** mgedmin has quit IRC | 16:43 | |
*** rcrafton has joined #zope3-dev | 16:43 | |
*** mgedmin has joined #zope3-dev | 16:47 | |
*** alecm has joined #zope3-dev | 16:47 | |
*** alecm has quit IRC | 16:51 | |
J1m | srichter, It could be used to create Zope source releases. | 16:51 |
srichter | J1m: cool | 16:52 |
J1m | Note that they will still be egg based, which is a significant departure from the original plan for 3.4. | 16:52 |
srichter | I see; maybe we can do both | 16:52 |
J1m | zc.sourcerelease mainly allows the downloads to be done up front. | 16:52 |
J1m | riiiight | 16:53 |
srichter | no seriously | 16:53 |
J1m | no doubt :) | 16:53 |
srichter | oh, but I like the downloads up-front feature | 16:53 |
J1m | It gives you a self-contained source release. Which is often needed, | 16:54 |
srichter | yep, this is very cool | 16:55 |
srichter | it also reduces the load on the package servers | 16:55 |
srichter | ... and dependence on their availability | 16:55 |
*** chacha_chaudhry has quit IRC | 16:55 | |
J1m | Yes | 16:55 |
J1m | we deploy via rpm in part for that reason. | 16:56 |
J1m | the source release will make bulding rpms saner. | 16:56 |
J1m | But we're also using internakl servers for many projects anyway. | 16:56 |
srichter | that's good news for all distribution packagers, I think | 16:56 |
J1m | yes | 16:56 |
srichter | they really do not like eggs too much yet | 16:56 |
J1m | they especially don't like how we use eggs. | 16:57 |
srichter | right | 16:57 |
J1m | They don't mind distributing eggs using system packaging. | 16:57 |
J1m | They don't like that apps have their own eggs. | 16:57 |
* benji loves the internakl servers. | 16:57 | |
srichter | right | 16:58 |
* J1m loves the intranakl servers too | 16:58 | |
srichter | intranakl? | 16:58 |
J1m | within nakls. | 16:58 |
benji | as opposed to extranackular | 16:59 |
J1m | Yeah, that can be pretty unreliable. | 16:59 |
benji | This is like the teletype version of the Jim and Benji Show. | 16:59 |
*** sorindregan has quit IRC | 17:02 | |
*** davidstryker has joined #zope3-dev | 17:03 | |
*** davidstryker has left #zope3-dev | 17:03 | |
*** baijum has quit IRC | 17:03 | |
*** pan_ has left #zope3-dev | 17:07 | |
*** pan_ has joined #zope3-dev | 17:07 | |
pan_ | hello srichter, J1m, benji... nice to see somebody here alive :-) | 17:10 |
*** Doc_Dan has joined #zope3-dev | 17:17 | |
*** alecm has joined #zope3-dev | 17:22 | |
*** pelle__ has quit IRC | 17:25 | |
*** rmarianski has joined #zope3-dev | 17:27 | |
*** Rolando has joined #zope3-dev | 17:30 | |
*** jfroche_ has joined #zope3-dev | 17:33 | |
pan_ | what is difference between catalog and folder? | 17:38 |
*** vlado has quit IRC | 17:38 | |
pan_ | as i see in API, ICatalog has possibility of indexing... | 17:39 |
*** mgedmin_ has joined #zope3-dev | 17:39 | |
*** MJ is now known as MJ|out | 17:41 | |
*** mkerrin has quit IRC | 17:41 | |
*** zagy has quit IRC | 17:43 | |
J1m | Catalog's primary purpose is to support indexes search. | 17:43 |
J1m | It happens to be a container of its indexes. | 17:43 |
J1m | It is not a general purpose container. | 17:43 |
*** mgedmin has quit IRC | 17:43 | |
pan_ | So i should use folder instead of catalog? | 17:44 |
J1m | If you want a general purpose container, yes | 17:45 |
pan_ | But if i will later would like to search for some kind of objects in this folder? | 17:45 |
*** jfroche has quit IRC | 17:45 | |
J1m | then you would *also* use a catalog. | 17:46 |
pan_ | for example folder will be "Messages" and there will be some kind of messages for some users. and i will want to find messages for logged user. | 17:46 |
* J1m hopes this is covered in the book. | 17:46 | |
pan_ | which one book :-) ? | 17:46 |
J1m | sorry, I don't have time to get this deeply engaged. | 17:46 |
pan_ | ok. sorry J1m. there is not to much help on net with zope3 :/ | 17:47 |
J1m | http://worldcookery.com/WhereToBuy | 17:47 |
pan_ | book for programmers on the site is deprecated, but yes, it gives some kind of vision how zope3 should work. | 17:47 |
*** [1]Doc_Dan has joined #zope3-dev | 17:47 | |
timte | pan_: http://worldcookery.com/ | 17:47 |
pan_ | my friend has this book. i borrowed it and read it. but i still dont understand some things. Folder/Catalogs and connecting objects are clearly explained | 17:49 |
pan_ | im talking about wordlcookery. | 17:49 |
pan_ | i mean "arent clearly expalined" | 17:49 |
J1m | If you bought the book, you would understand it. ;) | 17:49 |
J1m | In fact, it becomes clearer the more copies you buy. ;) | 17:50 |
timte | :) | 17:50 |
pan_ | so, you are telling me to use zope3 opensource platform i should buy book, to understand HOW opensource platform is working =) ? | 17:50 |
*** Doc_Dan has quit IRC | 17:50 | |
*** [1]Doc_Dan is now known as Doc_Dan | 17:50 | |
timte | why not? | 17:51 |
pan_ | cos it is not correct with opensource rules ;-) | 17:51 |
timte | or read tutorials and source code | 17:51 |
pan_ | "take windows for free, but to use it you should buy book!" | 17:51 |
timte | didn't know windows was free :) | 17:52 |
pan_ | tutorials are simple and dont cover a lot of things :/ look on php/java/asp tutorials.. on zope3 wiki there is onle few, simple tutorials. | 17:52 |
pan_ | idea of containers/folders and so on is not clear for newbies. yesterday i spent 2 hours to discover, that to use folders i have to register them and use as utility ;-) | 17:53 |
J1m | I guess you want one of us to take time off from earning a living to give you in-depth help for free. Good luck. | 17:53 |
mgedmin_ | 8-? | 17:53 |
J1m | Of course, I was kidding about buying the book. You can tell by the winks. ";)". | 17:53 |
pan_ | J1m: no no. really not. sorry if it sounds like that. | 17:53 |
mgedmin_ | what sort of folders and how are you using them if you need those utility registrations? | 17:53 |
timte | messages = Folder() | 17:55 |
timte | messages['msg1'] = Message() | 17:55 |
mgedmin_ | lisppaste6: url | 17:55 |
lisppaste6 | To use the lisppaste bot, visit http://paste.lisp.org/new/zope3-dev and enter your paste. | 17:55 |
timte | uh? | 17:55 |
pan_ | mgedmin_: just simple example. i have users and those users will have some objects like i.e.: messages, pictures, texts. when user create new message, we have to connect this message with some other user, for whom this message is. right? so i have to put this in folder. | 17:55 |
pan_ | timte: yes. but you give me example with creating folder. but what when im creating object for existing folder? | 17:56 |
timte | pan_: I added an object to the folder | 17:56 |
pan_ | timte: but you created folder before. when im creating object for folder and doing it from Web interface i dont want to create folder everytime, right? | 17:57 |
pan_ | i just want to put another object to existing folder. how i obtain exisiting folders? | 17:57 |
timte | first you begin with some context | 17:58 |
pan_ | uh? | 17:58 |
timte | or if you just want to play with it in the prompt you can start from 'root' which is the root folder | 17:58 |
timte | pan_: when your code is called you often get a context which is the folder you are visiting for example | 17:59 |
pan_ | timte: i have site called 'site' in root folder. i have folder 'announcements'. i want to add new announcements to the folder. how i obtain folder in my action class? | 18:01 |
timte | action? do you mean browser view/page ? | 18:01 |
pan_ | <browser:page | 18:02 |
pan_ | for="zope.app.container.interfaces.IAdding" | 18:02 |
pan_ | name="moae.Announcement" | 18:02 |
pan_ | class=".announcement.AnnouncementAdd" | 18:02 |
pan_ | permission="zope.ManageContent" | 18:02 |
pan_ | /> | 18:02 |
pan_ | page. | 18:02 |
timte | in the AnnouncementAdd class you have self.context which is the folder | 18:02 |
pan_ | which one folder? root folder? or announcements? | 18:03 |
*** Ariel_Calzada has joined #zope3-dev | 18:03 | |
pan_ | but this only works when i put "constrains" in interfaces, right? | 18:03 |
timte | no | 18:04 |
timte | browser pages and views and adapters always have a context | 18:04 |
pan_ | yes. right. | 18:04 |
*** projekt01 has left #zope3-dev | 18:04 | |
timte | and for browser pages context is the object you are visiting | 18:04 |
pan_ | but there is nowhere exaplined (even in the book) what i can do with context ;-) | 18:04 |
timte | I'm quite sure there is :) | 18:05 |
timte | it depends what context is of course | 18:05 |
pan_ | so, when im in folder site which is folder of my site | 18:05 |
pan_ | and from there i click "Add" from ZMI | 18:06 |
pan_ | context will be object of my site | 18:06 |
pan_ | am i right? | 18:06 |
timte | yes | 18:06 |
*** jukart has quit IRC | 18:06 | |
pan_ | and if in my site (i.e. "site") is folder "announcements" | 18:06 |
*** norro has joined #zope3-dev | 18:07 | |
pan_ | i can do thing like folder = context["announcements"] | 18:07 |
*** arnarl has quit IRC | 18:07 | |
pan_ | folder["newannouncement"] = my_new_announcement_object | 18:07 |
*** Rolando has quit IRC | 18:07 | |
pan_ | thats correct? | 18:07 |
pan_ | im going to try it :-) | 18:08 |
timte | sure, but I guess it would be better to have Add on the announcements folder itself | 18:08 |
pan_ | hm... but im using applyChanges function for that... | 18:08 |
*** MJ|out is now known as MJ | 18:10 | |
timte | pan_: here is a url you can bookmark, maybe it doesnt help right now but maybe later :) http://www.muthukadan.net/docs/zca.html | 18:13 |
pan_ | im bookmarking it right now, timte! | 18:13 |
pan_ | hm... trying to connect. | 18:14 |
pan_ | genicode:~# telnet 58.68.99.227 80 | 18:14 |
pan_ | Trying 58.68.99.227... | 18:14 |
pan_ | host is dead? | 18:14 |
timte | works here | 18:15 |
*** ccomb has joined #zope3-dev | 18:15 | |
pan_ | im trying to list context keys | 18:16 |
pan_ | like that: | 18:16 |
pan_ | keys = self.context.keys() | 18:16 |
pan_ | AttributeError: '+' object has no attribute 'keys' | 18:16 |
pan_ | so it doesnt work like folder :/ | 18:17 |
*** ghendi has quit IRC | 18:17 | |
pan_ | http://www.muthukadan.net/docs/zca.html - now working! :-) looking on this page. | 18:19 |
timte | pan_: right, that adding view has add() if I remember correctly | 18:19 |
timte | pan_: but self.context in that case is not a view | 18:20 |
pan_ | hm... | 18:20 |
pan_ | so it wont work like u said? | 18:20 |
timte | pan_: that + in the url is a view | 18:20 |
pan_ | perhaps i will show you how i do it right now: | 18:21 |
mgedmin_ | adding views are "special" | 18:21 |
mgedmin_ | you want self.context.container | 18:21 |
mgedmin_ | check out the IAdding interface | 18:21 |
pan_ | ok. | 18:21 |
mgedmin_ | which is a virtual object, represented by the /+ in the url | 18:21 |
pan_ | going on api page. | 18:21 |
*** stub has quit IRC | 18:22 | |
pan_ | um: AttributeError: '+' object has no attribute 'container' | 18:23 |
pan_ | IAdding interface dont give me any chances to get folder where im adding object | 18:24 |
timte | weird, self.context shouldn't be the view | 18:24 |
timte | gotta go now | 18:24 |
pan_ | ok timte. thanks for help. | 18:25 |
pan_ | so im stucked... | 18:25 |
J1m | timte, add views are views of adding views. | 18:25 |
timte | ah | 18:25 |
*** timte has quit IRC | 18:26 | |
mgedmin_ | hm, maybe it's self.context.context rather than self.context.container | 18:30 |
mgedmin_ | I don't remember | 18:30 |
mgedmin_ | I generally avoid adding views | 18:30 |
*** mgedmin_ is now known as mgedmin | 18:30 | |
pan_ | So who do you add objects? I just want to let users add objects to db. | 18:31 |
pan_ | um. how, not who ;-) | 18:33 |
pan_ | mgedmin_: it works! Where can i read about context object? | 18:33 |
pan_ | and possibilities what i can do with it :-) ? | 18:34 |
*** nathany has joined #zope3-dev | 18:35 | |
*** pan_ is now known as Pan | 18:36 | |
*** Pan is now known as Pan_ | 18:36 | |
*** Pan_ is now known as Pan- | 18:37 | |
*** Pan- has left #zope3-dev | 18:37 | |
*** Pan^ has joined #zope3-dev | 18:37 | |
*** fcorrea has joined #zope3-dev | 18:48 | |
*** harobed has quit IRC | 19:03 | |
*** malthe has quit IRC | 19:05 | |
*** quodt has quit IRC | 19:05 | |
*** jodok has quit IRC | 19:07 | |
*** norro has quit IRC | 19:17 | |
*** Ariel_Calzada has quit IRC | 19:18 | |
*** Ariel_Calzada has joined #zope3-dev | 19:21 | |
*** MJ has quit IRC | 19:23 | |
*** dobee has quit IRC | 19:25 | |
*** norro has joined #zope3-dev | 19:25 | |
*** pelle__ has joined #zope3-dev | 19:30 | |
*** pelle__ has quit IRC | 19:31 | |
*** [1]Doc_Dan has joined #zope3-dev | 19:32 | |
tarek | Hi J1m, I have a question about zc.recipe.egg | 19:35 |
*** amaron has joined #zope3-dev | 19:35 | |
tarek | how do I pass arguments to the egg, such as --no-deps | 19:36 |
amaron | how can i remove folders from debug mode? | 19:36 |
amaron | i have some folders with outdated(changed) components, and cannot remove them from zmi | 19:37 |
amaron | i'm trying to remove them from debug mode | 19:37 |
*** thruflo has joined #zope3-dev | 19:38 | |
*** Doc_Dan has quit IRC | 19:39 | |
J1m | tarek, you can't. | 19:39 |
*** [1]Doc_Dan is now known as Doc_Dan | 19:39 | |
J1m | tarek, eggs don't actually take arguments, so that is moot. | 19:40 |
J1m | when eggs are build from source, --no-deps is passd. | 19:40 |
J1m | It is the egg recipe that resolved dependencies. | 19:41 |
J1m | It might be useful and I think someone has already proposed having an option to ignore some dependencies. | 19:41 |
ignas | who deleted zope.app.apidoc 3.4.0 from PYPI? | 19:42 |
tarek | J1m, ok i see, thx. +1 for the option | 19:43 |
* J1m is glad that tarek is a contributor. :) | 19:44 | |
tarek | hehe | 19:44 |
Pan^ | amaron: perhaps those folders are registered as utility. there can be problem with deleting them. | 19:44 |
Pan^ | try to unregister them. | 19:44 |
amaron | i've just deleted entire site | 19:45 |
Pan^ | :-) | 19:45 |
* benji makes a mental note to not hire amaron to manage his sites. | 19:46 | |
amaron | man, i'm getting tired of this zope | 19:46 |
amaron | its to complex | 19:46 |
amaron | *too | 19:46 |
*** zagy has joined #zope3-dev | 19:46 | |
Pan^ | amaron: dont worry, you will get it ;-) | 19:46 |
amaron | two weeks of learning and i'm to far of being able to efficiently using it | 19:47 |
amaron | *use it | 19:47 |
*** gstratton has joined #zope3-dev | 19:47 | |
Pan^ | here three weeks of learning and im far too, but i wont give up ;-) | 19:47 |
amaron | i have two more days to show something useful for my bosses | 19:48 |
Pan^ | i have 3 weeks to end core functions of big project ;-) we will make it! ;-) | 19:49 |
amaron | i hope so | 19:49 |
amaron | my problem is when something goes wrong i have no idea whats the problem | 19:51 |
Pan^ | my problems are "how to do this with zope3 conventions" or "how the hell do it anyway" | 19:52 |
Pan^ | ;-) | 19:52 |
Pan^ | there should be more examples somewhere on the net. | 19:53 |
amaron | i agree | 19:53 |
amaron | i have one great book | 19:53 |
amaron | and thats all | 19:54 |
Pan^ | i will make some after end of project. few simple projects that will help people understand what i couldnt. perhaps it will help some people. | 19:54 |
afd_ | Pan^: good examples of complete projects are zcontact and kelpi.com (http://svn.kelpi.com/trunk/) | 19:55 |
afd_ | there are some more on the net, I think | 19:55 |
*** Pan^_ has joined #zope3-dev | 19:56 | |
Pan^_ | afd_: didnt hear about it. i will check it. thanks a lot! | 19:56 |
*** faassen has joined #zope3-dev | 19:56 | |
Pan^_ | afd_: wow. a lot of code! i think that will help me a lot :-) thanks once again | 19:57 |
Pan^_ | afd_: i didnt find on net any complex examples. just simple apps :/ | 19:57 |
afd_ | Pan^: welcome | 19:59 |
ignas | http://source.schooltool.org/trac/browser - a semi complete Zope3 project ;) | 19:59 |
Pan^_ | afd_: oh! there are examples with catalogs, lists and so on. damn! i need it so much ;-) | 20:00 |
Pan^_ | igans: let me check ;-) | 20:00 |
ignas | http://source.schooltool.org/trac/browser/trunk/schooltool | 20:00 |
tarek | J1m, so if i get it well, this means adding an option in zc.buildout.easy_install module that adds '--no-deps' ? | 20:00 |
ignas | the url to the current application trunk | 20:00 |
J1m | tarek, no. | 20:01 |
Pan^_ | ignas: and src? | 20:01 |
J1m | tarek, I'm not entorely sure what would be needed iinternally. | 20:01 |
Pan^_ | main sources are in src? | 20:01 |
ignas | yes | 20:01 |
ignas | Pan^: http://source.schooltool.org/trac/browser/trunk/schooltool/src/schooltool | 20:02 |
J1m | As I said before, there aren't any relevent options for eggs. | 20:02 |
Pan^_ | ignas: yep. i get it. | 20:02 |
Pan^_ | ignas: looking :-) | 20:02 |
J1m | The issue really is whether we bother to resolve all of the dependencies. | 20:02 |
*** jfroche_ has quit IRC | 20:03 | |
J1m | tarek, actually, getting this to work would requirte some deep setuptools voodoo, as it would require defeating some setuptools automation. | 20:03 |
Pan^_ | ignas: it looks complicated for me for now :-) | 20:03 |
J1m | It is non-trivial. | 20:03 |
Pan^_ | ignas: but i will sit on this to understand. | 20:03 |
tarek | J1m, the use case is : i need for example to install z3c.sqlalchemy, but it depends on zope.schema, it means it gets some zope3 package. Though if it's in a zope 2.xx buildout, it can brake it because zope.schema and friends are already embed into it | 20:04 |
tarek | so my solution is rm -rf eggs/zope.* after the buildout ;) | 20:05 |
tarek | but i understand this is non trivlal as it is dependencies at egg-level | 20:06 |
J1m | There are a couple of ways to possibly trick setuptools. You might be able to creae faux eggs for the bits that are already installed, so that setuptools things you already have them. This might simply involve createing egg-info directories. | 20:08 |
J1m | In fact, maybe you can have a recipe that just installs egg-infor directories in some convenient place. | 20:08 |
*** salfield has quit IRC | 20:09 | |
J1m | Then you wouldn't have to modify the eggs recipe. | 20:09 |
J1m | I understand your use case. | 20:09 |
tarek | i'll see what I can do thx | 20:09 |
J1m | Of course, there's really no harm in installing the extra eggs is there? | 20:09 |
tarek | actually there's is | 20:09 |
tarek | for example | 20:09 |
tarek | zope.i18message has changed its api | 20:10 |
tarek | in some zope2 it is embed | 20:10 |
tarek | and it brakes | 20:10 |
tarek | the solution is to remove this egg that has been downloaded through z3s.slqalchemy | 20:11 |
J1m | Or perhaps to create an egg cooresponding to the old version you have. | 20:11 |
tarek | so yes, a specilized recipe can fix that i guess | 20:11 |
tarek | yes | 20:12 |
J1m | There is something elegant about the specialized recipe that just installs egg-info dirs. | 20:12 |
J1m | It will take some setuptools foo. | 20:12 |
tarek | absolutely | 20:12 |
J1m | I don't have that particular foo. | 20:13 |
*** Pan^ has quit IRC | 20:13 | |
tarek | :) | 20:13 |
amaron | does anyone use pydev for zope? | 20:13 |
*** dobee has joined #zope3-dev | 20:13 | |
amaron | i cannot use debugger | 20:13 |
J1m | setuptools is too foofull for me to have all of it. | 20:14 |
*** whit is now known as whit|coding | 20:17 | |
*** redir has joined #zope3-dev | 20:21 | |
*** amaron has quit IRC | 20:30 | |
*** CSWookie has joined #zope3-dev | 20:34 | |
CSWookie | is there a way to find out what callable will be used to fulfill an adaptation? | 20:34 |
*** thruflo has left #zope3-dev | 20:39 | |
*** thruflo has joined #zope3-dev | 20:39 | |
*** thruflo has left #zope3-dev | 20:41 | |
*** malthe has joined #zope3-dev | 20:42 | |
*** jodok has joined #zope3-dev | 20:45 | |
*** pelle__ has joined #zope3-dev | 20:47 | |
*** Doc_Dan has quit IRC | 20:48 | |
*** Pan^ has joined #zope3-dev | 20:49 | |
*** agroszer has quit IRC | 20:50 | |
*** quodt has joined #zope3-dev | 20:50 | |
*** malthe has quit IRC | 20:52 | |
*** dobee has quit IRC | 20:57 | |
*** jsadjohnson_ has joined #zope3-dev | 20:57 | |
*** ignas has quit IRC | 20:59 | |
*** dobee has joined #zope3-dev | 20:59 | |
*** Pan^_ has quit IRC | 21:02 | |
*** mgedmin has quit IRC | 21:16 | |
*** pelle__ has quit IRC | 21:19 | |
*** Ariel_Calzada has quit IRC | 21:19 | |
*** pelle__ has joined #zope3-dev | 21:28 | |
*** norro_ has joined #zope3-dev | 21:30 | |
*** whit|coding is now known as whit|lunch | 21:32 | |
*** Ariel_Calzada has joined #zope3-dev | 21:33 | |
*** pelle__ has quit IRC | 21:34 | |
*** greenman has joined #zope3-dev | 21:37 | |
*** whit|lunch is now known as whit | 21:46 | |
*** ignas has joined #zope3-dev | 21:51 | |
*** vlado has joined #zope3-dev | 21:52 | |
*** ignas has quit IRC | 22:00 | |
*** RaFromBRC has joined #zope3-dev | 22:23 | |
dunny | tarek: I ended up creating a recipe that edits the setup file of egg to explicitly remove the dependencies before installing the egg, brute force ugly | 22:26 |
*** Pan^ has quit IRC | 22:30 | |
CSWookie | I think consumers are going to make my head explode. | 22:38 |
*** greenman has quit IRC | 22:48 | |
*** davidstryker has joined #zope3-dev | 22:56 | |
*** davidstryker has left #zope3-dev | 22:57 | |
*** alecm has quit IRC | 22:58 | |
*** regebro has left #zope3-dev | 22:59 | |
*** zagy has quit IRC | 23:03 | |
*** hazmat has quit IRC | 23:03 | |
*** pan has joined #zope3-dev | 23:04 | |
*** Ariel_Calzada has quit IRC | 23:06 | |
*** lucielejard has joined #zope3-dev | 23:06 | |
*** zagy has joined #zope3-dev | 23:07 | |
*** zagy has quit IRC | 23:09 | |
*** tarek has quit IRC | 23:11 | |
*** rlo has joined #zope3-dev | 23:11 | |
*** zagy has joined #zope3-dev | 23:13 | |
pan | :-) | 23:15 |
*** redir has quit IRC | 23:18 | |
*** tarek has joined #zope3-dev | 23:19 | |
*** zagy has quit IRC | 23:19 | |
*** norro_ has quit IRC | 23:26 | |
*** pbugni has joined #zope3-dev | 23:28 | |
*** greenman has joined #zope3-dev | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!